Gets the specified Dispatch object in a Variant SafeArray of Dispatch objects.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetDispatch( _
ByVal VariantArray As System.Object, _
ByVal Index As System.Integer _
) As System.Object |
Visual Basic (Usage) | |
---|
Dim instance As ISafeArrayUtility
Dim VariantArray As System.Object
Dim Index As System.Integer
Dim value As System.Object
value = instance.GetDispatch(VariantArray, Index) |
C++/CLI | |
---|
System.Object^ GetDispatch(
& System.Object^ VariantArray,
& System.int Index
) |
Parameters
- VariantArray
- Variant SafeArray of Dispatch objects
- Index
- Index of Dispatch object
Return Value
Dispatch object
Example
See Also
Availability
SOLIDWORKS 2015 FCS, Revision Number 23.0