Metoda IVsTaskItem2.IsCustomColumnReadOnly — (Guid, UInt32, Int32)
Określa, czy pole niestandardowe zadania ustawiono status tylko do odczytu.
Przestrzeń nazw: Microsoft.VisualStudio.Shell.Interop
Zestaw: Microsoft.VisualStudio.Shell.Interop (w Microsoft.VisualStudio.Shell.Interop.dll)
Składnia
int IsCustomColumnReadOnly(
[InAttribute] ref Guid guidView,
uint iCustomColumnIndex,
out int pfReadOnly
)
int IsCustomColumnReadOnly(
[InAttribute] Guid% guidView,
unsigned int iCustomColumnIndex,
[OutAttribute] int% pfReadOnly
)
abstract IsCustomColumnReadOnly :
guidView:Guid byref *
iCustomColumnIndex:uint32 *
pfReadOnly:int byref -> int
Function IsCustomColumnReadOnly (
<InAttribute> ByRef guidView As Guid,
iCustomColumnIndex As UInteger,
<OutAttribute> ByRef pfReadOnly As Integer
) As Integer
Parametry
guidView
Type: System.Guid[in] Identyfikator GUID widoku listy zadań.
iCustomColumnIndex
Type: System.UInt32[in] Indeks pól niestandardowych.
pfReadOnly
Type: System.Int32[out] true Jeśli pole niestandardowe ma status tylko do odczytu.
Wartość zwracana
Type: System.Int32
Jeśli metoda zakończy się pomyślnie, zwraca S_OK. Jeśli nie, zwraca kod błędu.
Uwagi
Podpis COM
Z vsshell.idl:
HRESULT IVsTaskItem::IsCustomColumnReadOnly(
[in] ref Guid guidView,
[In] uint iCustomColumnIndex,
[out] int *pfReadOnly
);
Zobacz też
Interfejs IVsTaskItem2
Przestrzeń nazw Microsoft.VisualStudio.Shell.Interop
Powrót do początku