共用方式為


AddRange 方法

Adds the elements of the specified collection to the end of the list.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub AddRange ( _
    urnCollection As IEnumerable(Of Urn) _
)
'用途
Dim instance As UrnCollection
Dim urnCollection As IEnumerable(Of Urn)

instance.AddRange(urnCollection)
public void AddRange(
    IEnumerable<Urn> urnCollection
)
public:
void AddRange(
    IEnumerable<Urn^>^ urnCollection
)
member AddRange : 
        urnCollection:IEnumerable<Urn> -> unit 
public function AddRange(
    urnCollection : IEnumerable<Urn>
)

參數

範例

使用集合