DynamicRecord Class

Definition

Represents a data record by using a custom type descriptor and the capabilities of the Dynamic Language Runtime (DLR).

public sealed class DynamicRecord : System.Dynamic.DynamicObject, System.ComponentModel.ICustomTypeDescriptor
type DynamicRecord = class
    inherit DynamicObject
    interface ICustomTypeDescriptor
Public NotInheritable Class DynamicRecord
Inherits DynamicObject
Implements ICustomTypeDescriptor
Inheritance
DynamicRecord
Implements

Properties

Columns

Returns a list that contains the name of each column in the DynamicRecord instance.

Item[Int32]

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

Item[String]

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

Methods

GetDynamicMemberNames()

Returns a list that contains the name of all dynamic members of the DynamicRecord instance.

TryGetMember(GetMemberBinder, Object)

Gets the value of a DynamicRecord member using the specified name.

Explicit Interface Implementations

ICustomTypeDescriptor.GetAttributes()

Returns a list of custom attributes for this instance of a component.

ICustomTypeDescriptor.GetClassName()

Returns the class name for this instance of a component.

ICustomTypeDescriptor.GetComponentName()

Returns the name for this instance of a component.

ICustomTypeDescriptor.GetConverter()

Returns the type converter for this instance of a component.

ICustomTypeDescriptor.GetDefaultEvent()

Returns the default event for this instance of a component.

ICustomTypeDescriptor.GetDefaultProperty()

Returns the default property for this instance of a component.

ICustomTypeDescriptor.GetEditor(Type)

Returns an editor of the specified type for this instance of a component.

ICustomTypeDescriptor.GetEvents()

Returns the events for this instance of a component.

ICustomTypeDescriptor.GetEvents(Attribute[])

Returns the events for this instance of a component by using the specified filter.

ICustomTypeDescriptor.GetProperties()

Returns the properties for this instance of a component.

ICustomTypeDescriptor.GetProperties(Attribute[])

Returns the properties for this instance of a component by using the specified filter.

ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor)

Returns the object that contains the specified property.

Applies to