MonobjcMonobjc Documented Class Library
TypeForKey Method (key)
NamespacesMonobjc.FoundationNSScriptClassDescriptionTypeForKey(NSString)

Returns the name of the declared type of the attribute or relationship identified by the passed key.

Original signature is '- (NSString *)typeForKey:(NSString *)key'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSString TypeForKey(
	NSString key
)
Public Overridable Function TypeForKey ( _
	key As NSString _
) As NSString
public:
virtual NSString^ TypeForKey(
	NSString^ key
)
Parameters
key (NSString)
The identifying key for an attribute, one-to-one relationship, or one-to-many relationship of the receiver.
Return Value
The name of the declared type of the attribute or relationship identified by key; for example, “NSString”. Searches in the receiver first, then in any superclass. Returns nil if no match is found.
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)