com.aspose.slides
Class ControlPropertiesCollection

java.lang.Object
  extended by com.aspose.slides.ControlPropertiesCollection
All Implemented Interfaces:
com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.String>>, com.aspose.ms.System.Collections.IEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.String>>, IControlPropertiesCollection, java.lang.Iterable<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.String>>

public class ControlPropertiesCollection
extends java.lang.Object
implements IControlPropertiesCollection

A collection of AcitveX properties.


Method Summary
 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

add

public void add(java.lang.String name,
                java.lang.String value)

Adds a property to the collection.

Specified by:
add in interface IControlPropertiesCollection
Parameters:
name - The name of the property.
value - The alue of the property.

remove

public void remove(java.lang.String name)

Removes a property with the specified name.

Specified by:
remove in interface IControlPropertiesCollection
Parameters:
name - The name of property to remove.

get_Item

public java.lang.String get_Item(java.lang.String name)

Returns or sets property.

Specified by:
get_Item in interface IControlPropertiesCollection
Parameters:
name - Name of property.
Returns:

set_Item

public void set_Item(java.lang.String name,
                     java.lang.String value)

Returns or sets property.

Specified by:
set_Item in interface IControlPropertiesCollection
Parameters:
name - Name of property.

getNamesOfProperties

public com.aspose.ms.System.Collections.Generic.IGenericCollection<java.lang.String> getNamesOfProperties()

Returns the collection of properties names. Read-only ICollection.

Specified by:
getNamesOfProperties in interface IControlPropertiesCollection

clear

public void clear()

Removes all properties.

Specified by:
clear in interface IControlPropertiesCollection

getCount

public int getCount()

Returns a number of properties in the collection. Read-only int.

Specified by:
getCount in interface IControlPropertiesCollection

iterator

public 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.

Specified by:
iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.String>>
Specified by:
iterator in interface com.aspose.ms.System.Collections.IEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.String>>
Specified by:
iterator in interface java.lang.Iterable<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.String>>
Returns:
A T:System.Collections.Generic.IEnumerator`1 that can be used to iterate through the collection.


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.