GH_Chunk.ChunkKeyedCollectionReferences public class GH_Chunk.ChunkKeyedCollection : IEnumerable<GH_Chunk> Show allRepresents a collection of chunks with associated IDs AllConstructorsPropertiesMethods ObsoleteInherited ConstructorsChunkKeyedCollection#Create a new collection.public ChunkKeyedCollection()PropertiesCount#Returns the amount in the collection.public int Count { get; }MethodsAdd#Adds a new chunk.public void Add( GH_ChunkchunkThe chunk to be added.)Clear#Removes all chunks from the collection.public void Clear()GetEnumerator#Gets an enumerator that iterates over all chunks in the collection.public IEnumerator<GH_Chunk> GetEnumerator()Returns: The enumerator.Remove#Removes a chunk.public bool Remove( GH_ChunkchunkThe chunk to be removed.)Returns: True if the operation was successful; false otherwise.Remove#Removes an ID.public bool Remove( IDidThe ID to be removed.)Returns: True if the operation was successful; false otherwise.ExplicitIEnumerable.GetEnumerator#IEnumerator IEnumerable.GetEnumerator()TryGetValue#Try and find the chunk that belongs to a given ID.public bool TryGetValue( IDid,ID to look for. out GH_ChunkchunkChunk result.)Returns: True is a chunk was found, false if otherwise.