You can register a single primary interop assembly that supports multiple type libraries.
可以注册一个支持多个类型库的主互操作程序集。
A single primary interop assembly can wrap more than one version of the same type library.
一个主互操作程序集可以包装同一类型库的多个版本。
Registration is the best way for you to locate a primary interop assembly on your computer.
注册是在计算机上定位主互操作程序集的最佳方式。
You can register the newer primary interop assembly, overwriting the older version in the registry.
可以注册较新的主互操作程序集,覆盖注册表中的旧版本。
A registered primary interop assembly is clearly marked under the registry key of the original type library.
注册的主互操作程序集在原类型库的注册表项下明确标记。
You can embed com types so that your application no longer requires a primary interop assembly (PIA) on the target computer.
通过嵌入COM类型,您的应用程序不再要求目标计算机上存在主互操作程序集(PIA)。
There can be only one primary interop assembly, which must be signed with a strong name by the publisher of the COM type library.
只能有一个主互操作程序集,而且该程序集必须由COM类型库的发行者用强名称签名。
If you revise a primary interop assembly after shipping it, increment the assembly version number to differentiate later versions.
如果在发布了一个主互操作程序集后又对其进行了修改,应递增程序集版本号以区分以后的版本。
When you use embedded interop types, you can embed them from the primary interop assembly published by the author of the com component.
当使用嵌入的互操作类型时,您可以从COM组件的作者所发布的主互操作程序集中嵌入这些类型。
For instructions on specifying multiple type library versions in a single primary interop assembly, see Generating primary interop Assemblies.
有关在一个主互操作程序集中指定多个类型库版本的说明,请参见生成主互操作程序集。
When you have multiple versions of a COM component, you can have multiple type libraries, and possibly multiple versions of a primary interop assembly.
如果一个COM组件有多个版本,可能会有多个类型库,而且主互操作程序集可能会有多个版本。
You can now deploy an application that has embedded type information instead of type information that is imported from a Primary Interop Assembly (PIA).
现在部署的应用程序可以包含嵌入的类型信息来替换从主互操作程序集 (PIA)导入的类型信息。
If you are the publisher, you must generate a primary interop assembly for the dependent type library before generating the referencing primary interop assembly.
如果您是发行者,必须先为相关类型库生成一个主互操作程序集,才能生成引用这些类型库的主互操作程序集。
A COM type library that is imported as an assembly and signed by someone other than the publisher of the original type library cannot be a primary interop assembly.
如果导入为程序集的COM类型库不是由原类型库的发行者签名的,该类型库不能作为主互操作程序集。
With embedded type information, your application can use types from an assembly without requiring a reference to the runtime assembly or Primary Interop assembly (PIA).
通过嵌入的类型信息,应用程序可以使用程序集中的类型,而无需引用运行时程序集或主互操作程序集(PIA)。
A dependent primary interop assembly with a version number that differs from that of the original type library is not discoverable when installed in the current directory.
如果相关主互操作程序集的版本号与原类型库的版本号不同,即使安装在当前目录中也无法发现该程序集。
If your assembly references types from a third-party COM type library, you must obtain a primary interop assembly from the publisher before you can generate your primary interop assembly.
如果您的程序集引用第三方COM类型库中的类型,必须先从发行者获取一个主互操作程序集,才能生成您的主互操作程序集。
If your assembly references types from a third-party COM type library, you must obtain a primary interop assembly from the publisher before you can generate your primary interop assembly.
如果您的程序集引用第三方COM类型库中的类型,必须先从发行者获取一个主互操作程序集,才能生成您的主互操作程序集。
应用推荐