[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.ComArrayBase

Class ComArrayBase

Namespace
GrapeCity.Documents.DX
Assembly
GcDocs.DX.Windows.dll

A fast method to pass array of ComObject to C1.Win.DX methods.

public class ComArrayBase : DisposeBase, IDisposable, IEnumerable
Inheritance
object
ComArrayBase
Implements
System.IDisposable
System.Collections.IEnumerable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

ComArrayBase(params ComObject[])

Initializes a new instance of the ComArrayBase class.

public ComArrayBase(params ComObject[] array)

Parameters

array ComObject[]

The array.

ComArrayBase(int)

Initializes a new instance of the ComArrayBase class.

public ComArrayBase(int size)

Parameters

size int

The size.

Properties

Length

Gets the length.

public int Length { get; }

Property Value

int

NativePointer

Gets the pointer to the native array associated to this instance.

public IntPtr NativePointer { get; }

Property Value

System.IntPtr

Methods

Dispose(bool)

Clean up any resources being used.

protected override void Dispose(bool disposing)

Parameters

disposing bool

Get(int)

Gets an object at the specified index.

public ComObject Get(int index)

Parameters

index int

The index.

Returns

ComObject

A ComObject

GetEnumerator()

public IEnumerator GetEnumerator()

Returns

System.Collections.IEnumerator

Set(int, ComObject)

Sets an object at the specified index.

public void Set(int index, ComObject value)

Parameters

index int

The index.

value ComObject

The value.