DynamicType Members
Include Protected Members
Include Inherited Members
Represents an object whose structure can be modified at run time.
The DynamicType type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DynamicType() | Initializes a new instance of the DynamicType class. | |
DynamicType(Int32) | Initializes a new instance of the DynamicType class with the specified number of child elements. | |
DynamicType(String) | Initializes a new instance of the DynamicType class with the specified object type name. | |
DynamicType(String, Int32) | Initializes a new instance of the DynamicType class with the specified object type name and number of child elements. |
Top
Properties
Name | Description | |
---|---|---|
Count | Gets the number of fields in the dynamic type. | |
IsReadOnly | Gets whether the dynamic type is read-only. | |
Item | Gets an item at a specific key. | |
Keys | Gets the collection of keys. | |
Name | Gets the name of the dynamic type. | |
Values | Gets the collection of field values in the dynamic type. |
Top
Methods
Name | Description | |
---|---|---|
Add(KeyValuePair<String, Object>) | Adds a field to the collection. | |
Add(String, Object) | Adds a key/value pair to the collection. | |
Clear | Removes all the items. | |
Contains | Checks whether the collection contains a specific item. | |
ContainsKey | Checks whether the collection contains a specific key. | |
CopyTo | Copies the collection items to the specified array of key/value pairs starting at the specified index. | |
CreateObjRef | (Inherited from MarshalByRefObject.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEnumerator | Returns an enumerator to the collection. | |
GetHashCode | (Inherited from Object.) | |
GetLifetimeService | (Inherited from MarshalByRefObject.) | |
GetSchema | Returns the XML schema of the dynamic type. | |
GetType | (Inherited from Object.) | |
InitializeLifetimeService | (Inherited from MarshalByRefObject.) | |
MemberwiseClone() | (Inherited from Object.) | |
MemberwiseClone(Boolean) | (Inherited from MarshalByRefObject.) | |
ReadXml | Reads an XML document of the dynamic type. | |
Remove(KeyValuePair<String, Object>) | Removes a key/value entry from the collection. | |
Remove(String) | Removes an item with a specified key string from the collection. | |
ToString | (Inherited from Object.) | |
TryGetValue | Searches for a value in the collection. | |
WriteXml | Writes an XML document. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IDictionary.Add | Adds a key/value pair to the collection. | |
IDictionary.Contains | Checks whether the collection contains an item with the specified key. | |
ICollection.CopyTo | Copies the collection items to the specified array starting at the specified index. | |
IDictionary.GetEnumerator | Returns an enumerator to the dictionary. | |
IEnumerable.GetEnumerator | Returns an enumerator to the collection. | |
IDictionary.IsFixedSize | Gets a value that indicates whether the collection is of a fixed size. | |
IDictionary.IsReadOnly | Gets a value that indicates whether the collection is read-only. | |
ICollection.IsSynchronized | Gets whether the collection is synchronized. | |
IDictionary.Item | Gets or sets a field with the specified key. | |
IDictionary.Keys | Gets the keys in the collection. | |
IDictionary.Remove | Removes a specified field from the collection. | |
ICollection.SyncRoot | Synchronizes the top level (root) of the collection. | |
IDictionary.Values | Gets the collection of values. |
Top