IVsTaskItem3.SetColumnValue(Int32, Object) 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.
When the user edits a task, this method is called for each edited column once the edit is committed.
public:
int SetColumnValue(int iField, System::Object ^ % pvarValue);
int SetColumnValue(int iField, winrt::Windows::Foundation::IInspectable const & & pvarValue);
public int SetColumnValue (int iField, ref object pvarValue);
abstract member SetColumnValue : int * obj -> int
Public Function SetColumnValue (iField As Integer, ByRef pvarValue As Object) As Integer
Parameters
- iField
- Int32
[in] An integer containing the Field Column to be used.
- pvarValue
- Object
[in] A pointer to an object of type VARIANT.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
The type of pvarValue
will be the same as the type returned from GetColumnValue.
COM Signature
From vsshell80.idl:
HRESULT IVsTaskItem3::SetColumnValue(
[in] int iField,
[in] VARIANT* pvarValue
);