Attribute associated with the property named 'propertyName' that is defined for the element type.
[Visual Basic 6.0] Property AssociatedPropertyAttribute(
ByVal PropertyName As String _
) As INgAttribute
[Visual Basic .NET] Public Function get_AssociatedPropertyAttribute ( _ ByVal PropertyName As String _ ) As INgAttribute
[C#] public INgAttribute get_AssociatedPropertyAttribute ( string PropertyName );
[Java] public INgAttribute getAssociatedPropertyAttribute ( String PropertyName )
[C++] HRESULT get_AssociatedPropertyAttribute( BSTR PropertyName, INgAttribute** pVal );
Parameters
PropertyName [in]
PropertyName is a parameter of type BSTR
pVal [out, retval]
pVal is a parameter of type INgAttribute
In the following code sample, the AssociatedPropertyAttribute property is used to get the attribute associated with the property named "DisplayStationSize" defined for an element type:
Dim pElementType As INgElementType
Dim pAttribute As INgAttribute
...
Set pAttribute = pElementType.AssociatedPropertyAttribute("DisplayStationSize")
INgElementType Interface | INgElementType.AssociatedUserDataAttribute Property