Class MemberPropertyCollection
A Collection of properties.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Olap.Reports
Assembly: Syncfusion.Olap.Base.dll
Syntax
public class MemberPropertyCollection : CollectionBase, IList, ICollection, IEnumerable<MemberProperty>, IEnumerable, ICloneable<MemberPropertyCollection>
Constructors
MemberPropertyCollection()
Declaration
public MemberPropertyCollection()
Properties
Item[Int32]
Gets or sets the MemberProperty at the specified index.
Declaration
public MemberProperty this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index of the member property object. |
Property Value
Type |
---|
MemberProperty |
Methods
Add(MemberProperty)
Adds the specified member property.
Declaration
public int Add(MemberProperty memberProperty)
Parameters
Type | Name | Description |
---|---|---|
MemberProperty | memberProperty | The member property which is to be added. |
Returns
Type | Description |
---|---|
System.Int32 | The index of the member property object in the current collection. |
Add(String, String)
Adds the member property with the specified name.
Declaration
public int Add(string name, string uniqueName)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the member property. |
System.String | uniqueName | The unique name of the member property. |
Returns
Type | Description |
---|---|
System.Int32 | The index of the member property at which it is added. |
Clone()
Clones this instance.
Declaration
public MemberPropertyCollection Clone()
Returns
Type | Description |
---|---|
MemberPropertyCollection | A copy of this instance. |
Contains(MemberProperty)
Determines whether the collection contains specified member property.
Declaration
public bool Contains(MemberProperty property)
Parameters
Type | Name | Description |
---|---|---|
MemberProperty | property | The member property object which is to be searched. |
Returns
Type | Description |
---|---|
System.Boolean |
|
CopyTo(MemberProperty[], Int32)
Copies to.
Declaration
public void CopyTo(MemberProperty[] propertyArray, int index)
Parameters
Type | Name | Description |
---|---|---|
MemberProperty[] | propertyArray | The property array. |
System.Int32 | index | The index. |
FindByName(String)
Finds the member property by its name.
Declaration
public MemberProperty FindByName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the property to be found. |
Returns
Type | Description |
---|---|
MemberProperty | The member property from the collection |
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<MemberProperty> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<MemberProperty> | A System.Collections.Generic.IEnumerator<T> that can be used to iterate through the collection. |
IndexOf(MemberProperty)
Gets the index of the specified member property.
Declaration
public int IndexOf(MemberProperty property)
Parameters
Type | Name | Description |
---|---|---|
MemberProperty | property | The member property. |
Returns
Type | Description |
---|---|
System.Int32 | The index of the member property in the collection. |
Insert(Int32, MemberProperty)
Inserts the member property at specified index.
Declaration
public void Insert(int index, MemberProperty property)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index at which the member property has to be inserted. |
MemberProperty | property | The member property which is to be inserted. |
Remove(MemberProperty)
Removes the specified member property.
Declaration
public void Remove(MemberProperty property)
Parameters
Type | Name | Description |
---|---|---|
MemberProperty | property | The member property which is to be removed. |
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 |
|