HostItem.OnIdentifierAdding Method
Verifies that the Identifier being added is valid.
Namespace: Microsoft.VisualStudio.Tools.Applications.ProgrammingModel
Assembly: Microsoft.VisualStudio.Tools.Applications.ProgrammingModel (in Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.dll)
Syntax
'Declaration
Protected Friend Overrides Sub OnIdentifierAdding ( _
identifier As String _
)
'Usage
Dim identifier As String
Me.OnIdentifierAdding(identifier)
protected internal override void OnIdentifierAdding(
string identifier
)
protected public:
virtual void OnIdentifierAdding(
String^ identifier
) override
protected internal override function OnIdentifierAdding(
identifier : String
)
Parameters
identifier
Type: System.StringA String that represents the Identifier that is being added.
Remarks
This method also verifies that the Identifier is unique relative to existing identifiers for the HostItem.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Tools.Applications.ProgrammingModel Namespace