ResultCollection.Insert Method
Note: The Microsoft UDDI SDK is not supported by or included in Microsoft Windows versions after Microsoft Windows Server 7. The Microsoft UDDI V3 SDK is included with Microsoft BizTalk Server. For more information about the Microsoft UDDI V3 SDK, see Microsoft BizTalk Server documentation
Inserts a Result object into the collection at the specified index.
Namespace: Microsoft.Uddi
Assembly: microsoft.uddi (in microsoft.uddi.dll)
Usage
Visual Basic |
---|
Dim instance As ResultCollection Dim index As Integer Dim result As Result instance.Insert(index, result) |
Syntax
'Declaration
PublicSubInsert ( _
indexAsInteger, _
resultAsResult _
)
publicvoidInsert (
intindex,
Resultresult
)
public:
voidInsert (
intindex,
Result^ result
)
publicvoidInsert (
intindex,
Resultresult
)
publicfunctionInsert (
index : int,
result : Result
)
Parameters
- index
Contains the zero-based index in the collection where the object should be inserted.
- result
Contains a Result object that will be inserted into the collection.
Exceptions
Exception type | Condition |
---|---|
ArgumentOutOfRangeException | If index is greater than the number of elements in the collection. |
Remarks
If index is equal to the number of elements in the collection, the object is appended to the end of the collection.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Target Platforms
Windows Server 2008, Windows Server 2003, Windows XP Professional, Windows Vista, Windows Server 2003 R2, Windows XP
See Also
Reference
ResultCollection Class
ResultCollection Members
Microsoft.Uddi Namespace