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