Task.IVsTaskItem.Document(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.