| SliceSet(Position, Int32, Int32) Method |
Sets the specified position from which to start, the end index and a stride.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public virtual void Set(
Position position,
int end,
int stride
)
Public Overridable Sub Set (
position As Position,
end As Integer,
stride As Integer
)
public:
virtual void Set(
Position position,
int end,
int stride
)
abstract Set :
position : Position *
end : int *
stride : int -> unit
override Set :
position : Position *
end : int *
stride : int -> unit
Parameters
- position Position
- A value from the Position enumeration indicating the start of the data.
- end Int32
- The last data element.
- stride Int32
- The step increment between successive data elements.
Exceptions Exception | Condition |
---|
InvalidArgumentException |
Thrown if the end is negative, the stride is zero, or the
position is Position.End and the stride is positive.
|
Remarks
If the stride is negative, the end position is set to zero.
See Also