共用方式為


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

傳回

適用於