IVsTaskItem2.IsCustomColumnReadOnly Method
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)
Syntax
'Dichiarazione
Function IsCustomColumnReadOnly ( _
ByRef guidView As Guid, _
iCustomColumnIndex As UInteger, _
<OutAttribute> ByRef pfReadOnly As Integer _
) As Integer
'Utilizzo
Dim instance As IVsTaskItem2
Dim guidView As Guid
Dim iCustomColumnIndex As UInteger
Dim pfReadOnly As Integer
Dim returnValue As Integer
returnValue = instance.IsCustomColumnReadOnly(guidView, _
iCustomColumnIndex, pfReadOnly)
int IsCustomColumnReadOnly(
ref Guid guidView,
uint iCustomColumnIndex,
out int pfReadOnly
)
int IsCustomColumnReadOnly(
[InAttribute] Guid% guidView,
[InAttribute] unsigned int iCustomColumnIndex,
[OutAttribute] int% pfReadOnly
)
abstract IsCustomColumnReadOnly :
guidView:Guid byref *
iCustomColumnIndex:uint32 *
pfReadOnly:int byref -> int
function IsCustomColumnReadOnly(
guidView : Guid,
iCustomColumnIndex : uint,
pfReadOnly : int
) : int
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.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsTaskItem::IsCustomColumnReadOnly(
[in] ref Guid guidView,
[In] uint iCustomColumnIndex,
[out] int *pfReadOnly
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.