Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class EntityObjectPropertyCollection

Inheritance
System.Object
EntityObjectPropertyCollection
Namespace: Mediachase.BusinessFoundation.Data.Business
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 14.26.0
Syntax
public class EntityObjectPropertyCollection : Collection<EntityObjectProperty>

Constructors

EntityObjectPropertyCollection()

Initializes a new instance of the EntityObjectPropertyCollection class.

Declaration
public EntityObjectPropertyCollection()

Properties

Item[String]

Gets or sets the System.Object with the specified name.

Declaration
public EntityObjectProperty this[string name] { get; }
Parameters
Type Name Description
System.String name
Property Value
Type Description
EntityObjectProperty

Methods

Add(String, Object)

Adds the specified name.

Declaration
public void Add(string name, object value)
Parameters
Type Name Description
System.String name

The name.

System.Object value

The value.

AddRange(EntityObjectProperty[])

Adds the range.

Declaration
public void AddRange(params EntityObjectProperty[] properties)
Parameters
Type Name Description
EntityObjectProperty[] properties

The properties.

Contains(String)

Determines whether [contains] [the specified name].

Declaration
public bool Contains(string name)
Parameters
Type Name Description
System.String name

The name.

Returns
Type Description
System.Boolean

true if [contains] [the specified name]; otherwise, false.

GetValue(String)

Gets the value.

Declaration
public virtual object GetValue(string name)
Parameters
Type Name Description
System.String name

The name.

Returns
Type Description
System.Object

GetValue<T>(String)

Gets the value.

Declaration
public T GetValue<T>(string name)
Parameters
Type Name Description
System.String name

The name.

Returns
Type Description
T
Type Parameters
Name Description
T

GetValue<T>(String, T)

Gets the value.

Declaration
public T GetValue<T>(string name, T defaultValue)
Parameters
Type Name Description
System.String name

The name.

T defaultValue

The default value.

Returns
Type Description
T
Type Parameters
Name Description
T

Remove(String)

Removes the specified name.

Declaration
public void Remove(string name)
Parameters
Type Name Description
System.String name

The name.