IndexedXmlPathCollection.Add 方法 (IndexedXmlPath, Int32)

Adds an item to the collection with specified path and position where it will be inserted at.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub Add ( _
    indexedXmlPath As IndexedXmlPath, _
    insertAtPosition As Integer _
)
用法
Dim instance As IndexedXmlPathCollection 
Dim indexedXmlPath As IndexedXmlPath 
Dim insertAtPosition As Integer

instance.Add(indexedXmlPath, insertAtPosition)
public void Add(
    IndexedXmlPath indexedXmlPath,
    int insertAtPosition
)
public:
void Add(
    IndexedXmlPath^ indexedXmlPath, 
    int insertAtPosition
)
member Add : 
        indexedXmlPath:IndexedXmlPath * 
        insertAtPosition:int -> unit
public function Add(
    indexedXmlPath : IndexedXmlPath, 
    insertAtPosition : int
)

参数

  • insertAtPosition
    类型:System.Int32
    The position where the item will be inserted.

请参阅

参考

IndexedXmlPathCollection 类

Add 重载

Microsoft.SqlServer.Management.Smo 命名空间