System::Drawing::CharacterRange class
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. |
| get_First() const | Returns the position of the first character of the range represented by the current object. |
| get_Length() const | Returns the number of characters in the range represented by the current object. |
| operator!=(const CharacterRange&) const | Determines if the current and specified objects represent distinct ranges. |
| operator==(const CharacterRange&) const | Determines if the current and specified objects represent the same range. |
| set_First(int32_t) | Sets the position of the first character of the range represented by the current object. |
| set_Length(int32_t) | Returns the number of characters in the range represented by the current object. |
See Also
- Namespace System::Drawing
- Library Aspose.PUB for C++