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
- grfAttribs
Type: System.UInt32
The attributes
- pHierNew
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
The new hierarchy
- itemidNew
Type: System.UInt32
The new item ID
- pszMkDocumentNew
Type: System.String
The new document identifier
Return Value
Type: System.Int32
.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.Data.Schema.Project.Common.UI Namespace