CMAttachmentBearer.GetAttachment 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetAttachment<T>(ICMAttachmentBearer, CMSampleBufferAttachmentKey, CMAttachmentMode) | |
GetAttachment<T>(ICMAttachmentBearer, String, CMAttachmentMode) |
傳回 所 |
GetAttachment<T>(ICMAttachmentBearer, CMSampleBufferAttachmentKey, CMAttachmentMode)
public static T GetAttachment<T> (this CoreMedia.ICMAttachmentBearer target, CoreMedia.CMSampleBufferAttachmentKey key, out CoreMedia.CMAttachmentMode attachmentModeOut) where T : class, ObjCRuntime.INativeObject;
static member GetAttachment : CoreMedia.ICMAttachmentBearer * CoreMedia.CMSampleBufferAttachmentKey * -> 'T (requires 'T : null and 'T :> ObjCRuntime.INativeObject)
類型參數
- T
參數
- target
- ICMAttachmentBearer
- attachmentModeOut
- CMAttachmentMode
傳回
T
適用於
GetAttachment<T>(ICMAttachmentBearer, String, CMAttachmentMode)
傳回 所 key
識別碼的附件,並將附件傳播模式寫入 。 attachmentModeOut
public static T GetAttachment<T> (this CoreMedia.ICMAttachmentBearer target, string key, out CoreMedia.CMAttachmentMode attachmentModeOut) where T : class, ObjCRuntime.INativeObject;
static member GetAttachment : CoreMedia.ICMAttachmentBearer * string * -> 'T (requires 'T : null and 'T :> ObjCRuntime.INativeObject)
類型參數
- T
要取得的附件類型。
參數
- target
- ICMAttachmentBearer
這個方法運作所在的 物件。
- key
- String
識別要傳回之附件的字串。
- attachmentModeOut
- CMAttachmentMode
接收值的 out 參數,指出附件是否應該傳播。
傳回
T
指定的附件。