CimConverter.GetCimType Method (Type)

 

Gets the CimType type of a given .NET type.

Namespace:   Microsoft.Management.Infrastructure
Assembly:  Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)

Syntax

public static CimType GetCimType(
    Type dotNetType
)
public:
static CimType GetCimType(
    Type^ dotNetType
)
static member GetCimType : 
        dotNetType:Type -> CimType
Public Shared Function GetCimType (
    dotNetType As Type
) As CimType

Parameters

  • dotNetType
    Type: System.Type

    The .NET type for the specified CimType type.

Return Value

Type: Microsoft.Management.Infrastructure.CimType

Represents the CimType type of the specified .NET type. Returns CimType.Unknown if the mapping is ambiguous.

See Also

CimConverter Class
Microsoft.Management.Infrastructure Namespace

Return to top