This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IS > ISymbolCollection2 Interface > ISymbolCollection2.AddSymbol Method (ArcObjects .NET 10.4 SDK) |
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