ITypeLibExporterNameProvider Gränssnitt
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.
Ger kontroll över höljet för namn när de exporteras till ett typbibliotek.
public interface class ITypeLibExporterNameProvider
[System.Runtime.InteropServices.Guid("FA1F3615-ACB9-486d-9EAC-1BEF87E36B09")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface ITypeLibExporterNameProvider
[System.Runtime.InteropServices.Guid("FA1F3615-ACB9-486d-9EAC-1BEF87E36B09")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.ComVisible(true)]
public interface ITypeLibExporterNameProvider
[<System.Runtime.InteropServices.Guid("FA1F3615-ACB9-486d-9EAC-1BEF87E36B09")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type ITypeLibExporterNameProvider = interface
[<System.Runtime.InteropServices.Guid("FA1F3615-ACB9-486d-9EAC-1BEF87E36B09")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type ITypeLibExporterNameProvider = interface
Public Interface ITypeLibExporterNameProvider
- Attribut
Kommentarer
För att kunna styra hur typer namnges när de exporteras till ett typbibliotek måste ett objekt implementera det här gränssnittet samt ITypeLibExporterNotifySink. Sedan skickar du objektet som den sista parametern till ConvertAssemblyToTypeLib.
Metoder
| Name | Description |
|---|---|
| GetNames() |
Returnerar en lista med namn som ska styra höljet för. |