MonobjcMonobjc Documented Class Library
SetAttributeForKey Method (value, attributeKey)
NamespacesMonobjc.QTKitQTMediaSetAttributeForKey(Id, NSString)

Sets an attribute of a QTMedia object to a specified value.

Original signature is '- (void)setAttribute:(id)value forKey:(NSString *)attributeKey'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetAttributeForKey(
	Id value,
	NSString attributeKey
)
Public Overridable Sub SetAttributeForKey ( _
	value As Id, _
	attributeKey As NSString _
)
public:
virtual void SetAttributeForKey(
	Id^ value, 
	NSString^ attributeKey
)
Parameters
value (Id)
An object that specifies the value of the attribute to be written.
attributeKey (NSString)
An NSString object that specifies the attribute to be written; pass strings like QTMediaTimeScaleAttribute or QTMediaTypeAttribute. Possible attribute keys are listed in “Media Attributes.”
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)