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> ) > ) > 继承。) |
页首