ArcObjects Library Reference  (Schematic)    

INgElementType.AssociateProperty Method

Relates the specified property to the element type and associates this property with the attribute named 'attributeName'.

[Visual Basic 6.0]
Sub AssociateProperty(
    ByVal prop As INgProperty, _
    ByVal attributeName As String _
) As Empty
[Visual Basic .NET]
Public Sub AssociateProperty ( _
    ByVal prop As INgProperty, _
    ByVal attributeName As String _
)
[C#]
public void AssociateProperty (
    INgProperty prop,
    string attributeName
);
[Java]
public void associateProperty (
    INgProperty prop,
    String attributeName
)
throws
    IOException,
    AutomationException
[C++]
HRESULT AssociateProperty(
  INgProperty* prop,
  BSTR attributeName
);
[C++]

Parameters

prop [in]

  prop is a parameter of type INgProperty

attributeName [in]

  attributeName is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Schematics Extension.

See Also

INgElementType Interface | INgElementType.AssociateUserData Method | INgElementType.DissociateProperty Method

Example

INgElementType GetProperty, CreateProperty and AssociateProperty methods - Examples

 


Feedback Send feedback on this page