Export (0) Print
Expand All

DynamicValue Class

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

System::Object
  Microsoft.Activities::DynamicValue

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

[DefaultMemberAttribute(L"Item")]
[DataContractAttribute]
public ref class DynamicValue sealed : ICollection<DynamicValue^>, 
	IEnumerable<DynamicValue^>, IDictionary<String^, DynamicValue^>, 
	ICollection<KeyValuePair<String^, DynamicValue^>>, IEnumerable<KeyValuePair<String^, DynamicValue^>>, 
	IEnumerable

The DynamicValue type exposes the following members.

  NameDescription
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)
Top

  NameDescription
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
Top

  NameDescription
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(array<KeyValuePair<String, DynamicValue>>, Int32)
Public methodCopyTo(array<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
Top

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

ADD
Show:
© 2014 Microsoft