MonobjcMonobjc Documented Class Library
InitWithString Method (description)
NamespacesMonobjc.FoundationNSDateInitWithString(NSString)

Returns an NSDate object initialized with a date and time value specified by a given string in the international string representation format.

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

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithString(
	NSString description
)
Public Overridable Function InitWithString ( _
	description As NSString _
) As Id
public:
virtual Id^ InitWithString(
	NSString^ description
)
Parameters
description (NSString)
A string that specifies a date and time value in the international string representation format—YYYY-MM-DD HH:MM:SS ±HHMM, where ±HHMM is a time zone offset in hours and minutes from GMT (for example, “2001-03-24 10:45:32 +0600”).
Return Value
An NSDate object initialized with a date and time value specified by aString.
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)