public class ControlPropertiesCollection extends java.lang.Object implements IControlPropertiesCollection
A collection of AcitveX properties.
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String name,
java.lang.String value)
Adds a property to the collection.
|
void |
clear()
Removes all properties.
|
java.lang.String |
get_Item(java.lang.String name)
Returns or sets property.
|
int |
getCount()
Returns a number of properties in the collection.
|
com.aspose.ms.System.Collections.Generic.IGenericCollection<java.lang.String> |
getNamesOfProperties()
Returns the collection of properties names.
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.String>> |
iterator()
Returns an enumerator that iterates through the collection.
|
void |
remove(java.lang.String name)
Removes a property with the specified name.
|
void |
set_Item(java.lang.String name,
java.lang.String value)
Returns or sets property.
|
public final void add(java.lang.String name, java.lang.String value)
Adds a property to the collection.
add
in interface IControlPropertiesCollection
name
- The name of the property.value
- The alue of the property.public final void remove(java.lang.String name)
Removes a property with the specified name.
remove
in interface IControlPropertiesCollection
name
- The name of property to remove.public final java.lang.String get_Item(java.lang.String name)
Returns or sets property.
get_Item
in interface IControlPropertiesCollection
name
- Name of property.public final void set_Item(java.lang.String name, java.lang.String value)
Returns or sets property.
set_Item
in interface IControlPropertiesCollection
name
- Name of property.public com.aspose.ms.System.Collections.Generic.IGenericCollection<java.lang.String> getNamesOfProperties()
Returns the collection of properties names.
Read-only ICollection
.
getNamesOfProperties
in interface IControlPropertiesCollection
public final void clear()
Removes all properties.
clear
in interface IControlPropertiesCollection
public final int getCount()
Returns a number of properties in the collection.
Read-only int
.
getCount
in interface IControlPropertiesCollection
public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.String>> iterator()
Returns an enumerator that iterates through the collection.
iterator
in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.String>>
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.String>>
iterator
in interface java.lang.Iterable<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.String>>
System.Collections.Generic.IEnumerator`1
that can be used to iterate through the collection.