ITypeLibExporterNameProvider 接口

定义

当导出到类型库时提供名称大小写控制。

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
属性

注解

为了控制类型在导出到类型库时如何命名类型,对象必须实现此接口以及 ITypeLibExporterNotifySink。 然后,将此对象作为最后一个参数传递给 ConvertAssemblyToTypeLib

方法

GetNames()

返回要控制其大小写的名称的列表。

适用于