This document is archived and information here might be outdated.  Recommended version.


IRepresentation.Value Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IRepresentation.Value Property

The value of a representation property.

[Visual Basic .NET]
Public Function get_Value ( _
    ByVal attrs As IGraphicAttributes, _
    ByVal idx As Integer _
) As Object
[Visual Basic .NET]
Public Sub set_Value ( _
    ByVal attrs As IGraphicAttributes, _
    ByVal idx As Integer, _
    ByVal val As Object _
)
[C#]
public object get_Value (
    IGraphicAttributes attrs,
    int idx
);
[C#]
public void set_Value (
    IGraphicAttributes attrs,
    int idx,
    object val
);
[C++]
HRESULT get_Value(
  IGraphicAttributes* attrs,
  long idx,
  VARIANT* val
);
[C++]
HRESULT put_Value(
  IGraphicAttributes* attrs,
  long idx,
  VARIANT val
);
[C++]

Parameters attrs [in]
attrs is a parameter of type IGraphicAttributes idx [in] idx is a parameter of type long val [out, retval] val is a parameter of type VARIANT attrs [in]
attrs is a parameter of type IGraphicAttributes idx [in] idx is a parameter of type long val [in] val is a parameter of type VARIANT

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

Value property can be used to either retrieve or set the value of a feature representation's graphic attribute. Given a list of GraphicAttributes and an Index, a particular attribute belonging to the feature representation can be modified.

The list of attributes that can be modified are present in the following enumerations - esriGraphicAttribute, esriGeometricEffectAttributes and esriMarkerPlacementAttributes.

 

See Also

IRepresentation Interface