Marshal.GetTypeInfoName Méthode

Définition

Récupère le nom du type représenté par un objet ITypeInfo.

Surcharges

GetTypeInfoName(UCOMITypeInfo)
Obsolète.

Récupère le nom du type représenté par un objet ITypeInfo.

GetTypeInfoName(ITypeInfo)

Récupère le nom du type représenté par un objet ITypeInfo.

GetTypeInfoName(UCOMITypeInfo)

Attention

Use System.Runtime.InteropServices.Marshal.GetTypeInfoName(ITypeInfo pTLB) instead. http://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.

Récupère le nom du type représenté par un objet ITypeInfo.

public:
 static System::String ^ GetTypeInfoName(System::Runtime::InteropServices::UCOMITypeInfo ^ pTI);
public static string GetTypeInfoName (System.Runtime.InteropServices.UCOMITypeInfo pTI);
[System.Obsolete("Use System.Runtime.InteropServices.Marshal.GetTypeInfoName(ITypeInfo pTLB) instead. http://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.", false)]
public static string GetTypeInfoName (System.Runtime.InteropServices.UCOMITypeInfo pTI);
[System.Obsolete("Use System.Runtime.InteropServices.Marshal.GetTypeInfoName(ITypeInfo pTLB) instead. http://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.", false)]
[System.Security.SecurityCritical]
public static string GetTypeInfoName (System.Runtime.InteropServices.UCOMITypeInfo pTI);
static member GetTypeInfoName : System.Runtime.InteropServices.UCOMITypeInfo -> string
[<System.Obsolete("Use System.Runtime.InteropServices.Marshal.GetTypeInfoName(ITypeInfo pTLB) instead. http://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.", false)>]
static member GetTypeInfoName : System.Runtime.InteropServices.UCOMITypeInfo -> string
[<System.Obsolete("Use System.Runtime.InteropServices.Marshal.GetTypeInfoName(ITypeInfo pTLB) instead. http://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.", false)>]
[<System.Security.SecurityCritical>]
static member GetTypeInfoName : System.Runtime.InteropServices.UCOMITypeInfo -> string
Public Shared Function GetTypeInfoName (pTI As UCOMITypeInfo) As String

Paramètres

pTI
UCOMITypeInfo

Objet qui représente un pointeur ITypeInfo.

Retours

Nom du type vers lequel pointe le paramètre pTI.

Attributs

Remarques

Vous pouvez également récupérer le nom du type représenté par un ITypeInfo objet en appelant la UCOMITypeInfo.GetDocumentation méthode et en passant -1 pour son premier paramètre.

Voir aussi

S’applique à

GetTypeInfoName(ITypeInfo)

Source:
Marshal.NoCom.cs
Source:
Marshal.NoCom.cs
Source:
Marshal.NoCom.cs

Récupère le nom du type représenté par un objet ITypeInfo.

public:
 static System::String ^ GetTypeInfoName(System::Runtime::InteropServices::ComTypes::ITypeInfo ^ typeInfo);
[System.Security.SecurityCritical]
public static string GetTypeInfoName (System.Runtime.InteropServices.ComTypes.ITypeInfo typeInfo);
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public static string GetTypeInfoName (System.Runtime.InteropServices.ComTypes.ITypeInfo typeInfo);
public static string GetTypeInfoName (System.Runtime.InteropServices.ComTypes.ITypeInfo typeInfo);
[<System.Security.SecurityCritical>]
static member GetTypeInfoName : System.Runtime.InteropServices.ComTypes.ITypeInfo -> string
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
static member GetTypeInfoName : System.Runtime.InteropServices.ComTypes.ITypeInfo -> string
static member GetTypeInfoName : System.Runtime.InteropServices.ComTypes.ITypeInfo -> string
Public Shared Function GetTypeInfoName (typeInfo As ITypeInfo) As String

Paramètres

typeInfo
ITypeInfo

Objet qui représente un pointeur ITypeInfo.

Retours

Nom du type vers lequel pointe le paramètre typeInfo.

Attributs

Exceptions

Le paramètre typeInfo a la valeur null.

Remarques

Vous pouvez également récupérer le nom du type représenté par un ITypeInfo en appelant la UCOMITypeInfo.GetDocumentation méthode et en passant -1 pour son premier paramètre.

Voir aussi

S’applique à