MonobjcMonobjc Documented Class Library
InitWithSchemeHostPath Method (scheme, host, path)
NamespacesMonobjc.FoundationNSURLInitWithSchemeHostPath(NSString, NSString, NSString)

Initializes a newly created NSURL with a specified scheme, host, and path.

Original signature is '- (id)initWithScheme:(NSString *)scheme host:(NSString *)host path:(NSString *)path'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithSchemeHostPath(
	NSString scheme,
	NSString host,
	NSString path
Public Overridable Function InitWithSchemeHostPath ( _
	scheme As NSString, _
	host As NSString, _
	path As NSString _
) As Id
virtual Id^ InitWithSchemeHostPath(
	NSString^ scheme, 
	NSString^ host, 
	NSString^ path
scheme (NSString)
The scheme for the NSURL object.
host (NSString)
The host for the NSURL object. May be the empty string.
path (NSString)
The path for the NSURL object. If path begins with a tilde, it must first be expanded with stringByExpandingTildeInPath.
Return Value
The newly initialized NSURL object.
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)