The members of Foundation.NSString are listed below.
See Also: Inherited members from Foundation.NSObject
NSString() | Default constructor that initializes a new instance of this class with no parameters. | |
A constructor that initializes the object from the data stored in the unarchiver object. | ||
Creates an NSString from a C# string. | ||
Creates a string from a specified blob of data, using a specific encoding. |
Constructor to call on derived classes to skip initialization and merely allocate the object. | ||
A constructor used when creating managed representations of unmanaged objects; Called by the runtime. |
[read-only] override | ClassHandle | IntPtr. The handle for this class. |
[read-only] | IsAbsolutePath | bool. Whether this is an absolute path. |
[read-only] default property | Item(nint) | char. Documentation for this section has not yet been entered. |
[read-only] | LastPathComponent | NSString. The last path component of this string. |
[read-only] | Length | nint. The number of Unicode characters in this string. |
[read-only] | PathComponents | string[]. An array of strings containing, in order, each path component of this string. |
[read-only] | PathExtension | NSString. Returns this string's path extension, if it has one. |
AbbreviateTildeInPath()Converts a spath to a home-directory-relative path by substituting a tilde for the relevant portion of the path. | ||
AppendPathComponent(NSString)Appends the specified str in a manner that results in a path. | ||
AppendPathExtension(NSString)Creates a path by appending a path extension separator and then the specified str as a file extension. | ||
AppendPaths(string[])Returns the array of strings created by appending this NSString to each of the specified input paths. | ||
Capitalize(NSLocale)Capitalizes a string using the rules of the specified locale. | ||
Compare(NSString)Lexically compares this to the specified string. | ||
Compare(NSString, NSStringCompareOptions)Documentation for this section has not yet been entered. | ||
Compare(NSString, NSStringCompareOptions, NSRange)Documentation for this section has not yet been entered. | ||
Compare(NSString, NSStringCompareOptions, NSRange, NSLocale)Documentation for this section has not yet been entered. | ||
Contains(NSString)Documentation for this section has not yet been entered. | ||
Copy(NSZone)Performs a copy of the underlying Objective-C object. | ||
static | CreateNative(string)Creates an Objective-C NSString from the C# string and returns a pointer to it. | |
DeleteLastPathComponent()Returns a new string by deleting the last path component of this string. | ||
DeletePathExtension()Returns a new string by deleting the path extension from this string. | ||
static | DetectStringEncoding(NSData, EncodingDetectionOptions, out string, out bool)Documentation for this section has not yet been entered. | |
static | DetectStringEncoding(NSData, NSDictionary, out string, out bool)Documentation for this section has not yet been entered. | |
Encode(NSStringEncoding, bool)Documentation for this section has not yet been entered. | ||
EncodeTo(NSCoder)Encodes the state of the object on the provided encoder | ||
override | Equals(object)Documentation for this section has not yet been entered. | |
static | Equals(NSString, NSString)Documentation for this section has not yet been entered. | |
ExpandTildeInPath()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)Creates an NSString from an NSData source. | |
static | FromHandle(IntPtr)Utility method that returns a string from a pointer that points to an Objective-C NSString object. | |
override | GetHashCode()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)Documentation for this section has not yet been entered. | ||
LocalizedCaseInsensitiveContains(NSString)Documentation for this section has not yet been entered. | ||
MutableCopy(NSZone)Performs a copy of the underlying Objective-C object. | ||
static | PathWithComponents(string[])Constructs a path from the specified array of components. | |
static | ReleaseNative(IntPtr)Releases a native Objective-C string. | |
Replace(NSRange, NSString)Returns a new string that substitutes the replacement string into this string, at the specified range. | ||
ResolveSymlinksInPath()Resolves all symbolic links in this and returns the standardized path result. | ||
StandarizePath()Standardizes this string into a path by, for instance, removing "/./" and similar constructs. | ||
ToLower(NSLocale)Returns a new string that is the lowercase version of this string, according to the rules of the specified locale. | ||
override | ToString()Returns a string representation of the value of the current instance. | |
ToUpper(NSLocale)Returns a new string that is the uppercase version of this string, according to the rules of the specified locale. |
static | Equality(NSString, NSString) | Documentation for this section has not yet been entered. |
static | Inequality(NSString, NSString) | Documentation for this section has not yet been entered. |
static | Conversion to Foundation.NSString(Explicit) | Documentation for this section has not yet been entered. |
static | Conversion to System.String(Implicit) | Converts the NSString to a CIL/C# string. |