Compartir a través de


Método RegistrationServices.GetProgIdForType (Type)

 

Publicado: octubre de 2016

Recupera el identificador de programa COM para el tipo especificado.

Espacio de nombres:   System.Runtime.InteropServices
Ensamblado:  mscorlib (en mscorlib.dll)

Sintaxis

[SecurityCriticalAttribute]
public virtual string GetProgIdForType(
    Type type
)
public:
[SecurityCriticalAttribute]
virtual String^ GetProgIdForType(
    Type^ type
)
[<SecurityCriticalAttribute>]
abstract GetProgIdForType : 
        type:Type -> string
[<SecurityCriticalAttribute>]
override GetProgIdForType : 
        type:Type -> string
<SecurityCriticalAttribute>
Public Overridable Function GetProgIdForType (
    type As Type
) As String

Parámetros

  • type
    Type: System.Type

    El tipo correspondiente al ProgID que se solicita.

Valor devuelto

Type: System.String

ProgID del tipo especificado.

Implementa

IRegistrationServices.GetProgIdForType(Type)

Seguridad

SecurityCriticalAttribute

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

Información de versión

.NET Framework
Disponible desde 1.1

Ver también

Clase RegistrationServices
Espacio de nombres System.Runtime.InteropServices

Volver al principio