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.