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
)
參數
- indexedXmlPath
型別:Microsoft.SqlServer.Management.Smo.IndexedXmlPath
The path of the object to be added to the collection.
- insertAtPosition
型別:System.Int32
The position where the item will be inserted.