共用方式為


Add 方法

Adds a URN to a URN collection.

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

語法

'宣告
Public Sub Add ( _
    urn As Urn _
)
'用途
Dim instance As UrnCollection
Dim urn As Urn

instance.Add(urn)
public void Add(
    Urn urn
)
public:
virtual void Add(
    Urn^ urn
) sealed
abstract Add : 
        urn:Urn -> unit 
override Add : 
        urn:Urn -> unit 
public final function Add(
    urn : Urn
)

實作

ICollection< (Of < ( <'T> ) > ) >. . :: . .Add(T)

範例

使用集合