MonobjcMonobjc Documented Class Library
AccessibilitySetValueForAttribute Method (value, attribute)
NamespacesMonobjc.AppKitINSAccessibilityAccessibilitySetValueForAttribute(Id, NSString)

Sets the value of the specified attribute in the receiver to the specified value.

Original signature is '- (void)accessibilitySetValue:(id)value forAttribute:(NSString *)attribute'

Available in Mac OS X v10.2 and later.

Declaration Syntax
C#Visual BasicVisual C++
void AccessibilitySetValueForAttribute(
	Id value,
	NSString attribute
Sub AccessibilitySetValueForAttribute ( _
	value As Id, _
	attribute As NSString _
void AccessibilitySetValueForAttribute(
	Id^ value, 
	NSString^ attribute
value (Id)
The attribute value to set.
attribute (NSString)
The name of the attribute. See “Constants” for lists of attribute names.
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)