DynamicProperties Class

Contains a DynamicPropertiesDescriptor collection and a corresponding GenericValue collection and properties and methods for managing the collections.

Namespace: elsystem 

Properties

   Additional properties, methods, and events are described in the classes listed under Inheritance Hierarchy (see below).

  Name Type Description
Public property Count int Gets the number of items in the DynamicProperties collection.
Public property Descriptor int A DynamicPropertiesDescriptor collection containing DynamicPropertyDescriptor items that correspond to the GenericValue items.
Public property IsReadOnly int True indicates that the collections are read-only.
Public property Item[idx] int Gets and sets the GenericValue item specified by the FieldName idx string.
Public property Item[idx] int Gets and sets the GenericValue item specified by the index idx value.
Public property TryGet[idx] int Gets the GenericValue of the item with the FieldName idx string.
Methods
  Name Description
Public property Contains(fieldName) True if the Descriptor collection contains the input string fieldname.
Public property

Create

Initializes an instance of the class.
Public property SetItem(idx,value) Sets the GenericValue in a DynamciProperties collection based upon the item idx name (as a string) and the string value.
Public property SetItem(idx,value) Sets the GenericValue in a DynamciProperties collection based upon the item index (as an integer) and the string value.
Inheritance Hierarchy

elsystem.Object

elsystem.DynamicProperties