MonobjcMonobjc Documented Class Library
AccessibilitySetOverrideValueForAttribute Method (value, attribute)
NamespacesMonobjc.AppKitINSAccessibilityAccessibilitySetOverrideValueForAttribute(Id, NSString)

Overrides the specified attribute in the receiver, or adds it if it does not exist, and sets its value to the specified value.

Original signature is '- (BOOL)accessibilitySetOverrideValue:(id)value forAttribute:(NSString *)attribute'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
bool AccessibilitySetOverrideValueForAttribute(
	Id value,
	NSString attribute
Function AccessibilitySetOverrideValueForAttribute ( _
	value As Id, _
	attribute As NSString _
) As Boolean
bool AccessibilitySetOverrideValueForAttribute(
	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.
Return Value
YES if the override was successful; otherwise, NO.
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)