Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Given a column field, returns the number of possible values this task may have for that column.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function GetEnumCount ( _
iField As Integer, _
<OutAttribute> ByRef pnValues As Integer _
) As Integer
'Usage
Dim instance As IVsTaskItem3
Dim iField As Integer
Dim pnValues As Integer
Dim returnValue As Integer
returnValue = instance.GetEnumCount(iField, _
pnValues)
int GetEnumCount(
int iField,
out int pnValues
)
int GetEnumCount(
[InAttribute] int iField,
[OutAttribute] int% pnValues
)
abstract GetEnumCount :
iField:int *
pnValues:int byref -> int
function GetEnumCount(
iField : int,
pnValues : int
) : int
Parameters
- iField
Type: System.Int32
[In] An integer value.
- pnValues
Type: System.Int32%
[Out] A pointer to an integer value.
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 vsshell80.idl:
HRESULT IVsTaskItem3::GetEnumCount(
[in] int iField,
[out] int* pnValues
);
.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.