DocumentManager.GetFullPathForDocument Method

Gets the full path of the document.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Protected Function GetFullPathForDocument As String
'使用
Dim returnValue As String

returnValue = Me.GetFullPathForDocument()
protected string GetFullPathForDocument()
protected:
String^ GetFullPathForDocument()
protected function GetFullPathForDocument() : String

Return Value

Type: System.String

The full path of the document.

Remarks

This method asserts if no HierarchyNode has been assigned to this document manager. It gets the node's moniker by calling [M:Microsoft.VisualStudio.Package.HierarchyNode.GetMkDocument()]. Note that this method is virtual and will return an empty string if not overridden in a derived project class. The [GetFullPathForDocument()] method asserts if the returned string is null or empty.

Permissions

See Also

Reference

DocumentManager Class

DocumentManager Members

Microsoft.VisualStudio.Package Namespace