ComponentGuaranteesAttribute(ComponentGuaranteesOptions) 构造函数

定义

使用一个指示某个库、类型或成员保证的跨多个版本的兼容性级别的值初始化 ComponentGuaranteesAttribute 类的新实例。

public:
 ComponentGuaranteesAttribute(System::Runtime::Versioning::ComponentGuaranteesOptions guarantees);
public ComponentGuaranteesAttribute (System.Runtime.Versioning.ComponentGuaranteesOptions guarantees);
new System.Runtime.Versioning.ComponentGuaranteesAttribute : System.Runtime.Versioning.ComponentGuaranteesOptions -> System.Runtime.Versioning.ComponentGuaranteesAttribute
Public Sub New (guarantees As ComponentGuaranteesOptions)

参数

guarantees
ComponentGuaranteesOptions

用于指定保证的跨多个版本的兼容性级别的枚举值之一。

注解

ComponentGuaranteesAttribute实例化类时,将guarantees参数的值分配给Guarantees该属性。

适用于