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

'Declaration
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
'Usage
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
)
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.

  • 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

See Also

Reference

IVsTaskItem3 Interface

IVsTaskItem3 Members

Microsoft.VisualStudio.Shell.Interop Namespace