IVsTaskItem3.GetColumnValue(Int32, UInt32, UInt32, Object, String) Method

Definition

Returns the value of this task for a given column.

public:
 int GetColumnValue(int iField, [Runtime::InteropServices::Out] System::UInt32 % ptvtType, [Runtime::InteropServices::Out] System::UInt32 % ptvfFlags, [Runtime::InteropServices::Out] System::Object ^ % pvarValue, [Runtime::InteropServices::Out] System::String ^ % pbstrAccessibilityName);
int GetColumnValue(int iField, [Runtime::InteropServices::Out] unsigned int & ptvtType, [Runtime::InteropServices::Out] unsigned int & ptvfFlags, [Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & pvarValue, [Runtime::InteropServices::Out] std::wstring const & & pbstrAccessibilityName);
public int GetColumnValue (int iField, out uint ptvtType, out uint ptvfFlags, out object pvarValue, out string pbstrAccessibilityName);
abstract member GetColumnValue : int * uint32 * uint32 * obj * string -> int
Public Function GetColumnValue (iField As Integer, ByRef ptvtType As UInteger, ByRef ptvfFlags As UInteger, ByRef pvarValue As Object, ByRef pbstrAccessibilityName As String) As Integer

Parameters

iField
Int32

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

ptvtType
UInt32

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

ptvfFlags
UInt32

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

pvarValue
Object

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

pbstrAccessibilityName
String

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

Returns

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  
);  

Applies to