RdtManager.GetActiveDocument Method
Returns either the currently-active document or an empty string.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Project
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Shared Function GetActiveDocument As String
'Usage
Dim returnValue As String
returnValue = RdtManager.GetActiveDocument()
public static string GetActiveDocument()
public:
static String^ GetActiveDocument()
public static function GetActiveDocument() : String
static member GetActiveDocument : unit -> string
Return Value
Type: System.String
.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