MonobjcMonobjc Documented Class Library
StringForKeyInTable Method (key, table)
NamespacesMonobjc.AppKitNSPrinterStringForKeyInTable(NSString, NSString)

Returns the first occurrence of a value associated with specified key.

Original signature is '- (NSString *)stringForKey:(NSString *)key inTable:(NSString *)table'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSString StringForKeyInTable(
	NSString key,
	NSString table
)
Public Overridable Function StringForKeyInTable ( _
	key As NSString, _
	table As NSString _
) As NSString
public:
virtual NSString^ StringForKeyInTable(
	NSString^ key, 
	NSString^ table
)
Parameters
key (NSString)
The key whose value you want.
table (NSString)
The name of a table from the printer's PPD file.
Return Value
The value for the specified key, or nil if the key is not in the table. The returned string may also be empty.
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.AppKit (Module: Monobjc.AppKit)