ImmutableSortedSet<T>.Builder.Add(T) Método
Definição
Adiciona um elemento ao conjunto atual e retorna um valor para indicar se ele foi adicionado com êxito.Adds an element to the current set and returns a value to indicate whether the element was successfully added.
public:
virtual bool Add(T item);
public bool Add (T item);
abstract member Add : 'T -> bool
override this.Add : 'T -> bool
Public Function Add (item As T) As Boolean
Parâmetros
- item
- T
O elemento a ser adicionado ao conjunto.The element to add to the set.
Retornos
true se o elemento for adicionado ao conjunto; false se o elemento já estiver no conjuntotrue if the element is added to the set; false if the element is already in the set