Class DocumentVariableCollection
Represents document variables collection.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Collections
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public class DocumentVariableCollection : IEnumerable<KeyValuePair<string, string>>, IEnumerable
Properties
Count
Gets the count of document variables.
Declaration
public int Count { get; }
Property Value
System.Int32
The count. |
Item[String]
Gets or sets the System.String with the specified name.
Declaration
public string this[string name] { get; set; }
Parameters
System.String
name
|
Property Value
System.String
The document variable name |
Methods
Add(String, String)
Adds the specified document variable.
Declaration
public void Add(string name, string value)
Parameters
System.String
name
The name. |
System.String
value
The value. |
Contains(String)
Determines whether the collection contains a document variable with a specified name.
Declaration
public bool Contains(string name)
Parameters
System.String
name
The name. |
Returns
System.Boolean
|
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<KeyValuePair<string, string>> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<System.String, System.String>>
A System.Collections.Generic.IEnumerator<T> that can be used to iterate through the collection. |
Implements
Remove(String)
Removes the document variable by a specified name.
Declaration
public bool Remove(string name)
Parameters
System.String
name
The name. |
Returns
System.Boolean
|
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.Collections.IEnumerator
An System.Collections.IEnumerator object that can be used to iterate through the collection. |