File3dmViewTable

References
Provides access to views in the 3dm file.

Properties

Count

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

ICollection<ViewInfo>.IsReadOnly

#

Indexers

Explicit

IList<ViewInfo>.this[]

#
ViewInfo IList<ViewInfo>.this[int index]
index (int)

this[]

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

Methods

Add

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

Clear

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

Contains

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

CopyTo

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

Delete

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

Delete

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

FindName

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

GetEnumerator

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

IndexOf

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

ICollection<ViewInfo>.Remove

#
item (ViewInfo)
Explicit

IList<ViewInfo>.Insert

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

IList<ViewInfo>.RemoveAt

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

IEnumerable.GetEnumerator

#Since v6.0
IEnumerator IEnumerable.GetEnumerator()