Compartir a través de


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
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: Int32

    [in] An integer containing the Field Column to be used.

  • pvarValue
    Type: Object%

    [out] A pointer to an object of type VARIANT.

  • pbstrAccessibilityName
    Type: String%

    [out] A pointer to a string containing the Accessibility Name.

Return Value

Type: 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

Microsoft.VisualStudio.Shell.Interop Namespace