共用方式為


IVsTaskItem2.get_CustomColumnText(Guid, UInt32, String) Method

Definition

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

public:
 int get_CustomColumnText(Guid % guidView, System::UInt32 iCustomColumnIndex, [Runtime::InteropServices::Out] System::String ^ % pbstrText);
public int get_CustomColumnText (ref Guid guidView, uint iCustomColumnIndex, out string pbstrText);
abstract member get_CustomColumnText : Guid * uint32 * string -> int
Public Function get_CustomColumnText (ByRef guidView As Guid, iCustomColumnIndex As UInteger, ByRef pbstrText As String) As Integer

Parameters

guidView
Guid

[in] GUID of the task list view.

iCustomColumnIndex
UInt32

[in] Index of the customized field.

pbstrText
String

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

Returns

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

Applies to