다음을 통해 공유


IVsSwatchClient.GetEnabledCount Method

The client returns a count of the enabled cells in this swatch control.

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

Syntax

‘선언
Function GetEnabledCount ( _
    <OutAttribute> ByRef pcEnabled As Integer _
) As Integer
‘사용 방법
Dim instance As IVsSwatchClient
Dim pcEnabled As Integer
Dim returnValue As Integer

returnValue = instance.GetEnabledCount(pcEnabled)
int GetEnabledCount(
    out int pcEnabled
)
int GetEnabledCount(
    [InAttribute] [OutAttribute] int% pcEnabled
)
abstract GetEnabledCount : 
        pcEnabled:int byref -> int 
function GetEnabledCount(
    pcEnabled : int
) : int

Parameters

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 IVsSwatchClient::GetEnabledCount(
   [in, out] int *pcEnabled
);

.NET Framework Security

See Also

Reference

IVsSwatchClient Interface

IVsSwatchClient Members

Microsoft.VisualStudio.Shell.Interop Namespace