IVsSwatchClient.GetEnabledCount Method

This interface is deprecated as of Visual Studio 2010. The Visual Studio shell no longer recognizes this interface.

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

Syntax

'Declaration
Function GetEnabledCount ( _
    <OutAttribute> ByRef pcEnabled As Integer _
) As Integer
int GetEnabledCount(
    out int pcEnabled
)
int GetEnabledCount(
    [InAttribute] [OutAttribute] int% pcEnabled
)
abstract GetEnabledCount : 
        pcEnabled:int byref -> int
function GetEnabledCount(
    pcEnabled : int
) : int

Parameters

  • pcEnabled
    Type: Int32%

    [in, out]

Return Value

Type: 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

Microsoft.VisualStudio.Shell.Interop Namespace