Skip to content

ICommonComponentTable.T.

Public Interface

Provides methods to use all File3dm and RhinoDoc tables under the same contract. Do not derive from this interface. This is to ensure all tables can be used with the same method list.

Namespace: Rhino.FileIO

Assembly: RhinoCommon (in RhinoCommon.dll)

Syntax

public interface ICommonComponentTable<T> : IReadOnlyCollection<T>,
IEnumerable<T>, IEnumerable, ICollection<T>
where T : ModelComponent

Type Parameters

T

The ICommonComponentTable.T. type exposes the following members.

Properties

Name

Description


Public Property

Returns the model component type the table handles.


Public Property

Count

Gets the number of elements in the collection.

(Inherited from IReadOnlyCollection.T..)


Public Property

IsReadOnly

Gets a value indicating whether the ICollection.T. is read-only.

(Inherited from ICollection.T..)


Methods

Name

Description


Public Method

Add

Adds an item to the ICollection.T..

(Inherited from ICollection.T..)


Public Method

Clear

Removes all items from the ICollection.T..

(Inherited from ICollection.T..)


Public Method

Contains

Determines whether the ICollection.T. contains a specific value.

(Inherited from ICollection.T..)


Public Method

CopyTo

Copies the elements of the ICollection.T. to an Array, starting at a particular Array index.

(Inherited from ICollection.T..)


Public Method

Retrieves an object based on ID. You should prefer ID search over Index search.


Public Method

Retrieves an object based on Name.


Public Method

GetEnumerator

Returns an enumerator that iterates through the collection.

(Inherited from IEnumerable.T..)


Public Method

Remove

Removes the first occurrence of a specific object from the ICollection.T..

(Inherited from ICollection.T..)