Marshal.GetTypeFromCLSID-Methode: (Guid)

 

Veröffentlicht: Oktober 2016

Gibt den Typ zurück, dem die angegebene Klassen-ID (CLSID) zugeordnet ist.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

Syntax

public static Type GetTypeFromCLSID(
    Guid clsid
)
public:
static Type^ GetTypeFromCLSID(
    Guid clsid
)
static member GetTypeFromCLSID : 
        clsid:Guid -> Type
Public Shared Function GetTypeFromCLSID (
    clsid As Guid
) As Type

Parameter

  • clsid
    Type: System.Guid

    Die CLSID des zurückzugebenden Typs.

Rückgabewert

Type: System.Type

System.__ComObject unabhängig von der Gültigkeit der CLSID.

Versionsinformationen

Universelle Windows-Plattform
Verfügbar seit 8
.NET Framework
Verfügbar seit 4.5
Portierbare Klassenbibliothek
Unterstützt in: portierbare .NET-Plattformen
Windows Phone
Verfügbar seit 8.1

Siehe auch

Marshal-Klasse
System.Runtime.InteropServices-Namespace

Zurück zum Anfang