Marshal.GetTypeInfoName Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Hämtar namnet på den typ som representeras av ett ITypeInfo-objekt .
Överlagringar
| Name | Description |
|---|---|
| GetTypeInfoName(UCOMITypeInfo) |
Föråldrad.
Hämtar namnet på den typ som representeras av ett ITypeInfo-objekt . |
| GetTypeInfoName(ITypeInfo) |
Hämtar namnet på den typ som representeras av ett ITypeInfo-objekt . |
GetTypeInfoName(UCOMITypeInfo)
Varning
Use System.Runtime.InteropServices.Marshal.GetTypeInfoName(ITypeInfo pTLB) instead. http://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.
Hämtar namnet på den typ som representeras av ett ITypeInfo-objekt .
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
Parametrar
- pTI
- UCOMITypeInfo
Ett objekt som representerar en ITypeInfo pekare.
Returer
Namnet på den typ som parametern pekar på pTI .
- Attribut
Kommentarer
Du kan också hämta namnet på den typ som representeras av ett ITypeInfo objekt genom att anropa UCOMITypeInfo.GetDocumentation metoden och skicka -1 för den första parametern.
Se även
Gäller för
GetTypeInfoName(ITypeInfo)
- Källa:
- Marshal.NoCom.cs
- Källa:
- Marshal.NoCom.cs
- Källa:
- Marshal.NoCom.cs
- Källa:
- Marshal.NoCom.cs
- Källa:
- Marshal.NoCom.cs
Hämtar namnet på den typ som representeras av ett ITypeInfo-objekt .
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
Parametrar
- typeInfo
- ITypeInfo
Ett objekt som representerar en ITypeInfo pekare.
Returer
Namnet på den typ som parametern pekar på typeInfo .
- Attribut
Undantag
Parametern typeInfo är null.
Kommentarer
Du kan också hämta namnet på den typ som representeras av en ITypeInfo genom att anropa UCOMITypeInfo.GetDocumentation metoden och skicka -1 för den första parametern.