ITree<TKey,TValue> Interface
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the interface of the STL/CLR hash_map
, hash_multimap
, hash_set
, and hash_multiset
objects.
generic <typename TKey, typename TValue>
public interface class ITree : ICloneable, Microsoft::VisualC::StlClr::Generic::IBidirectionalContainer<TValue>, System::Collections::ICollection
public interface ITree<TKey,TValue> : ICloneable, Microsoft.VisualC.StlClr.Generic.IBidirectionalContainer<TValue>, System.Collections.ICollection
type ITree<'Key, 'Value> = interface
interface IBidirectionalContainer<'Value>
interface ICloneable
interface ICollection
interface IEnumerable
Public Interface ITree(Of TKey, TValue)
Implements IBidirectionalContainer(Of TValue), ICloneable, ICollection
- TKey
The type of the key component of an element in the controlled sequence.
- TValue
The type of the value component of an element in the controlled sequence.
- Implements
Some methods, especially operators, declare a type for a parameter but do not specify a parameter name. Such a parameter is known as an unnamed parameter. In the documentation for these methods, the A_0 placeholder represents the unnamed parameter.
For more information, see hash_map (STL/CLR), hash_multimap (STL/CLR), hash_set (STL/CLR), and hash_multiset (STL/CLR).
Count |
Gets the number of elements contained in the ICollection. (Inherited from ICollection) |
Is |
Gets a value indicating whether access to the ICollection is synchronized (thread safe). (Inherited from ICollection) |
Sync |
Gets an object that can be used to synchronize access to the ICollection. (Inherited from ICollection) |
begin(Container |
Designates the beginning of the controlled sequence. |
clear() |
Removes all elements from the container. |
Clone() |
Creates a new object that is a copy of the current instance. (Inherited from ICloneable) |
Copy |
Copies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from ICollection) |
count(TKey) |
Finds the number of elements that match a specified key. |
empty() |
Tests whether no elements are present in the container. |
end(Container |
Designates the end of the controlled sequence. |
equal_range(Generic |
Finds the range that matches a specified key. |
erase(Container |
Removes from the container the elements between the specified iterators. |
erase(Container |
Removes from the container the element that is specified by the given iterator. |
erase(TKey) |
Removes elements from the container that match the specified key. |
find(Container |
Finds an element that matches a specified key. |
get_generation() |
Gets the current change generation of the underlying container. (Inherited from IBidirectionalContainer<TValue>) |
Get |
Returns an enumerator that iterates through a collection. (Inherited from IEnumerable) |
insert(Container |
Adds the given element to the container. |
insert(Generic |
Adds the given value to the container. |
insert(IEnumerable<TValue>) |
Adds the given enumeration to the container. |
insert(IInput |
Adds to the container the elements specified by the given iterators. |
key_comp() |
Returns the ordering delegate that is used to order the controlled sequence. You use it to compare two keys. |
lower_bound(Container |
Finds the beginning of the range of elements that match a specified key. |
rbegin(Reverse |
Designates the beginning of the reversed controlled sequence. |
rend(Reverse |
Designates the end of the reversed controlled sequence. |
size() |
Counts the number of elements in the container. |
swap(ITree<TKey,TValue>) |
Swaps the contents of two containers. |
upper_bound(Container |
Finds the end of the range of elements that match a specified key. |
value_comp() |
Returns the ordering delegate that is used to order the controlled sequence. |
Cast<TResult>(IEnumerable) |
Casts the elements of an IEnumerable to the specified type. |
Of |
Filters the elements of an IEnumerable based on a specified type. |
As |
Enables parallelization of a query. |
As |
Converts an IEnumerable to an IQueryable. |
Produk | Versi |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET maklum balas
.NET ialah projek sumber terbuka. Pilih pautan untuk memberikan maklum balas: