MonobjcMonobjc Documented Class Library
AddValueWithLabel Method (value, label)
NamespacesMonobjc.AddressBookABMutableMultiValueAddValueWithLabel(Id, NSString)

Adds a value and its label to a multivalue list.

Original signature is '- (NSString *)addValue:(id)value withLabel:(NSString *)label'

Available in Mac OS X v10.2 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSString AddValueWithLabel(
	Id value,
	NSString label
Public Overridable Function AddValueWithLabel ( _
	value As Id, _
	label As NSString _
) As NSString
virtual NSString^ AddValueWithLabel(
	Id^ value, 
	NSString^ label
value (Id)
The value to add.
label (NSString)
The label to associate with the value.
Return Value
The new identifier if value is added successfully; otherwise, nil.
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.AddressBook (Module: Monobjc.AddressBook)