此浏览器不再受支持。
请升级到 Microsoft Edge 以使用最新的功能、安全更新和技术支持。
备注
访问此页面需要授权。 可以尝试登录或更改目录。
访问此页面需要授权。 可以尝试更改目录。
在多个版本的类之中标识一个特定版本。
[ version("version") ]
version coclass 的版本号。 如果未指定,1.0 将放置在 .idl 文件中。
coclass
version C++ 属性的功能与 version MIDL 属性相同,并传递给生成的 .idl 文件。
请参阅 bindable 示例,了解 version 的示例使用。
有关特性上下文的详细信息,请参见 特性上下文。
编译器特性 类特性
此页面是否有帮助?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?