HostItem.OnIdentifierAdded Method
This method verifies that the Identifier 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 OnIdentifierAdded ( _
identifier As String _
)
'Usage
Dim identifier As String
Me.OnIdentifierAdded(identifier)
protected internal override void OnIdentifierAdded(
string identifier
)
protected public:
virtual void OnIdentifierAdded(
String^ identifier
) override
protected internal override function OnIdentifierAdded(
identifier : String
)
Parameters
identifier
Type: System.StringA string that represents the Identifier being added.
Remarks
This method is automatically called when an identifier is added to the host objects collection.
It throws an ArgumentException or ArgumentNullException when the Identifier is invalid or nulla null reference (Nothing in Visual Basic).
.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