Share via


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.String

    A String that represents the old identifier.

  • newIdentifier
    Type: System.String

    A String that represents the new identifier.

.NET Framework Security

See Also

Reference

HostItem Class

HostItem Members

Microsoft.VisualStudio.Tools.Applications.ProgrammingModel Namespace