RdtManager.TryGetCodeWindow Method

Obtains the IVsCodeWindow for the document full path.

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 TryGetCodeWindow ( _
    documentFullPath As String, _
    <OutAttribute> ByRef codeWindow As IVsCodeWindow _
) As Boolean
'Usage
Dim documentFullPath As String
Dim codeWindow As IVsCodeWindow
Dim returnValue As Boolean

returnValue = RdtManager.TryGetCodeWindow(documentFullPath, _
    codeWindow)
public static bool TryGetCodeWindow(
    string documentFullPath,
    out IVsCodeWindow codeWindow
)
public:
static bool TryGetCodeWindow(
    String^ documentFullPath, 
    [OutAttribute] IVsCodeWindow^% codeWindow
)
public static function TryGetCodeWindow(
    documentFullPath : String, 
    codeWindow : IVsCodeWindow
) : boolean
static member TryGetCodeWindow : 
        documentFullPath:string * 
        codeWindow:IVsCodeWindow -> bool 

Parameters

Return Value

Type: System.Boolean
Returns true on success, false otherwise.

.NET Framework Security

See Also

Reference

RdtManager Class

RdtManager Members

Microsoft.VisualStudio.Data.Schema.Project.Project Namespace