HostItem.OnIdentifierChanging Method
Verifies that the new 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 OnIdentifierChanging ( _
oldIdentifier As String, _
newIdentifier As String _
)
'Usage
Dim oldIdentifier As String
Dim newIdentifier As String
Me.OnIdentifierChanging(oldIdentifier, _
newIdentifier)
protected internal override void OnIdentifierChanging(
string oldIdentifier,
string newIdentifier
)
protected public:
virtual void OnIdentifierChanging(
String^ oldIdentifier,
String^ newIdentifier
) override
protected internal override function OnIdentifierChanging(
oldIdentifier : String,
newIdentifier : String
)
Parameters
oldIdentifier
Type: System.StringA String that represents the old identifier.
newIdentifier
Type: System.StringA String that represents the new identifier.
.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