Hide Table of Contents
ISafeArrayUtility Interface Methods

For a list of all members of this type, see ISafeArrayUtility members.

Public Methods

 NameDescription
 MethodGetBooleanGets the specified Boolean value in a Variant SafeArray of Boolean values.  
 MethodGetBstrGets the specified BSTR in a Variant SafeArray of BSTRs.  
 MethodGetByteGets the specified byte value in a Variant SafeArray of byte values.  
 MethodGetDispatchGets the specified Dispatch object in a Variant SafeArray of Dispatch objects.  
 MethodGetDoubleGets the specified double value in a Variant SafeArray of double values.  
 MethodGetInfoGets the number of elements in a Variant SafeArray and their data type.  
 MethodGetLongGets the specified long value in a Variant SafeArray of long values.  
 MethodGetLongLongGets the specified long long value in a Variant SafeArray of long long values.  
 MethodGetShortGets the specified short value in a Variant SafeArray of short values.  
 MethodGetUNKNOWNGets the specified UNKNOWN object in a Variant SafeArray of UNKNOWN objects.  
 MethodPackVariantPacks the specified native SOLIDWORKS Dispatch-based objects of the same data type into a Variant SafeArray and returns that packed Variant SafeArray to use in methods requiring passing a packed Variant SafeArray.  
 MethodPutBooleanAdds the specified Boolean value to a Variant SafeArray of Boolean values.  
 MethodPutBstrAdds the specified BSTR to a Variant SafeArray of BSTRs.  
 MethodPutByteAdds the specified byte value to a Variant SafeArray of byte values.  
 MethodPutDispatchAdds the specified Dispatch object to a Variant SafeArray of Dispatch objects.  
 MethodPutDoubleAdds the specified double value to a Variant SafeArray of double values.  
 MethodPutLongAdds the specified long value to a Variant SafeArray of long values.  
 MethodPutLongLongAdds the specified long long value to a Variant SafeArray of long long values.  
 MethodPutShortAdds the specified short value to a Variant SafeArray of short values.  
 MethodPutUNKNOWNAdds the specified UNKNOWN object to a Variant SafeArray of UNKNOWN objects.  
 MethodUnPackVariantUnpacks the specified packed Variant SafeArray to native SOLIDWORKS Dispatch-based objects of the same data type.  
Top

See Also



Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   ISafeArrayUtility Interface Methods
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2025 SP2

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.