MonobjcMonobjc Documented Class Library
ValueForAttribute Method (key)
NamespacesMonobjc.FoundationNSMetadataItemValueForAttribute(NSString)

Returns the receiver’s metadata attribute name specified by a given key.

Original signature is '- (id)valueForAttribute:(NSString *)key'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id ValueForAttribute(
	NSString key
)
Public Overridable Function ValueForAttribute ( _
	key As NSString _
) As Id
public:
virtual Id^ ValueForAttribute(
	NSString^ key
)
Parameters
key (NSString)
The name of a metadata attribute.
Return Value
The receiver’s metadata attribute name specified by key.
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)