ICommonComponentTable(T) Interface

ICommonComponentTableT 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
Public Interface ICommonComponentTable(Of T As ModelComponent)
	Inherits IReadOnlyCollection(Of T), IEnumerable(Of T), IEnumerable, 
	ICollection(Of T)

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "T:Rhino.FileIO.ICommonComponentTable`1"]

The ICommonComponentTableT type exposes the following members.

Properties
  NameDescription
Public propertyComponentType
Returns the model component type the table handles.
Public propertyCount
Gets the number of elements in the collection.
(Inherited from IReadOnlyCollectionT.)
Public propertyIsReadOnly
Gets a value indicating whether the ICollectionT is read-only.
(Inherited from ICollectionT.)
Top
Methods
  NameDescription
Public methodAdd
Adds an item to the ICollectionT.
(Inherited from ICollectionT.)
Public methodClear
Removes all items from the ICollectionT.
(Inherited from ICollectionT.)
Public methodContains
Determines whether the ICollectionT contains a specific value.
(Inherited from ICollectionT.)
Public methodCopyTo
Copies the elements of the ICollectionT to an Array, starting at a particular Array index.
(Inherited from ICollectionT.)
Public methodFindId
Retrieves an object based on ID. You should prefer ID search over Index search.
Public methodFindNameHash
Retrieves an object based on Name.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerableT.)
Public methodRemove
Removes the first occurrence of a specific object from the ICollectionT.
(Inherited from ICollectionT.)
Top
See Also