Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

DocumentVariableCollection Members

A collection of document variables.

Properties

Name Description
Count Gets the number of variables in the document.
Item[String] Calls the DocumentVariableCollection.GetVariableValue method with an empty argument collection.
Names Gets the collection of the document variable names.

Methods

Name Description
Add(String, Object) Adds a new document variable to the collection.
Clear() Removes all document variables from the current document.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
GetVariableValue(String, ArgumentCollection) Calculates the value of the specified document variable.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Remove(String) Removes the variable with the specified name from the document.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also