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(
|
| [Managed C++] |
|---|
public: void AddDependencyDispatchProperty(
|
| [Java] |
|---|
public addDependencyDispatchProperty(
|
| [Unmanaged C++] |
|---|
public: HRESULT AddDependencyDispatchProperty(
|
- 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.