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
指定した添付ファイル。