次の方法で共有


RootElementSettings.Item[String] Property

Definition

Gets and Sets additional properties. The default generated serialization code doesn't use any additional properties. This is designer for customization code to pass additional information, if necessary. On get, the given setting name is compared by ordinal, and null is returned if the given setting name doesn't match any stored setting value. On set, if there's an existing setting with the same name (compared by ordinal), the new value will replace the old one with no error. The setting name has to be non-empty.

public:
 property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ settingName); void set(System::String ^ settingName, System::Object ^ value); };
public object this[string settingName] { [System.Diagnostics.DebuggerStepThrough] get; [System.Diagnostics.DebuggerStepThrough] set; }
[<get: System.Diagnostics.DebuggerStepThrough>]
[<set: System.Diagnostics.DebuggerStepThrough>]
member this.Item(string) : obj with get, set
Default Public Property Item(settingName As String) As Object

Parameters

settingName
String

Name of the setting to lookup.

Property Value

Value of the setting, or null if not found.

Attributes

Applies to