CMAttachmentBearer.GetAttachments 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetAttachments(ICMAttachmentBearer, CMAttachmentMode) |
返回所有持有者附件和附件传播模式到 |
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
参数
- target
- ICMAttachmentBearer
- attachmentMode
- CMAttachmentMode