IndexedXmlPathCollection.Add Method (IndexedXmlPath, Int32)
Adds an item to the collection with specified path and position where it will be inserted at.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Add ( _
indexedXmlPath As IndexedXmlPath, _
insertAtPosition As Integer _
)
'Usage
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
)
Parameters
- indexedXmlPath
Type: Microsoft.SqlServer.Management.Smo.IndexedXmlPath
The path of the object to be added to the collection.
- insertAtPosition
Type: System.Int32
The position where the item will be inserted.