MonobjcMonobjc Documented Class Library
NSURL Constructor (URLString)

Initializes an NSURL object with a provided string.

Original signature is '- (id)initWithString:(NSString *)URLString'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public NSURL(
	NSString URLString
Public Sub New ( _
	URLString As NSString _
	NSString^ URLString
URLString (NSString)
The string with which to initialize the NSURL object. This string must conform to URL format as described in RFC 2396. This method parses URLString according to RFCs 1738 and 1808.
Return Value
An NSURL object initialized with URLString. If the string was malformed, returns nil.
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)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)