Поделиться через


IEnumTargetFrameworks.Count Method

Gets the number of supported framework versions.

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

Syntax

'Declaration
Function Count ( _
    <OutAttribute> ByRef pCount As UInteger _
) As Integer
int Count(
    out uint pCount
)
int Count(
    [OutAttribute] unsigned int% pCount
)
abstract Count : 
        pCount:uint32 byref -> int 
function Count(
    pCount : uint
) : int

Parameters

  • pCount
    Type: System.UInt32%
    The number of supported versions of the framework.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

From compsvcspkg90.idl:

HRESULT Count([out] ULONG *pCount);

.NET Framework Security

See Also

Reference

IEnumTargetFrameworks Interface

Microsoft.VisualStudio.Shell.Interop Namespace