ComponentGuaranteesAttribute(ComponentGuaranteesOptions) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化一個新的類別實例 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 。