Méthode IndexedXmlPathCollection.Add (IndexedXmlPath, Int32)
Adds an item to the collection with specified path and position where it will be inserted at.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub Add ( _
indexedXmlPath As IndexedXmlPath, _
insertAtPosition As Integer _
)
'Utilisation
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
)
Paramètres
- 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.