C# 클래스 Monobjc.Foundation.NSRange

파일 보기 프로젝트 열기: Monobjc/monobjc 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
NSNotFoundRange NSRange
NSZeroRange NSRange

공개 메소드들

메소드 설명
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)

비공개 메소드들

메소드 설명
NSRangeFromString ( [ MarshalTypeRef = typeof(IdMarshaler<NSString>))]NSStringaString ) : NSRange
NSStringFromRange ( NSRange aRange ) : NSString

메소드 상세

NSEqualRanges() 공개 정적인 메소드

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
리턴 bool

NSIntersectionRange() 공개 정적인 메소드

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
리턴 NSRange

NSLocationInRange() 공개 정적인 메소드

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
리턴 bool

NSMakeRange() 공개 정적인 메소드

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
리턴 NSRange

NSMaxRange() 공개 정적인 메소드

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
리턴 uint

NSUnionRange() 공개 정적인 메소드

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
리턴 NSRange

프로퍼티 상세

NSNotFoundRange 공개적으로 정적으로 프로퍼티

A NSRange instance with its coordinates set to max.
public static NSRange,Monobjc.Foundation NSNotFoundRange
리턴 NSRange

NSZeroRange 공개적으로 정적으로 프로퍼티

A NSRange instance with its coordinates set to zero.
public static NSRange,Monobjc.Foundation NSZeroRange
리턴 NSRange