MonobjcMonobjc Documented Class Library
StringWithContentsOfURL Method (aURL)
NamespacesMonobjc.FoundationNSStringStringWithContentsOfURL(NSURL)

Returns a string created by reading data from the file named by a given URL. (Deprecated in Mac OS X v10.4. Use stringWithContentsOfURL:encoding:error: or stringWithContentsOfURL:usedEncoding:error: instead.)

Original signature is '+ (id)stringWithContentsOfURL:(NSURL *)aURL'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
[ObsoleteAttribute("Deprecated in Mac OS X v10.4. Use stringWithContentsOfURL:encoding:error: or stringWithContentsOfURL:usedEncoding:error: instead.")]
public static Id StringWithContentsOfURL(
	NSURL aURL
)
<ObsoleteAttribute("Deprecated in Mac OS X v10.4. Use stringWithContentsOfURL:encoding:error: or stringWithContentsOfURL:usedEncoding:error: instead.")> _
Public Shared Function StringWithContentsOfURL ( _
	aURL As NSURL _
) As Id
[ObsoleteAttribute(L"Deprecated in Mac OS X v10.4. Use stringWithContentsOfURL:encoding:error: or stringWithContentsOfURL:usedEncoding:error: instead.")]
public:
static Id^ StringWithContentsOfURL(
	NSURL^ aURL
)
Parameters
aURL (NSURL)
MISSING
Return Value

[Missing <returns> documentation for "M:Monobjc.Foundation.NSString.StringWithContentsOfURL(Monobjc.Foundation.NSURL)"]

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)