BaseDocData.IVsPersistDocData.OnRegisterDocData Method
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Common.UI
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Private Function OnRegisterDocData ( _
docCookie As UInteger, _
pHierNew As IVsHierarchy, _
itemidNew As UInteger _
) As Integer Implements IVsPersistDocData.OnRegisterDocData
'Usage
Dim instance As BaseDocData
Dim docCookie As UInteger
Dim pHierNew As IVsHierarchy
Dim itemidNew As UInteger
Dim returnValue As Integer
returnValue = CType(instance, IVsPersistDocData).OnRegisterDocData(docCookie, _
pHierNew, itemidNew)
int IVsPersistDocData.OnRegisterDocData(
uint docCookie,
IVsHierarchy pHierNew,
uint itemidNew
)
private:
virtual int OnRegisterDocData(
unsigned int docCookie,
IVsHierarchy^ pHierNew,
unsigned int itemidNew
) sealed = IVsPersistDocData::OnRegisterDocData
JScript does not support explicit interface implementations.
private abstract OnRegisterDocData :
docCookie:uint32 *
pHierNew:IVsHierarchy *
itemidNew:uint32 -> int
private override OnRegisterDocData :
docCookie:uint32 *
pHierNew:IVsHierarchy *
itemidNew:uint32 -> int
Parameters
- docCookie
Type: System.UInt32
- pHierNew
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
- itemidNew
Type: System.UInt32
Return Value
Type: System.Int32
Implements
IVsPersistDocData.OnRegisterDocData(UInt32, IVsHierarchy, UInt32)
.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