Share via


BaseDocData.OnRenameDocData Method

Renames the document data.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Common.UI
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Protected Overridable Function OnRenameDocData ( _
    grfAttribs As UInteger, _
    pHierNew As IVsHierarchy, _
    itemidNew As UInteger, _
    pszMkDocumentNew As String _
) As Integer
'Usage
Dim grfAttribs As UInteger
Dim pHierNew As IVsHierarchy
Dim itemidNew As UInteger
Dim pszMkDocumentNew As String
Dim returnValue As Integer

returnValue = Me.OnRenameDocData(grfAttribs, _
    pHierNew, itemidNew, pszMkDocumentNew)
protected virtual int OnRenameDocData(
    uint grfAttribs,
    IVsHierarchy pHierNew,
    uint itemidNew,
    string pszMkDocumentNew
)
protected:
virtual int OnRenameDocData(
    unsigned int grfAttribs, 
    IVsHierarchy^ pHierNew, 
    unsigned int itemidNew, 
    String^ pszMkDocumentNew
)
protected function OnRenameDocData(
    grfAttribs : uint, 
    pHierNew : IVsHierarchy, 
    itemidNew : uint, 
    pszMkDocumentNew : String
) : int
abstract OnRenameDocData : 
        grfAttribs:uint32 * 
        pHierNew:IVsHierarchy * 
        itemidNew:uint32 * 
        pszMkDocumentNew:string -> int 
override OnRenameDocData : 
        grfAttribs:uint32 * 
        pHierNew:IVsHierarchy * 
        itemidNew:uint32 * 
        pszMkDocumentNew:string -> int 

Parameters

  • pszMkDocumentNew
    Type: System.String
    The new document identifier

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

BaseDocData Class

BaseDocData Members

Microsoft.VisualStudio.Data.Schema.Project.Common.UI Namespace