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.
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.String>> |
iteratorJava()
Returns a java iterator for the entire 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 IControlPropertiesCollectionname - 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 IControlPropertiesCollectionname - 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 IControlPropertiesCollectionname - Name of property.public final void set_Item(java.lang.String name,
java.lang.String value)
Returns or sets property.
set_Item in interface IControlPropertiesCollectionname - Name of property.public com.aspose.ms.System.Collections.Generic.IGenericCollection<java.lang.String> getNamesOfProperties()
Returns the collection of properties names.
Read-only IGenericCollection.
getNamesOfProperties in interface IControlPropertiesCollectionpublic final void clear()
Removes all properties.
clear in interface IControlPropertiesCollectionpublic final int getCount()
Returns a number of properties in the collection.
Read-only int.
getCount in interface IControlPropertiesCollectionpublic 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>>IGenericEnumerator that can be used to iterate through the collection.public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.String>> iteratorJava()
Returns a java iterator for the entire collection.
Iterator for the entire collection.Copyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.