Share via


DynamicRecord.Item Property (String)

Returns the value of a column in the DynamicRecord instance using the specified name.

Namespace:  WebMatrix.Data
Assembly:  WebMatrix.Data (in WebMatrix.Data.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As Object 
    Get
'Usage
Dim instance As DynamicRecord 
Dim name As String 
Dim value As Object 

value = instance(name)
public Object this[
    string name
] { get; }
public:
property Object^ default[String^ name] {
    Object^ get (String^ name);
}
member Item : Object
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: System.Object
The value of the specified column.

See Also

Reference

DynamicRecord Class

Item Overload

WebMatrix.Data Namespace