IVsTaskItem3.GetEnumValue(Int32, Int32, Object, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Given a column field and value index, returns the indexed value for this task and column.
public:
int GetEnumValue(int iField, int iValue, [Runtime::InteropServices::Out] System::Object ^ % pvarValue, [Runtime::InteropServices::Out] System::String ^ % pbstrAccessibilityName);
int GetEnumValue(int iField, int iValue, [Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & pvarValue, [Runtime::InteropServices::Out] std::wstring const & & pbstrAccessibilityName);
public int GetEnumValue (int iField, int iValue, out object pvarValue, out string pbstrAccessibilityName);
abstract member GetEnumValue : int * int * obj * string -> int
Public Function GetEnumValue (iField As Integer, iValue As Integer, ByRef pvarValue As Object, ByRef pbstrAccessibilityName As String) As Integer
Parameters
- iField
- Int32
[in] An integer value containing the column field.
- iValue
- Int32
[in] An integer value index.
- pvarValue
- Object
[out] A pointer to a value 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
pbstrAccessibilityName is the descriptive text exposed to accessibility for this value. If *ptvtType != TVT_IMAGE, it may be left blank; in that case, the text of the value itself will be used.
COM Signature
From vsshell80.idl:
HRESULT IVsTaskItem3::GetEnumValue(
[in] int iField,
[in] int iValue,
[out] VARIANT* pvarValue,
[out] BSTR* pbstrAccessibilityName
);