ArcObjects Library Reference  (Schematic)    

INgElementType.AssociatedUserDatas Property

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
);
[C#]

Optional Values

attributeName   Supply as a default value.
[Java]
public INgUserDatas getAssociatedUserDatas (
    String attributeName
)
[C++]
HRESULT get_AssociatedUserDatas(
  BSTR attributeName,
  INgUserDatas** pVal
);
[C++]

Parameters

attributeName [in, optional, defaultvalue()]

  attributeName is a parameter of type BSTR

pVal [out, retval]

  pVal is a parameter of type INgUserDatas

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Schematics Extension.
[Visual Basic 6.0]

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")

See Also

INgElementType Interface | INgElementType.AssociatedProperties Property

 


Feedback Send feedback on this page