public interface IClrArray extends IClrBase
Modifier and Type | Method and Description |
---|---|
DotNetNativeTypes.ClrArray |
getDefaultPointer()
Gets the default clr array pointer.
|
IClrType |
getElementType()
Returns the Type of the object encompassed or referred to by the current array, pointer or reference type.
|
int |
getLength()
Gets the total number of elements in all the dimensions of the Array; zero if there are no elements in the array.
|
IClrType |
getType()
Gets the Type of the current instance.
|
java.lang.Object |
getValue(int index)
Gets the value at the specified position in the one-dimensional Array.
|
int |
indexOf(java.lang.Object value)
Searches for the specified object and returns the index of its first occurrence in a one-dimensional array.
|
static IClrArray |
New()
Returns a null value of IClrArray.
|
void |
setValue(java.lang.Object value,
int index)
Sets a value to the element at the specified position in the one-dimensional Array.
|
DotNetNativeTypes.ClrObject |
toClrObject()
Gets the Clr base object Converts the value of the Array to a base object.
|
equals, getBaseObject, getFieldValue, getPropertyIndexValue, getPropertyIndexValue, getPropertyValue, invokeGenericMethod, invokeMethod, invokeVoidMethod, registerEventCallBack, registerEventCallBackWithReturn, setFieldValue, setPropertyIndexValue, setPropertyIndexValue, setPropertyValue, unRegisterEventCallBack, unRegisterEventCallBackWithReturn
static IClrArray New()
DotNetNativeTypes.ClrArray getDefaultPointer()
int getLength() throws EClrError
EClrError
java.lang.Object getValue(int index) throws EClrError
index
- A 32-bit integer that represents the position of the Array element to get.EClrError
int indexOf(java.lang.Object value) throws EClrError
value
- The object to locate in array.EClrError
void setValue(java.lang.Object value, int index) throws EClrError
value
- The new value for the specified element.index
- A 32-bit integer that represents the position of the Array element to set.EClrError
IClrType getElementType() throws EClrError
EClrError
DotNetNativeTypes.ClrObject toClrObject() throws EClrError
EClrError