CMAttachmentBearer.SetAttachment Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attaches value
to the bearer with the specified key
and attachmentMode
.
public static void SetAttachment (this CoreMedia.ICMAttachmentBearer target, string key, ObjCRuntime.INativeObject value, CoreMedia.CMAttachmentMode attachmentMode);
static member SetAttachment : CoreMedia.ICMAttachmentBearer * string * ObjCRuntime.INativeObject * CoreMedia.CMAttachmentMode -> unit
Parameters
- target
- ICMAttachmentBearer
The object on which this method operates.
- key
- String
The string that identifies the attachment to set.
- value
- INativeObject
The object to attach.
- attachmentMode
- CMAttachmentMode
A value that tells whether the attachment should propagate or not.