File3dmViewTable

References
Provides access to views in the 3dm file.

Properties

Count

#Since v6.0
Gets the amount of items in the table.
public int Count { get; }
Explicit

ICollection<ViewInfo>.IsReadOnly

#

Indexers

Explicit

IList<ViewInfo>.this[]

#
ViewInfo IList<ViewInfo>.this[
index
]

this[]

#
Gets the view info at an index. The set method always throws NotSupportedException.
public ViewInfo this[
index
The index of the item to search for.
] { get; }
A non-null instance, or an exception is thrown.
ArgumentOutOfRangeExceptionIf index is invalid.

Methods

Add

#Since v6.0
Adds a
public void Add()

Clear

#Since v6.0
Removes all items from the table.
public void Clear()

Contains

#Since v6.0
Returns an indication of the presence of a view in the table.
public bool Contains(
item
The view to check.
)
true if the item is in the table; false otherwise.

CopyTo

#Since v6.0
Copies the content of the table to an array.
public void CopyTo(
array,
arrayIndex
)

Delete

#Since v6.0
Removes an item.
public bool Delete(
index
The index of the item to remove.
)
True if the item was removed.

Delete

#Since v6.0
Deletes an item.
public bool Delete()

FindName

#Since v6.0
Finds a ViewInfo given its name.
public ViewInfo FindName(
name
The name of the ViewInfo to be searched.
)
An ViewInfo, or null on error.

GetEnumerator

#Since v6.0
Returns an enumerator that yields all views in the table.
public IEnumerator<ViewInfo> GetEnumerator()
An enumerator.

IndexOf

#Since v6.0
Returns the index of the current ViewInfo.
public int IndexOf(
item
The item to be searched.
)
The index of the ViewInfo.
Explicit

ICollection<ViewInfo>.Remove

#
Explicit

IList<ViewInfo>.Insert

#
void IList<ViewInfo>.Insert(
index,
item
)
Explicit

IList<ViewInfo>.RemoveAt

#
void IList<ViewInfo>.RemoveAt(
index
)
Explicit

IEnumerable.GetEnumerator

#Since v6.0
IEnumerator IEnumerable.GetEnumerator()