CMAttachmentBearer.GetAttachments 方法

定义

重载

GetAttachments(ICMAttachmentBearer, CMAttachmentMode)

返回所有持有者附件和附件传播模式到 attachmentMode的数组。

GetAttachments<TKey,TValue>(ICMAttachmentBearer, CMAttachmentMode)

GetAttachments(ICMAttachmentBearer, CMAttachmentMode)

返回所有持有者附件和附件传播模式到 attachmentMode的数组。

public static Foundation.NSDictionary GetAttachments (this CoreMedia.ICMAttachmentBearer target, CoreMedia.CMAttachmentMode attachmentMode);
static member GetAttachments : CoreMedia.ICMAttachmentBearer * CoreMedia.CMAttachmentMode -> Foundation.NSDictionary

参数

target
ICMAttachmentBearer

此方法在其上运行的对象。

attachmentMode
CMAttachmentMode

一个 out 参数,它接收一个值,该值指示附件是否应传播。

返回

包含所有持有者附件的数组。

适用于

GetAttachments<TKey,TValue>(ICMAttachmentBearer, CMAttachmentMode)

public static Foundation.NSDictionary<TKey,TValue> GetAttachments<TKey,TValue> (this CoreMedia.ICMAttachmentBearer target, CoreMedia.CMAttachmentMode attachmentMode) where TKey : class, ObjCRuntime.INativeObject where TValue : class, ObjCRuntime.INativeObject;
static member GetAttachments : CoreMedia.ICMAttachmentBearer * CoreMedia.CMAttachmentMode -> Foundation.NSDictionary<'Key, 'Value (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject and 'Value : null and 'Value :> ObjCRuntime.INativeObject)> (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject and 'Value : null and 'Value :> ObjCRuntime.INativeObject)

类型参数

TKey
TValue

参数

attachmentMode
CMAttachmentMode

返回

适用于