Gets or sets the value with the specified property name.

Namespace: Simol
Assembly: Simol (in Simol.dll) Version: 1.0.0.0

Syntax

C#
public Object this[
	string propertyName
] { get; set; }
Visual Basic
Public Default Property Item ( _
	propertyName As String _
) As Object
	Get
	Set
Visual C++
public:
property Object^ default[String^ propertyName] {
	Object^ get (String^ propertyName);
	void set (String^ propertyName, Object^ value);
}

Parameters

propertyName
Type: System..::..String

Field Value

Return Value

Remarks

Attempts to read a non-existent property value do not result in an exception but simply return null. Use ContainsProperty(String) to test for property existence.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionIf propertyName is null

See Also