ControlPropertiesCollection
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.slides.IControlPropertiesCollection
public class ControlPropertiesCollection implements IControlPropertiesCollection
A collection of AcitveX properties.
Methods
Method | Description |
---|---|
add(String name, String value) | Adds a property to the collection. |
remove(String name) | Removes a property with the specified name. |
get_Item(String name) | Returns or sets property. |
set_Item(String name, String value) | Returns or sets property. |
getNamesOfProperties() | Returns the collection of properties names. |
clear() | Removes all properties. |
getCount() | Returns a number of properties in the collection. |
iterator() | Returns an enumerator that iterates through the collection. |
iteratorJava() | Returns a java iterator for the entire collection. |
add(String name, String value)
public final void add(String name, String value)
Adds a property to the collection.
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String | The name of the property. |
value | java.lang.String | The alue of the property. |
remove(String name)
public final void remove(String name)
Removes a property with the specified name.
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String | The name of property to remove. |
get_Item(String name)
public final String get_Item(String name)
Returns or sets property.
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String | Name of property. |
Returns: java.lang.String - Property.
set_Item(String name, String value)
public final void set_Item(String name, String value)
Returns or sets property.
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String | Name of property. |
value | java.lang.String |
getNamesOfProperties()
public System.Collections.Generic.IGenericCollection<String> getNamesOfProperties()
Returns the collection of properties names. Read-only IGenericCollection.
Returns: IGenericCollection
clear()
public final void clear()
Removes all properties.
getCount()
public final int getCount()
Returns a number of properties in the collection. Read-only int.
Returns: int
iterator()
public final System.Collections.Generic.IGenericEnumerator<System.Collections.Generic.KeyValuePair<String,String>> iterator()
Returns an enumerator that iterates through the collection.
Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.String» - A IGenericEnumerator that can be used to iterate through the collection.
iteratorJava()
public final System.Collections.Generic.IGenericEnumerator<System.Collections.Generic.KeyValuePair<String,String>> iteratorJava()
Returns a java iterator for the entire collection.
Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.String» - An java.util.Iterator for the entire collection.