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


IRepresentationRules.Add Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IRepresentationRules.Add Method

Adds a new representation rule to the collection.

[Visual Basic .NET]
Public Function Add ( _
    ByVal repRule As IRepresentationRule _
) As Integer
[C#]
public int Add (
    IRepresentationRule repRule
);
[C++]
HRESULT Add(
  IRepresentationRule* repRule,
  long* ID
);
[C++]

Parameters repRule [in]
repRule is a parameter of type IRepresentationRule ID [out, retval] ID is a parameter of type long

Product Availability

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

See Also

IRepresentationRules Interface