ArcObjects Library Reference  (Schematic)    

INgElementType.AssociatedUserDataAttribute Property

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

Parameters

userDataName [in]

  userDataName is a parameter of type BSTR

pVal [out, retval]

  pVal is a parameter of type INgAttribute

Product Availability

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

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

See Also

INgElementType Interface | INgElementType.AssociatedPropertyAttribute Property

 


Feedback Send feedback on this page