共用方式為


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 屬性。

適用於