Udostępnij za pośrednictwem


Task.IVsTaskItem.Document(String) Method

Definition

Gets the name of the file associated with the task.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.Document([Runtime::InteropServices::Out] System::String ^ % doc) = Microsoft::VisualStudio::Shell::Interop::IVsTaskItem::Document;
int IVsTaskItem.Document (out string doc);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.Document : string -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.Document : string -> int
Function Document (ByRef doc As String) As Integer Implements IVsTaskItem.Document

Parameters

doc
String

[out] Returns the name of the file.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Applies to