Initializes an NSURL object with a base URL and a relative string.
Original signature is '- (id)initWithString:(NSString *)URLString relativeToURL:(NSURL *)baseURL'
Available in Mac OS X v10.0 and later.

Declaration Syntax
public virtual Id InitWithStringRelativeToURL(
NSString URLString,
NSURL baseURL
)
Public Overridable Function InitWithStringRelativeToURL ( _
URLString As NSString, _
baseURL As NSURL _
) As Id
public:
virtual Id^ InitWithStringRelativeToURL(
NSString^ URLString,
NSURL^ baseURL
)

Parameters
- URLString (NSString)
- The string with which to initialize the NSURL object. Must conform to RFC 2396. URLString is interpreted relative to baseURL.
- baseURL (NSURL)
- The base URL for the NSURL object.

Return Value
An NSURL object initialized with URLString and baseURL. If URLString 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)