IVsTaskItem3::GetColumnValue Method (Int32, UInt32, UInt32, Object^, String^)

 

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)

int GetColumnValue(
	int iField,
	[OutAttribute] unsigned int% ptvtType,
	[OutAttribute] unsigned int% ptvfFlags,
	[OutAttribute] Object^% pvarValue,
	[OutAttribute] String^% pbstrAccessibilityName
)

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.

From vsshell80.idl:

HRESULT IVsTaskItem3::GetColumnValue(
   [in] int iField, 
   [out] VSTASKVALUETYPE* ptvtType, 
   [out] VSTASKVALUEFLAGS* ptvfFlags, 
   [out] VARIANT* pvarValue, 
   [out] BSTR* pbstrAccessibilityName
);
Return to top
Show: