MonobjcMonobjc Documented Class Library
InitWithCalendarIdentifier Method (string)
NamespacesMonobjc.FoundationNSCalendarInitWithCalendarIdentifier(NSString)

Initializes a newly-allocated NSCalendar object for the calendar specified by a given identifier.

Original signature is '- (id)initWithCalendarIdentifier:(NSString *)string'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithCalendarIdentifier(
	NSString string
)
Public Overridable Function InitWithCalendarIdentifier ( _
	string As NSString _
) As Id
public:
virtual Id^ InitWithCalendarIdentifier(
	NSString^ string
)
Parameters
string (NSString)
The identifier for the new calendar. For valid identifiers, see NSLocale.
Return Value
The initialized calendar, or nil if the identifier is unknown (if, for example, it is either an unrecognized string or the calendar is not supported by the current version of the operating system).
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)