RdtManager.ResetMkDocument Method
Resets the document moniker by accessing the RDT.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Project
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Shared Sub ResetMkDocument ( _
oldMkDoc As String, _
newMkDoc As String, _
hierarchy As IVsUIHierarchy, _
newNodeId As UInteger _
)
'Usage
Dim oldMkDoc As String
Dim newMkDoc As String
Dim hierarchy As IVsUIHierarchy
Dim newNodeId As UInteger
RdtManager.ResetMkDocument(oldMkDoc, newMkDoc, _
hierarchy, newNodeId)
public static void ResetMkDocument(
string oldMkDoc,
string newMkDoc,
IVsUIHierarchy hierarchy,
uint newNodeId
)
public:
static void ResetMkDocument(
String^ oldMkDoc,
String^ newMkDoc,
IVsUIHierarchy^ hierarchy,
unsigned int newNodeId
)
public static function ResetMkDocument(
oldMkDoc : String,
newMkDoc : String,
hierarchy : IVsUIHierarchy,
newNodeId : uint
)
static member ResetMkDocument :
oldMkDoc:string *
newMkDoc:string *
hierarchy:IVsUIHierarchy *
newNodeId:uint32 -> unit
Parameters
- oldMkDoc
Type: System.String
The old document moniker
- newMkDoc
Type: System.String
The new document moniker
- hierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy
The hierarchy
- newNodeId
Type: System.UInt32
The new node ID
.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.Project Namespace