Foundation.NSString: Method Members

The methods of Foundation.NSString are listed below. For a list of all members, see the NSString Members list.

See Also: Inherited members from Foundation.NSObject

Public Methods

AbbreviateTildeInPath() : NSString
Converts a spath to a home-directory-relative path by substituting a tilde for the relevant portion of the path.
AppendPathComponent(NSString) : NSString
Appends the specified str in a manner that results in a path.
AppendPathExtension(NSString) : NSString
Creates a path by appending a path extension separator and then the specified str as a file extension.
AppendPaths(string[]) : string[]
Returns the array of strings created by appending this NSString to each of the specified input paths.
Capitalize(NSLocale) : string
Capitalizes a string using the rules of the specified locale.
Compare(NSString) : NSComparisonResult
Lexically compares this to the specified string.
Compare(NSString, NSStringCompareOptions) : NSComparisonResult
Documentation for this section has not yet been entered.
Compare(NSString, NSStringCompareOptions, NSRange) : NSComparisonResult
Documentation for this section has not yet been entered.
Compare(NSString, NSStringCompareOptions, NSRange, NSLocale) : NSComparisonResult
Documentation for this section has not yet been entered.
Contains(NSString) : bool
Documentation for this section has not yet been entered.
Copy(NSZone) : NSObject
Performs a copy of the underlying Objective-C object.
static
CreateNative(string) : IntPtr
Creates an Objective-C NSString from the C# string and returns a pointer to it.
DeleteLastPathComponent() : NSString
Returns a new string by deleting the last path component of this string.
DeletePathExtension() : NSString
Returns a new string by deleting the path extension from this string.
static
DetectStringEncoding(NSData, EncodingDetectionOptions, out string, out bool) : nuint
Documentation for this section has not yet been entered.
static
DetectStringEncoding(NSData, NSDictionary, out string, out bool) : nuint
Documentation for this section has not yet been entered.
Encode(NSStringEncoding, bool) : NSData
Documentation for this section has not yet been entered.
EncodeTo(NSCoder)
Encodes the state of the object on the provided encoder
override
Equals(object) : bool
Documentation for this section has not yet been entered.
static
Equals(NSString, NSString) : bool
Documentation for this section has not yet been entered.
ExpandTildeInPath() : NSString
Returns a new string that expands a tilde in this string (indicating the user's home dir) into a full path.
static
FromData(NSData, NSStringEncoding) : NSString
Creates an NSString from an NSData source.
static
FromHandle(IntPtr) : string
Utility method that returns a string from a pointer that points to an Objective-C NSString object.
override
GetHashCode() : int
Generates a hash code for the current instance.
GetLineStart(NSRange, out nuint, out nuint, out nuint)
Documentation for this section has not yet been entered.
LineRangeForRange(NSRange) : NSRange
Documentation for this section has not yet been entered.
LocalizedCaseInsensitiveContains(NSString) : bool
Documentation for this section has not yet been entered.
MutableCopy(NSZone) : NSObject
Performs a copy of the underlying Objective-C object.
static
PathWithComponents(string[]) : string[]
Constructs a path from the specified array of components.
static
ReleaseNative(IntPtr)
Releases a native Objective-C string.
Replace(NSRange, NSString) : NSString
Returns a new string that substitutes the replacement string into this string, at the specified range.
ResolveSymlinksInPath() : NSString
Resolves all symbolic links in this and returns the standardized path result.
StandarizePath() : NSString
Standardizes this string into a path by, for instance, removing "/./" and similar constructs.
ToLower(NSLocale) : string
Returns a new string that is the lowercase version of this string, according to the rules of the specified locale.
override
ToString() : string
Returns a string representation of the value of the current instance.
ToUpper(NSLocale) : string
Returns a new string that is the uppercase version of this string, according to the rules of the specified locale.

Protected Methods

override
Dispose(bool)
Releases the resources used by the NSString object.