Интерфейс IMutableMetadataOrderedCollection(T)
Represents a mutable collection of metadata objects where the element ordering is preserved.
Пространство имен: Microsoft.SqlServer.Management.SqlParser.Metadata
Сборка: Microsoft.SqlServer.Management.SqlParser (в Microsoft.SqlServer.Management.SqlParser.dll)
Синтаксис
'Декларация
Public Interface IMutableMetadataOrderedCollection(Of T As {Class, IMetadataObject}) _
Inherits IMetadataOrderedCollection(Of T), IMutableMetadataCollection(Of T), IMetadataCollection(Of T), _
IEnumerable(Of T), IEnumerable
'Применение
Dim instance As IMutableMetadataOrderedCollection(Of T)
public interface IMutableMetadataOrderedCollection<T> : IMetadataOrderedCollection<T>,
IMutableMetadataCollection<T>, IMetadataCollection<T>, IEnumerable<T>, IEnumerable
where T : class, IMetadataObject
generic<typename T>
where T : ref class, IMetadataObject
public interface class IMutableMetadataOrderedCollection : IMetadataOrderedCollection<T>,
IMutableMetadataCollection<T>, IMetadataCollection<T>, IEnumerable<T>, IEnumerable
type IMutableMetadataOrderedCollection<'T when 'T : not struct and IMetadataObject> =
interface
interface IMetadataOrderedCollection<'T>
interface IMutableMetadataCollection<'T>
interface IMetadataCollection<'T>
interface IEnumerable<'T>
interface IEnumerable
end
JScript не поддерживает стандартные типы и методы.
Параметры типа
- T
The type of the elements in the collection, constrained to IMetadataObject.
Тип IMutableMetadataOrderedCollection<(Of <(<'T>)>)> обеспечивает доступ к следующим элементам.
Свойства
| Имя | Описание | |
|---|---|---|
![]() |
AsMetadataObjectCollection | Gets an IMetadataCollection<(Of <(<'T>)>)> object that contains this collection. (Производный от IMetadataCollection< (Of < ( <'T> ) > ) >.) |
![]() |
Count | Gets the number of elements in the collection. (Производный от IMetadataCollection< (Of < ( <'T> ) > ) >.) |
![]() |
Item[ ( [ ( String] ) ] ) | Gets the element in the collection by name. (Производный от IMetadataCollection< (Of < ( <'T> ) > ) >.) |
![]() |
Item[ ( [ ( Int32] ) ] ) | Gets the element at the specified index. (Производный от IMetadataOrderedCollection< (Of < ( <'T> ) > ) >.) |
![]() |
Item[ ( [ ( String] ) ] ) | Gets or sets the element in the collection by name. (Производный от IMutableMetadataCollection< (Of < ( <'T> ) > ) >.) |
В начало
Методы
| Имя | Описание | |
|---|---|---|
![]() |
Add | Adds an element to the end of the collection. (Производный от IMutableMetadataCollection< (Of < ( <'T> ) > ) >.) |
![]() |
AddRange | Adds the elements in the specified collection to the end of this collection. (Производный от IMutableMetadataCollection< (Of < ( <'T> ) > ) >.) |
![]() |
Clear | Removes all elements from the collection. (Производный от IMutableMetadataCollection< (Of < ( <'T> ) > ) >.) |
![]() |
Clone() () () () | Creates an IMutableMetadataCollection<(Of <(<'T>)>)> instance that is a copy of this object, except for the elements. (Производный от IMutableMetadataCollection< (Of < ( <'T> ) > ) >.) |
![]() |
Clone(Boolean) | Creates an IMutableMetadataCollection<(Of <(<'T>)>)> instance that is a copy of this object and, if specified, also copies the elements. (Производный от IMutableMetadataCollection< (Of < ( <'T> ) > ) >.) |
![]() |
Contains(String) | Determines whether the collection contains an element that has the specified name. (Производный от IMetadataCollection< (Of < ( <'T> ) > ) >.) |
![]() |
FindAll(Predicate< (Of < <' (T> ) > > )) | Retrieves all elements in the collection that match the conditions defined by the specified predicate. (Производный от IMetadataCollection< (Of < ( <'T> ) > ) >.) |
![]() |
FindAll(String) | Retrieves all elements in the collection that have the specified name. (Производный от IMetadataCollection< (Of < ( <'T> ) > ) >.) |
![]() |
GetEnumerator() () () () | (Производный от IEnumerable< (Of < ( <'T> ) > ) >.) |
![]() |
GetEnumerator() () () () | (Производный от IEnumerable.) |
![]() |
Remove(String) | Removes the first element that has the specified name from the collection. (Производный от IMutableMetadataCollection< (Of < ( <'T> ) > ) >.) |
В начало
.gif)
.gif)