語言

SettingsDescriptionAttribute(String) 建構函式

定義

初始化該 SettingsDescriptionAttribute 類別的實例。

public:
 SettingsDescriptionAttribute(System::String ^ description);
public SettingsDescriptionAttribute(string description);
new System.Configuration.SettingsDescriptionAttribute : string -> System.Configuration.SettingsDescriptionAttribute
Public Sub New (description As String)

參數

description
String

這些 String 作為描述性文字。

備註

雖然描述中有類別的理論最大長度 String ,其長度以 表示 Int32,但以下兩個實務考量會限制參數大小 description :

  • 大型文字描述難以在使用者介面(UI)中顯示,使用者也難以閱讀。

  • 設定提供者可能會強制執行整體使用配額,並必須執行使用者設定配額。

適用於

另請參閱