IVsTaskItem3.GetColumnValue Method
Returns the value of this task for a given column.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaración
Function GetColumnValue ( _
iField As Integer, _
<OutAttribute> ByRef ptvtType As UInteger, _
<OutAttribute> ByRef ptvfFlags As UInteger, _
<OutAttribute> ByRef pvarValue As Object, _
<OutAttribute> ByRef pbstrAccessibilityName As String _
) As Integer
'Uso
Dim instance As IVsTaskItem3
Dim iField As Integer
Dim ptvtType As UInteger
Dim ptvfFlags As UInteger
Dim pvarValue As Object
Dim pbstrAccessibilityName As String
Dim returnValue As Integer
returnValue = instance.GetColumnValue(iField, _
ptvtType, ptvfFlags, pvarValue, pbstrAccessibilityName)
int GetColumnValue(
int iField,
out uint ptvtType,
out uint ptvfFlags,
out Object pvarValue,
out string pbstrAccessibilityName
)
int GetColumnValue(
[InAttribute] int iField,
[OutAttribute] unsigned int% ptvtType,
[OutAttribute] unsigned int% ptvfFlags,
[OutAttribute] Object^% pvarValue,
[OutAttribute] String^% pbstrAccessibilityName
)
abstract GetColumnValue :
iField:int *
ptvtType:uint32 byref *
ptvfFlags:uint32 byref *
pvarValue:Object byref *
pbstrAccessibilityName:string byref -> int
function GetColumnValue(
iField : int,
ptvtType : uint,
ptvfFlags : uint,
pvarValue : Object,
pbstrAccessibilityName : String
) : int
Parameters
- iField
Type: System.Int32
[In] An integer containing the Field Column to be used.
- ptvtType
Type: System.UInt32%
[Out] A pointer to an object of type __VSTASKVALUETYPE.
- ptvfFlags
Type: System.UInt32%
[Out] A pointer to an object of type __VSTASKVALUEFLAGS.
- pvarValue
Type: System.Object%
[Out] A pointer to an object of type VARIANT.
- pbstrAccessibilityName
Type: System.String%
[Out] A pointer to a string containing the Accessibility Name.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsTaskItem3::GetColumnValue(
[in] int iField,
[out] VSTASKVALUETYPE* ptvtType,
[out] VSTASKVALUEFLAGS* ptvfFlags,
[out] VARIANT* pvarValue,
[out] BSTR* pbstrAccessibilityName
);
.NET Framework Security
- 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.