SettingsDescriptionAttribute(String) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化該 SettingsDescriptionAttribute 類別的實例。
public:
SettingsDescriptionAttribute(System::String ^ description);
public SettingsDescriptionAttribute(string description);
new System.Configuration.SettingsDescriptionAttribute : string -> System.Configuration.SettingsDescriptionAttribute
Public Sub New (description As String)
參數
備註
雖然描述中有類別的理論最大長度 String ,其長度以 表示 Int32,但以下兩個實務考量會限制參數大小 description :
大型文字描述難以在使用者介面(UI)中顯示,使用者也難以閱讀。
設定提供者可能會強制執行整體使用配額,並必須執行使用者設定配額。