Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

struct System.​Runtime.​InteropServices.​ArrayWithOffset

Assembly: System.Runtime.InteropServices

Encapsulates an array and an offset within the specified array.

Methods

public bool
Equals​(object obj)
obj Object to compare with this instance.
Returns <see langword="true" /> if the object matches this <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> ; otherwise, <see langword="false" /> .
Indicates whether the specified object matches the current <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> object.
public bool
Equals​(ArrayWithOffset obj)
obj An <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> object to compare with this instance.
Returns <see langword="true" /> if the specified <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> object matches the current instance; otherwise, <see langword="false" /> .
Indicates whether the specified <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> object matches the current instance.
public object
GetArray​()
Returns The managed array this instance references.
Returns the managed array referenced by this <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> .
public int
GetHashCode​()
Returns The hash code for this instance.
Returns a hash code for this value type.
public int
GetOffset​()
Returns The offset for this instance.
Returns the offset provided when this <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> was constructed.
public string
ToString​()
Inherited from ValueType
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object