Freigeben über


IRegistrationServices.GetProgIdForType-Methode: (Type)

 

Veröffentlicht: Oktober 2016

Ruft die COM-ProgID für einen angegebenen Typ ab.

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

Syntax

[SecurityCriticalAttribute]
string GetProgIdForType(
    Type type
)
[SecurityCriticalAttribute]
String^ GetProgIdForType(
    Type^ type
)
[<SecurityCriticalAttribute>]
abstract GetProgIdForType : 
        type:Type -> string
<SecurityCriticalAttribute>
Function GetProgIdForType (
    type As Type
) As String

Parameter

  • type
    Type: System.Type

    Der Typ, dessen ProgID angefordert wird.

Rückgabewert

Type: System.String

Die ProgID für den angegebenen Typ.

Sicherheit

SecurityCriticalAttribute

requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.

Versionsinformationen

.NET Framework
Verfügbar seit 1.1

Siehe auch

IRegistrationServices-Schnittstelle
System.Runtime.InteropServices-Namespace

Zurück zum Anfang