Clase UrnCollection
The UrnCollection class represents a collection of Urn objects that represent Uniform Resource Name (URN) addresses.
Jerarquía de herencia
System. . :: . .Object
Microsoft.SqlServer.Management.Smo..::..UrnCollection
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
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
El tipo UrnCollection expone los siguientes miembros.
Constructores
Nombre | Descripción | |
---|---|---|
UrnCollection | Initializes a new instance of the UrnCollection class. |
Arriba
Propiedades
Nombre | Descripción | |
---|---|---|
Count | Gets the number of Urns in a Urn Collection. | |
Item | Gets a Urn object in the collection by index number. |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
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 | (Se hereda de Object.) | |
Finalize | (Se hereda de Object.) | |
GetEnumerator | Returns a generic IEnumerator interface. | |
GetHashCode | (Se hereda de Object.) | |
GetType | (Se hereda 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 | (Se hereda 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 | (Se hereda de Object.) |
Arriba
Implementaciones de interfaces explícitas
Nombre | Descripción | |
---|---|---|
IEnumerable. . :: . .GetEnumerator | Gets a non-generic enumerator. | |
ICollection< (Of < <' (Urn> ) > > ). . :: . .IsReadOnly | Gets a Boolean indicating whether the collection is read-only. |
Arriba
Comentarios
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
Todos los miembros estáticos (compartidos en Microsoft Visual Basic) públicos de este tipo son seguros para operaciones multiproceso. No se garantiza que los miembros de instancia sean seguros para subprocesos.
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.
Vea también