IVsTaskItem2.IsCustomColumnReadOnly(Guid, UInt32, Int32) Method

Definition

Determines if a customized task field is set to read-only status.

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

Parameters

guidView
Guid

[in] GUID of the task list view.

iCustomColumnIndex
UInt32

[in] Index of the customized field.

pfReadOnly
Int32

[out] true if the customized field has read-only status.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsTaskItem::IsCustomColumnReadOnly(  
   [in] ref Guid guidView,  
   [In] uint iCustomColumnIndex,  
   [out] int *pfReadOnly  
);  

Applies to