CharacterRange
Contents
[
Hide
]CharacterRange class
Represents a range of character positions in a string. This type should be allocated on stack and passed to functions by value or by reference. Never use System::SmartPtr class to manage objects of this type.
class CharacterRange
Methods
Method | Description |
---|---|
CharacterRange(int32_t, int32_t) | Constructs a new instance of CharacterRange class that represents the specified range. |
CharacterRange() | Constructs a new instance of CharacterRange class that represents an empty range. |
int32_t get_First() const | Returns the position of the first character of the range represented by the current object. |
int32_t get_Length() const | Returns the number of characters in the range represented by the current object. |
bool operator!=(const CharacterRange&) const | Determines if the current and specified objects represent distinct ranges. |
bool operator==(const CharacterRange&) const | Determines if the current and specified objects represent the same range. |
void set_First(int32_t) | Sets the position of the first character of the range represented by the current object. |
void set_Length(int32_t) | Returns the number of characters in the range represented by the current object. |
See Also
- Namespace System::Drawing
- Library Aspose.Slides