Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Private Function Document ( _
<OutAttribute> ByRef doc As String _
) As Integer Implements IVsTaskItem.Document
'使用
Dim instance As Task
Dim doc As String
Dim returnValue As Integer
returnValue = CType(instance, IVsTaskItem).Document(doc)
int IVsTaskItem.Document(
out string doc
)
private:
virtual int Document(
[OutAttribute] String^% doc
) sealed = IVsTaskItem::Document
JScript does not support explicit interface implementations.
Parameters
- doc
Type: System.String%
Return Value
Type: System.Int32
Implements
Permissions
- 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.