C# Class Monobjc.Foundation.NSRange

Afficher le fichier Open project: Monobjc/monobjc Class Usage Examples

Méthodes publiques

Свойство Type Description
NSNotFoundRange NSRange
NSZeroRange NSRange

Méthodes publiques

Méthode Description
NSEqualRanges ( NSRange range1, NSRange range2 ) : bool

Returns a Boolean value that indicates whether two given ranges are equal.

Original declaration is : BOOL NSEqualRanges(NSRange range1, NSRange range2)

NSIntersectionRange ( NSRange range1, NSRange range2 ) : NSRange

Returns the intersection of the specified ranges.

Original declaration is : NSRange NSIntersectionRange(NSRange range1, NSRange range2)

NSLocationInRange ( NSUInteger index, NSRange aRange ) : bool

Returns a Boolean value that indicates whether a specified position is in a given range.

Original declaration is : BOOL NSLocationInRange(unsigned int index, NSRange aRange)

NSMakeRange ( NSUInteger location, NSUInteger length ) : NSRange

Creates a new NSRange from the specified values.

Original declaration is : NSRange NSMakeRange(unsigned int location, unsigned int length)

NSMaxRange ( NSRange range ) : uint

Returns the number 1 greater than the maximum value within the range.

Original declaration is : unsigned int NSMaxRange(NSRange range)

NSUnionRange ( NSRange range1, NSRange range2 ) : NSRange

Returns the intersection of the specified ranges.

Original declaration is : NSRange NSUnionRange(NSRange range1, NSRange range2)

Private Methods

Méthode Description
NSRangeFromString ( [ MarshalTypeRef = typeof(IdMarshaler<NSString>))]NSStringaString ) : NSRange
NSStringFromRange ( NSRange aRange ) : NSString

Method Details

NSEqualRanges() public static méthode

Returns a Boolean value that indicates whether two given ranges are equal.
Original declaration is : BOOL NSEqualRanges(NSRange range1, NSRange range2)
public static NSEqualRanges ( NSRange range1, NSRange range2 ) : bool
range1 NSRange
range2 NSRange
Résultat bool

NSIntersectionRange() public static méthode

Returns the intersection of the specified ranges.
Original declaration is : NSRange NSIntersectionRange(NSRange range1, NSRange range2)
public static NSIntersectionRange ( NSRange range1, NSRange range2 ) : NSRange
range1 NSRange
range2 NSRange
Résultat NSRange

NSLocationInRange() public static méthode

Returns a Boolean value that indicates whether a specified position is in a given range.
Original declaration is : BOOL NSLocationInRange(unsigned int index, NSRange aRange)
public static NSLocationInRange ( NSUInteger index, NSRange aRange ) : bool
index NSUInteger
aRange NSRange
Résultat bool

NSMakeRange() public static méthode

Creates a new NSRange from the specified values.
Original declaration is : NSRange NSMakeRange(unsigned int location, unsigned int length)
public static NSMakeRange ( NSUInteger location, NSUInteger length ) : NSRange
location NSUInteger
length NSUInteger
Résultat NSRange

NSMaxRange() public static méthode

Returns the number 1 greater than the maximum value within the range.
Original declaration is : unsigned int NSMaxRange(NSRange range)
public static NSMaxRange ( NSRange range ) : uint
range NSRange
Résultat uint

NSUnionRange() public static méthode

Returns the intersection of the specified ranges.
Original declaration is : NSRange NSUnionRange(NSRange range1, NSRange range2)
public static NSUnionRange ( NSRange range1, NSRange range2 ) : NSRange
range1 NSRange
range2 NSRange
Résultat NSRange

Property Details

NSNotFoundRange public_oe static_oe property

A NSRange instance with its coordinates set to max.
public static NSRange,Monobjc.Foundation NSNotFoundRange
Résultat NSRange

NSZeroRange public_oe static_oe property

A NSRange instance with its coordinates set to zero.
public static NSRange,Monobjc.Foundation NSZeroRange
Résultat NSRange