Classe UrnCollection
The UrnCollection class represents a collection of Urn objects that represent Uniform Resource Name (URN) addresses.
Hierarquia de herança
System. . :: . .Object
Microsoft.SqlServer.Management.Smo..::..UrnCollection
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Class UrnCollection _
Implements IList(Of Urn), ICollection(Of Urn), _
IEnumerable(Of Urn), IEnumerable
'Uso
Dim instance As UrnCollection
public class UrnCollection : IList<Urn>,
ICollection<Urn>, IEnumerable<Urn>, IEnumerable
public ref class UrnCollection : IList<Urn^>,
ICollection<Urn^>, IEnumerable<Urn^>, IEnumerable
type UrnCollection =
class
interface IList<Urn>
interface ICollection<Urn>
interface IEnumerable<Urn>
interface IEnumerable
end
public class UrnCollection implements IList<Urn>, ICollection<Urn>, IEnumerable<Urn>, IEnumerable
O tipo UrnCollection expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
UrnCollection | Initializes a new instance of the UrnCollection class. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
Count | Gets the number of Urns in a Urn Collection. | |
Item | Gets a Urn object in the collection by index number. |
Início
Métodos
Nome | Descrição | |
---|---|---|
Add | Adds a URN to a URN collection. | |
AddRange | Adds the elements of the specified collection to the end of the list. | |
Clear | Removes all elements from the collection. | |
Contains | Specifies if a URN collection contains a URN. | |
CopyTo | Copies members of the collection to an array, starting at the specified index of the array. | |
Equals | (Herdado de Object.) | |
Finalize | (Herdado de Object.) | |
GetEnumerator | Returns a generic IEnumerator interface. | |
GetHashCode | (Herdado de Object.) | |
GetType | (Herdado de Object.) | |
IndexOf | Gets the index of a specified URN from a collection. | |
Insert | Inserts a URN at a specified index of a URN collection. | |
MemberwiseClone | (Herdado de Object.) | |
Remove | Removes a specified URN from a collection. | |
RemoveAt | Removes a URN from a collection based on the index of the URN. | |
ToString | (Herdado de Object.) |
Início
Implementações de interfaces explícitas
Nome | Descrição | |
---|---|---|
IEnumerable. . :: . .GetEnumerator | Gets a non-generic enumerator. | |
ICollection< (Of < <' (Urn> ) > > ). . :: . .IsReadOnly | Gets a Boolean indicating whether the collection is read-only. |
Início
Comentários
A UrnCollection object can be used to gain access to a set of URN addresses. You can use the Item property to return a specific Urn object.
Thread Safety
Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.
Consulte também