This document is archived and information here might be outdated. Recommended version. |
Displays the Symbol Editor dialog for the given symbol and returns a flag indicating if the symbol changed.
[Visual Basic .NET] Public Function EditSymbol ( _ ByRef symbol As ISymbol, _ ByVal hWnd As Integer _ ) As Boolean
[C#] public bool EditSymbol ( ref ISymbol symbol, ref int hWnd );
The EditSymbol method takes an ISymbol parameter, which must be an existing object that supports ISymbol. This object is passed by reference and will be directly changed depending on the selections made in the dialog box. Its coclass may even change.
The EditSymbol method call will open the SymbolEditor dialog box. To determine if the user clicked Cancel or OK, check the return value.