STK AgAttrAutomationSend comments on this topic.
AddScopeDispatchProperty Method (IAgAttrBuilder)
See Also
DispScope
The attribute container (scope) where the attribute will be added.
Name
Name of the attribute to add, it is recommended that the name does not include spaces because certain interfaces to the properties may not work correctly.
Description
Description of the attribute to add.
NewDispScope
The scope to be added as a sub-element of DispScope.
Windows





Windows & Linux

Description

Add an Attribute to the 'NewDispScope' Scope (to construct a hierarchy). It is recommended that any name used for these configuration properties not include spaces because certain interfaces to the properties may not work correctly.

Syntax

[Visual Basic .NET]
Public Sub AddScopeDispatchProperty( _
    ByVal DispScope As Object, _
    ByVal Name As String, _
    ByVal Description As String, _
    ByVal NewDispScope As Object _
)
[C#]
public void AddScopeDispatchProperty(
    Object DispScope,
    string Name,
    string Description,
    Object NewDispScope
);
[Managed C++]
public: void AddScopeDispatchProperty(
    IUnknown ^ DispScope,
    String __gc ^ Name,
    String __gc ^ Description,
    IUnknown ^ NewDispScope
);
[Unmanaged C++]
public: HRESULT AddScopeDispatchProperty(
    IUnknown * DispScope,
    BSTR Name,
    BSTR Description,
    IUnknown * NewDispScope
);
[Java]
public void addScopeDispatchProperty(
    Object DispScope,
    String Name,
    String Description,
    Object NewDispScope
);

Parameters

DispScope
The attribute container (scope) where the attribute will be added.
Name
Name of the attribute to add, it is recommended that the name does not include spaces because certain interfaces to the properties may not work correctly.
Description
Description of the attribute to add.
NewDispScope
The scope to be added as a sub-element of DispScope.

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.