Condividi tramite


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
Public method DynamicType() Initializes a new instance of the DynamicType class.
Public method DynamicType(Int32) Initializes a new instance of the DynamicType class with the specified number of child elements.
Public method DynamicType(String) Initializes a new instance of the DynamicType class with the specified object type name.
Public method 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
Public property Count Gets the number of fields in the dynamic type.
Public property IsReadOnly Gets whether the dynamic type is read-only.
Public property Item Gets an item at a specific key.
Public property Keys Gets the collection of keys.
Public property Name Gets the name of the dynamic type.
Public property Values Gets the collection of field values in the dynamic type.

Top

Methods

  Name Description
Public method Add(KeyValuePair<String, Object>) Adds a field to the collection.
Public method Add(String, Object) Adds a key/value pair to the collection.
Public method Clear Removes all the items.
Public method Contains Checks whether the collection contains a specific item.
Public method ContainsKey Checks whether the collection contains a specific key.
Public method CopyTo Copies the collection items to the specified array of key/value pairs starting at the specified index.
Public method CreateObjRef (Inherited from MarshalByRefObject.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Returns an enumerator to the collection.
Public method GetHashCode (Inherited from Object.)
Public method GetLifetimeService (Inherited from MarshalByRefObject.)
Public method GetSchema Returns the XML schema of the dynamic type.
Public method GetType (Inherited from Object.)
Public method InitializeLifetimeService (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone() (Inherited from Object.)
Protected method MemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Public method ReadXml Reads an XML document of the dynamic type.
Public method Remove(KeyValuePair<String, Object>) Removes a key/value entry from the collection.
Public method Remove(String) Removes an item with a specified key string from the collection.
Public method ToString (Inherited from Object.)
Public method TryGetValue Searches for a value in the collection.
Public method WriteXml Writes an XML document.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IDictionary.Add Adds a key/value pair to the collection.
Explicit interface implemetationPrivate method IDictionary.Contains Checks whether the collection contains an item with the specified key.
Explicit interface implemetationPrivate method ICollection.CopyTo Copies the collection items to the specified array starting at the specified index.
Explicit interface implemetationPrivate method IDictionary.GetEnumerator Returns an enumerator to the dictionary.
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Returns an enumerator to the collection.
Explicit interface implemetationPrivate property IDictionary.IsFixedSize Gets a value that indicates whether the collection is of a fixed size.
Explicit interface implemetationPrivate property IDictionary.IsReadOnly Gets a value that indicates whether the collection is read-only.
Explicit interface implemetationPrivate property ICollection.IsSynchronized Gets whether the collection is synchronized.
Explicit interface implemetationPrivate property IDictionary.Item Gets or sets a field with the specified key.
Explicit interface implemetationPrivate property IDictionary.Keys Gets the keys in the collection.
Explicit interface implemetationPrivate method IDictionary.Remove Removes a specified field from the collection.
Explicit interface implemetationPrivate property ICollection.SyncRoot Synchronizes the top level (root) of the collection.
Explicit interface implemetationPrivate property IDictionary.Values Gets the collection of values.

Top

See Also

Reference

DynamicType Class

Microsoft.BusinessData.Runtime Namespace