Class PropertyCollection
A collection of Property.
Inheritance
Namespace: Syncfusion.Olap.UWP.Data
Assembly: Syncfusion.Olap.UWP.dll
Syntax
public class PropertyCollection : Collection<Property>
Constructors
PropertyCollection()
Initializes a new instance of the PropertyCollection class.
Declaration
public PropertyCollection()
Properties
Item[Int32]
Gets or sets the Property at the specified index.
Declaration
public Property this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index |
Property Value
Type |
---|
Property |
Methods
Add(Property)
Adds the specified property.
Declaration
public void Add(Property property)
Parameters
Type | Name | Description |
---|---|---|
Property | property | The property. |
Add(String, Object)
Adds the specified name.
Declaration
public void Add(string name, object value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the property Collection |
System.Object | value | index of thed next item |
Contains(Property)
Determines whether [contains] [the specified property].
Declaration
public bool Contains(Property property)
Parameters
Type | Name | Description |
---|---|---|
Property | property | The property. |
Returns
Type | Description |
---|---|
System.Boolean |
|
CopyTo(Property[], Int32)
Copies to.
Declaration
public void CopyTo(Property[] propertyArray, int index)
Parameters
Type | Name | Description |
---|---|---|
Property[] | propertyArray | The property array. |
System.Int32 | index | The index. |
FindByName(String)
Finds the Property by its name
Declaration
public Property FindByName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the property to be found. |
Returns
Type | Description |
---|---|
Property | Property from the collection |
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<Property> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<Property> | A System.Collections.Generic.IEnumerator<> that can be used to iterate through the collection. |
IndexOf(Property)
Indexes the of.
Declaration
public int IndexOf(Property property)
Parameters
Type | Name | Description |
---|---|---|
Property | property | The property. |
Returns
Type | Description |
---|---|
System.Int32 | the index of the propety class in the collection |
Insert(Int32, Property)
Inserts the property to the specified index
Declaration
public void Insert(int index, Property property)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
Property | property | The property. |
Remove(Property)
Removes the specified property.
Declaration
public void Remove(Property property)
Parameters
Type | Name | Description |
---|---|---|
Property | property | The property. |
RemoveAt(Int32)
Removes the element at the specified index of the System.Collections.CollectionBase instance. This method is not overridable.
Declaration
public void RemoveAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index of the element to remove. |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException |
|