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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Déclaration
Public Default Property Item ( _
settingName As String _
) As Object
Get
Set
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 : Object with get, set
JScript does not support indexed properties.
Parameters
- settingName
Type: System.String
Property Value
Type: System.Object
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.