AGI AgAttrAutomation 11 Send comments on this topic.
AddDependencyDispatchProperty Method (IAgAttrBuilder)
See Also 
DispScope
The attribute container (scope) where the attribute will be added.
ParentAttributeName
Changing the 'ParentAttributeName' attribute must trigger the update of the 'ChildAttributeName' attribute.
ChildAttributeName
The 'ChildAttributeName' attribute is automatically updated when the 'ParentAttributeName' is modified.





Description

Add a Dependency between two Attributes within the Attribute Scope provided. Dependencies are used to force the update of the child attribute when the parent attribute is modified by the user.

Syntax

[Visual Basic .NET]
Public Sub AddDependencyDispatchProperty( _
   ByVal DispScope As Object, _
   ByVal ParentAttributeName As String, _
   ByVal ChildAttributeName As String _
) 

[C#]
public void AddDependencyDispatchProperty(
Object DispScope,
string ParentAttributeName,
string ChildAttributeName
);

[Managed C++]
public: void AddDependencyDispatchProperty(
IUnknown ^ DispScope,
String __gc ^ ParentAttributeName,
String __gc ^ ChildAttributeName
);

[Java]
public  addDependencyDispatchProperty(
Object DispScope,
String ParentAttributeName,
String ChildAttributeName
);

[Unmanaged C++]
public: HRESULT AddDependencyDispatchProperty(
IUnknown * DispScope,
BSTR ParentAttributeName,
BSTR ChildAttributeName
);

Parameters

DispScope
The attribute container (scope) where the attribute will be added.
ParentAttributeName
Changing the 'ParentAttributeName' attribute must trigger the update of the 'ChildAttributeName' attribute.
ChildAttributeName
The 'ChildAttributeName' attribute is automatically updated when the 'ParentAttributeName' is modified.

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1