List of userdata related to the element type that are associated with the attribute named 'attributeName' or the list of all the userdata related to the element type when no attribute name is specified.
[Visual Basic 6.0] Property AssociatedUserDatas(
[ByVal attributeName As String] _
) As INgUserDatas
[Visual Basic .NET] Public Function get_AssociatedUserDatas ( _ [ByVal attributeName As String] _ ) As INgUserDatas
[C#] public INgUserDatas get_AssociatedUserDatas ( string attributeName );
Optional Values
[Java] public INgUserDatas getAssociatedUserDatas ( String attributeName )
[C++] HRESULT get_AssociatedUserDatas( BSTR attributeName, INgUserDatas** pVal );
Parameters
attributeName [in, optional, defaultvalue()]
attributeName is a parameter of type BSTR
pVal [out, retval]
pVal is a parameter of type INgUserDatas
Here are samples use of the AssociatedUserDatas property:
Getting all the userdata defined for the element type:
Dim pElementType As INgElementType Dim pUserDatas As INgUserDatas ... Set pUserDatas = pElementType.AssociatedUserDatas
Getting the userdata that are associated with a specific attribute named PathWeight:
Dim pElementType As INgElementType
Dim pUserDatas As INgUserDatas
'...
Set pUserDatas = pElementType.AssociatedUserDatas("PathWeight")
INgElementType Interface | INgElementType.AssociatedProperties Property