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.
Returns the number of colorable Display items in the Options dialog box. The Display items are provided by the selected option in the Show Settings for: drop-down list.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function GetItemCount ( _
<OutAttribute> ByRef pcItems As Integer _
) As Integer
'Usage
Dim instance As IVsFontAndColorDefaults
Dim pcItems As Integer
Dim returnValue As Integer
returnValue = instance.GetItemCount(pcItems)
int GetItemCount(
out int pcItems
)
int GetItemCount(
[OutAttribute] int% pcItems
)
abstract GetItemCount :
pcItems:int byref -> int
function GetItemCount(
pcItems : int
) : int
Parameters
- pcItems
Type: System.Int32%
[out] Pointer to the number of colorable items.
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 IVsFontAndColorDefaults::GetItemCount(
[out] LONG *pcItems
);
.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.
See Also
Reference
IVsFontAndColorDefaults Interface