Delen via


RootElementSettings.Item Property

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.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
Public Default Property Item ( _
    settingName As String _
) As Object
public Object this[
    string settingName
] { get; set; }
public:
property Object^ default[String^ settingName] {
    Object^ get (String^ settingName);
    void set (String^ settingName, Object^ value);
}
member Item : 
        settingName:string -> Object with get, set
JScript does not support indexed properties.

Parameters

Property Value

Type: System.Object

.NET Framework Security

See Also

Reference

RootElementSettings Class

Microsoft.VisualStudio.Modeling Namespace