IVsTaskItem2::put_CustomColumnText Method (Guid, UInt32, String^)

 

Sets the text of a customized field for the specified task list view.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int put_CustomColumnText(
	[InAttribute] Guid% guidView,
	unsigned int iCustomColumnIndex,
	String^ bstrText
)

Parameters

guidView
Type: System::Guid

[in] GUID of the task list view.

iCustomColumnIndex
Type: System::UInt32

[in] Index of the customized field.

bstrText
Type: System::String^

[in] Pointer to a string containing the customized field text.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsTaskItem2::put_CustomColumnText(
   [in]REFGUID guidView,
   [in]ULONG iCustomColumnIndex,
   [in]BSTR bstrText
);

Implement this method only if you want the customized field to be modifiable by the user.

For further information, see the Remarks section of get_CustomColumnText Method.

Return to top
Show: