MonobjcMonobjc Documented Class Library
InitWithURL Method (url)

Returns an NSBundle object initialized to correspond to the specified file URL.

Original signature is '- (id)initWithURL:(NSURL *)url'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithURL(
	NSURL url
Public Overridable Function InitWithURL ( _
	url As NSURL _
) As Id
virtual Id^ InitWithURL(
	NSURL^ url
url (NSURL)
The file URL to a directory. This must be a full URL for a directory; if it contains any symbolic links, they must be resolvable.
Return Value
An NSBundle object initialized to correspond to url. This method initializes and returns a new instance only if there is no existing bundle associated with url, otherwise it deallocates self and returns the existing object. If url doesn’t exist or the user doesn’t have access to it, returns nil.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

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