Replaces the symbol collection in the class extension.
[Visual Basic .NET] Public Sub ReplaceSymbolCollection ( _ ByVal Name As String, _ ByVal symbolCollection As Object _ )
[C#] public void ReplaceSymbolCollection ( string Name, object symbolCollection );
[C++]
HRESULT ReplaceSymbolCollection(
BSTR Name,
LPUNKNOWN symbolCollection
);
[C++]Parameters
Name [in] Name is a parameter of type BSTR symbolCollection [in] symbolCollection is a parameter of type LPUNKNOWN
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Remarks
The AddSymbolCollection and ReplaceSymbolCollection may be used to augment and replace the symbol collection associated with an annotation feature class. Use extreme caution when using these methods--be aware that there may be existing annotation features in the annotation feature class that have annotation elements that may reference symbols by ID. Deleting the symbol for such an ID or replacing it with a different symbol may leave the geometry of the annotation feature out of phase with its symbol, resulting in subsequent problems during drawing and selection. These methods are for use by specialized data loaders that can guarantee the integrity of referenced symbols.