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


ISymbolCollection2.AddSymbol Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Display)  

ISymbolCollection2.AddSymbol Method

Adds a symbol to the collection. The ID will be set by the collection.

[Visual Basic .NET]
Public Sub AddSymbol ( _
    ByVal Symbol As ISymbol, _
    ByVal Name As String, _
    ByRef symbolID As ISymbolIdentifier2 _
)
[C#]
public void AddSymbol (
    ISymbol Symbol,
    string Name,
    ref ISymbolIdentifier2 symbolID
);
[C++]
HRESULT AddSymbol(
  ISymbol* Symbol,
  BSTR Name,
  ISymbolIdentifier2** symbolID
);
[C++]

Parameters Symbol [in]
Symbol is a parameter of type ISymbol Name [in] Name is a parameter of type BSTR symbolID [out]
symbolID is a parameter of type ISymbolIdentifier2

Product Availability

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

See Also

ISymbolCollection2 Interface