IVsTaskItem2::IsCustomColumnReadOnly Method (Guid, UInt32, Int32)

 

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

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

int IsCustomColumnReadOnly(
	[InAttribute] Guid% guidView,
	unsigned int iCustomColumnIndex,
	[OutAttribute] int% pfReadOnly
)

Parameters

guidView
Type: System::Guid

[in] GUID of the task list view.

iCustomColumnIndex
Type: System::UInt32

[in] Index of the customized field.

pfReadOnly
Type: System::Int32

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

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 IVsTaskItem::IsCustomColumnReadOnly(
   [in] ref Guid guidView,
   [In] uint iCustomColumnIndex,
   [out] int *pfReadOnly
);
Return to top
Show: