Export (0) Print
Expand All

DynamicValue Class

Represents a dynamic data structure for supporting nested sets of key-value pairs in workflow.


Namespace:  Microsoft.Activities
Assembly:  Microsoft.Activities (in Microsoft.Activities.dll)

public sealed class DynamicValue : ICollection<DynamicValue>, 
	IEnumerable<DynamicValue>, IDictionary<string, DynamicValue>, ICollection<KeyValuePair<string, DynamicValue>>, 
	IEnumerable<KeyValuePair<string, DynamicValue>>, IEnumerable

The DynamicValue type exposes the following members.

Public methodDynamicValue()Initializes a new instance of the DynamicValue class with default value.
Public methodDynamicValue(Boolean)Initializes a new instance of the DynamicValue class with a Boolean value.
Public methodDynamicValue(DateTime)Initializes a new instance of the DynamicValue class with a DateTime value.
Public methodDynamicValue(Double)Initializes a new instance of the DynamicValue class with a Double value.
Public methodDynamicValue(Guid)Initializes a new instance of the DynamicValue class with a GUID value.
Public methodDynamicValue(Int32)Initializes a new instance of the DynamicValue class with an Int32 value.
Public methodDynamicValue(Int64)
Public methodDynamicValue(String)Initializes a new instance of the DynamicValue class with a String value.
Public methodDynamicValue(TimeSpan)

Public propertyCountGets the number of child items in the DynamicValue.
Public propertyIsReadOnlyGets a value that indicates whether the DynamicValue is read only.
Public propertyItem[Int32]Gets or sets an item by ID.
Public propertyItem[String]Gets or sets an item by name.
Public propertyKeys
Public propertyValues

Public methodAdd(KeyValuePair<String, DynamicValue>)
Public methodAdd(DynamicValue)Adds a DynamicValue as a child item.
Public methodAdd(String, DynamicValue)
Public methodClearClears the DynamicValue.
Public methodContains(KeyValuePair<String, DynamicValue>)
Public methodContains(DynamicValue)Determines whether the DynamicValue contains a target item.
Public methodContainsKey
Public methodCopyTo(KeyValuePair<String, DynamicValue>[], Int32)
Public methodCopyTo(DynamicValue[], Int32)Copies the DynamicValue into an array.
Public methodEquals (Overrides Object.Equals(Object).)
Public methodGetEnumeratorGets an enumerator that iterates through the DynamicValue.
Public methodGetHashCode (Overrides Object.GetHashCode().)
Public methodGetType (Inherited from Object.)
Public methodStatic memberParseParses the string into a DynamicValue.
Public methodRemove(KeyValuePair<String, DynamicValue>)
Public methodRemove(String)
Public methodRemove(DynamicValue)Removes an item from a DynamicValue.
Public methodToStringReturns a string representation of the DynamicValue. (Overrides Object.ToString().)
Public methodTryGetValue

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

© 2015 Microsoft