MonobjcMonobjc Documented Class Library
AttributeForKey Method (key)
NamespacesMonobjc.QTKitQTSampleBufferAttributeForKey(NSString)

Returns a sample buffer attribute for the given key.

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

Available in 5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id AttributeForKey(
	NSString key
)
Public Overridable Function AttributeForKey ( _
	key As NSString _
) As Id
public:
virtual Id^ AttributeForKey(
	NSString^ key
)
Parameters
key (NSString)
The key of the returned attribute. Attribute keys are described in the “Sample Buffer Attributes” section.
Return Value
An object for the given attribute key, or NIL if the sample buffer does not have the given attribute.
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.QTKit (Module: Monobjc.QTKit)