ArcObjects Library Reference  (Schematic)    

INgElementType.AssociatedPropertyAttribute Property

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

Parameters

PropertyName [in]

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

See Also

INgElementType Interface | INgElementType.AssociatedUserDataAttribute Property

 


Feedback Send feedback on this page