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.
[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 ); |
[Unmanaged C++] |
---|
public: HRESULT AddDependencyDispatchProperty( IUnknown * DispScope, BSTR ParentAttributeName, BSTR ChildAttributeName ); |
[Java] |
---|
public void addDependencyDispatchProperty( Object DispScope, String ParentAttributeName, String ChildAttributeName ); |
- 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.