Returns a string containing a given number of characters taken from a given C array of Unicode characters.
Original signature is '+ (id)stringWithCharacters:(const unichar *)chars length:(NSUInteger)length'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static NSString StringWithCharactersLength( IntPtr chars, NSUInteger length )
Public Shared Function StringWithCharactersLength ( _ chars As IntPtr, _ length As NSUInteger _ ) As NSString
public: static NSString^ StringWithCharactersLength( IntPtr chars, NSUInteger length )
Parameters
- chars (IntPtr)
- A C array of Unicode characters; the value must not be NULL.
- length (NSUInteger)
- The number of characters to use from chars.
Return Value
A string containing length Unicode characters taken (starting with the first) from chars.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)