C# Class AnimatGuiCtrls.Controls.PropertyBag.PropertySpecCollection

Inheritance: IList
Datei anzeigen Open project: NeuroRoboticTech/AnimatLabPublicSource

Protected Properties

Property Type Description
m_Parent PropertyBag

Private Properties

Property Type Description
IList bool
IList int

Public Methods

Method Description
Add ( PropertySpec value ) : int

Adds a PropertySpec to the end of the PropertySpecCollection.

AddRange ( PropertySpec array ) : void

Adds the elements of an array of PropertySpec objects to the end of the PropertySpecCollection.

Clear ( ) : void

Removes all elements from the PropertySpecCollection.

Contains ( PropertySpec item ) : bool

Determines whether a PropertySpec is in the PropertySpecCollection.

Contains ( string name ) : bool

Determines whether a PropertySpec with the specified name is in the PropertySpecCollection.

CopyTo ( PropertySpec array ) : void

Copies the entire PropertySpecCollection to a compatible one-dimensional Array, starting at the beginning of the target array.

CopyTo ( PropertySpec array, int index ) : void

Copies the PropertySpecCollection or a portion of it to a one-dimensional array.

GetEnumerator ( ) : IEnumerator

Returns an enumerator that can iterate through the PropertySpecCollection.

IndexOf ( PropertySpec value ) : int

Searches for the specified PropertySpec and returns the zero-based index of the first occurrence within the entire PropertySpecCollection.

IndexOf ( string name ) : int

Searches for the PropertySpec with the specified name and returns the zero-based index of the first occurrence within the entire PropertySpecCollection.

Insert ( int index, PropertySpec value ) : void

Inserts a PropertySpec object into the PropertySpecCollection at the specified index.

PropertySpecCollection ( PropertyBag oParent ) : System

Initializes a new instance of the PropertySpecCollection class.

Remove ( PropertySpec obj ) : void

Removes the first occurrence of a specific object from the PropertySpecCollection.

Remove ( string name ) : void

Removes the property with the specified name from the PropertySpecCollection.

RemoveAt ( int index ) : void

Removes the object at the specified index of the PropertySpecCollection.

ToArray ( ) : AnimatGuiCtrls.Controls.PropertySpec[]

Copies the elements of the PropertySpecCollection to a new PropertySpec array.

this ( int index ) : PropertySpec

Gets or sets the element at the specified index. In C#, this property is the indexer for the PropertySpecCollection class.

Protected Methods

Method Description
AddSecurityRange ( PropertySpec array ) : void
ICollection ( Array array, int index ) : void

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

IList ( int index, object value ) : void

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

IList ( object value ) : void

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

SecurityAllow ( PropertySpec value ) : bool
this ( int index ) : objectIList.System

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Private Methods

Method Description
IList ( object obj ) : bool

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

IList ( object value ) : int

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Method Details

Add() public method

Adds a PropertySpec to the end of the PropertySpecCollection.
public Add ( PropertySpec value ) : int
value PropertySpec The PropertySpec to be added to the end of the PropertySpecCollection.
return int

AddRange() public method

Adds the elements of an array of PropertySpec objects to the end of the PropertySpecCollection.
public AddRange ( PropertySpec array ) : void
array PropertySpec The PropertySpec array whose elements should be added to the end of the /// PropertySpecCollection.
return void

AddSecurityRange() protected method

protected AddSecurityRange ( PropertySpec array ) : void
array PropertySpec
return void

Clear() public method

Removes all elements from the PropertySpecCollection.
public Clear ( ) : void
return void

Contains() public method

Determines whether a PropertySpec is in the PropertySpecCollection.
public Contains ( PropertySpec item ) : bool
item PropertySpec The PropertySpec to locate in the PropertySpecCollection. The element to locate /// can be a null reference (Nothing in Visual Basic).
return bool

Contains() public method

Determines whether a PropertySpec with the specified name is in the PropertySpecCollection.
public Contains ( string name ) : bool
name string The name of the PropertySpec to locate in the PropertySpecCollection.
return bool

CopyTo() public method

Copies the entire PropertySpecCollection to a compatible one-dimensional Array, starting at the beginning of the target array.
public CopyTo ( PropertySpec array ) : void
array PropertySpec The one-dimensional Array that is the destination of the elements copied /// from PropertySpecCollection. The Array must have zero-based indexing.
return void

CopyTo() public method

Copies the PropertySpecCollection or a portion of it to a one-dimensional array.
public CopyTo ( PropertySpec array, int index ) : void
array PropertySpec The one-dimensional Array that is the destination of the elements copied /// from the collection.
index int The zero-based index in array at which copying begins.
return void

GetEnumerator() public method

Returns an enumerator that can iterate through the PropertySpecCollection.
public GetEnumerator ( ) : IEnumerator
return IEnumerator

ICollection() protected method

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
protected ICollection ( Array array, int index ) : void
array System.Array
index int
return void

IList() protected method

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
protected IList ( int index, object value ) : void
index int
value object
return void

IList() protected method

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
protected IList ( object value ) : void
value object
return void

IndexOf() public method

Searches for the specified PropertySpec and returns the zero-based index of the first occurrence within the entire PropertySpecCollection.
public IndexOf ( PropertySpec value ) : int
value PropertySpec The PropertySpec to locate in the PropertySpecCollection.
return int

IndexOf() public method

Searches for the PropertySpec with the specified name and returns the zero-based index of the first occurrence within the entire PropertySpecCollection.
public IndexOf ( string name ) : int
name string The name of the PropertySpec to locate in the PropertySpecCollection.
return int

Insert() public method

Inserts a PropertySpec object into the PropertySpecCollection at the specified index.
public Insert ( int index, PropertySpec value ) : void
index int The zero-based index at which value should be inserted.
value PropertySpec The PropertySpec to insert.
return void

PropertySpecCollection() public method

Initializes a new instance of the PropertySpecCollection class.
public PropertySpecCollection ( PropertyBag oParent ) : System
oParent PropertyBag
return System

Remove() public method

Removes the first occurrence of a specific object from the PropertySpecCollection.
public Remove ( PropertySpec obj ) : void
obj PropertySpec The PropertySpec to remove from the PropertySpecCollection.
return void

Remove() public method

Removes the property with the specified name from the PropertySpecCollection.
public Remove ( string name ) : void
name string The name of the PropertySpec to remove from the PropertySpecCollection.
return void

RemoveAt() public method

Removes the object at the specified index of the PropertySpecCollection.
public RemoveAt ( int index ) : void
index int The zero-based index of the element to remove.
return void

SecurityAllow() protected method

protected SecurityAllow ( PropertySpec value ) : bool
value PropertySpec
return bool

ToArray() public method

Copies the elements of the PropertySpecCollection to a new PropertySpec array.
public ToArray ( ) : AnimatGuiCtrls.Controls.PropertySpec[]
return AnimatGuiCtrls.Controls.PropertySpec[]

this() public method

Gets or sets the element at the specified index. In C#, this property is the indexer for the PropertySpecCollection class.
public this ( int index ) : PropertySpec
index int The zero-based index of the element to get or set.
return PropertySpec

this() protected method

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
protected this ( int index ) : objectIList.System
index int
return objectIList.System

Property Details

m_Parent protected_oe property

protected PropertyBag,AnimatGuiCtrls.Controls m_Parent
return PropertyBag