UserDataList

References
Represents a collection of user data.

Properties

Count

#Since v5.0
Number of UserData objects in this list.
public int Count { get; }

Indexers

this[]

#
Retrieve through indexer. Read-only access.
public UserData this[
index
] { get; }

Methods

Add

#Since v5.0
If the user-data is already in a different UserDataList, it will be removed from that list and added to this list.
public bool Add(
userdata
Data element.
)
Whether this operation succeeded.

Contains

#Since v6.1
Checks for the existence of a specific type of user-data in this list Both .NET and native user-data is checked
public bool Contains(
userdataId
)

Find

#Since v5.0
Finds a specific data type in this regulated collection.
public UserData Find(
userdataType
A data type.
)
The found data, or null of nothing was found.

GetEnumerator

#Since v6.0
Get enumerator for UserDataList
public IEnumerator<UserData> GetEnumerator()

Purge

#Since v6.0
Removes all user data from this geometry.
public void Purge()
Remarks: User Remove(UserData) to delete a single, known, item.

Remove

#Since v5.6
Remove the user-data from this list
public bool Remove(
userdata
)
true if the user data was successfully removed
Explicit

IEnumerable.GetEnumerator

#Since v6.0
IEnumerator IEnumerable.GetEnumerator()