3CX Configuration and Call Control API v4.0.0.0 (v20)
C#
Show/Hide TOC
Array
Disposer
Extension
Get
Disposer
T
(
T
) Method
Extension method for creating WArrayDisposer for disposable T[] objects
Definition
Namespace:
TCX.Configuration
Assembly:
3cxpscomcpp2 (in 3cxpscomcpp2.dll) Version: 20.0.1
C#
Copy
public
static
IArrayDisposer
<T>
GetDisposer
<T>(
this
T[]
arr
)
where
T :
IDisposable
Parameters
arr
T
array of original T objects
Type Parameters
T
original type of objects
Return Value
IArrayDisposer
T
IArrayDisposer
T
object
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
T
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
ArrayDisposerExtension Class
GetDisposer Overload
TCX.Configuration Namespace
In This Article
Definition
Parameters
Type Parameters
Return Value
Usage Note
See Also