Udostępnij za pośrednictwem


RunningDocumentTable.GetDocumentInfoAsync Method

Definition

Overloads

GetDocumentInfoAsync(String, CancellationToken)
GetDocumentInfoAsync(UInt32, CancellationToken)

GetDocumentInfoAsync(String, CancellationToken)

public System.Threading.Tasks.Task<Microsoft.VisualStudio.Shell.RunningDocumentInfo> GetDocumentInfoAsync (string moniker, System.Threading.CancellationToken token);
member this.GetDocumentInfoAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Shell.RunningDocumentInfo>
Public Function GetDocumentInfoAsync (moniker As String, token As CancellationToken) As Task(Of RunningDocumentInfo)

Parameters

moniker
String

Returns

Applies to

GetDocumentInfoAsync(UInt32, CancellationToken)

public System.Threading.Tasks.Task<Microsoft.VisualStudio.Shell.RunningDocumentInfo> GetDocumentInfoAsync (uint docCookie, System.Threading.CancellationToken token);
member this.GetDocumentInfoAsync : uint32 * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Shell.RunningDocumentInfo>
Public Function GetDocumentInfoAsync (docCookie As UInteger, token As CancellationToken) As Task(Of RunningDocumentInfo)

Parameters

docCookie
UInt32

Returns

Applies to