ERPConnect.BW.PropertyCollection
Namespace: ERPConnect.BW
Assembly: ERPConnectStandard20.dll
A collection of property objects
Inheritance
object ← CollectionBase ← PropertyCollection
Implements
IList, ICollection, IEnumerable
Inherited Members
CollectionBase.Clear(), CollectionBase.RemoveAt(int), CollectionBase.GetEnumerator(), CollectionBase.OnSet(int, object, object), CollectionBase.OnInsert(int, object), CollectionBase.OnClear(), CollectionBase.OnRemove(int, object), CollectionBase.OnValidate(object), CollectionBase.OnSetComplete(int, object, object), CollectionBase.OnInsertComplete(int, object), CollectionBase.OnClearComplete(), CollectionBase.OnRemoveComplete(int, object), CollectionBase.InnerList, CollectionBase.List, CollectionBase.Capacity, CollectionBase.Count, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
PropertyCollection()
Create a new PropertyCollection object
Properties
this[int]
Returns the property object at the given position
Property Value
this[string]
Returns the property object with the given name
Property Value
Methods
Add(Property)
Adds a Property object to the collection
Parameters
NewParameter
Property
The property object to be added
Add(string, string, string)
Creates a new Dimension property and adds it to the collection
Parameters
Name
string
Name of the property
Caption
string
Caption of the property
DataType
string
Data type of the property
Returns
The newly created Property object
Contains(string)
Checks, if there's a property with the name contained in the collection
Parameters
Name
string
Name of the property
Returns
true / false
TryGetValue(string, out Property)
Parameters
name
string
value
Property