Gets a document.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Protected Overridable Function GetDocData ( _
existingDocData As Object _
) As ModelingDocData
'使用
Dim existingDocData As Object
Dim returnValue As ModelingDocData
returnValue = Me.GetDocData(existingDocData)
protected virtual ModelingDocData GetDocData(
Object existingDocData
)
protected:
virtual ModelingDocData^ GetDocData(
Object^ existingDocData
)
protected function GetDocData(
existingDocData : Object
) : ModelingDocData
Parameters
existingDocData
Type: System.ObjectThe document to obtain.
Return Value
Type: Microsoft.VisualStudio.Modeling.Shell.ModelingDocData
The document.
Remarks
Derived classes can override this method for an existing document.
Permissions
- 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.