共用方式為


AudioFile.GetProperty 方法

定義

多載

GetProperty(AudioFileProperty, Int32)

傳回指定音訊屬性的值,並儲存配置以儲存在 中的 size 位元組數目。

GetProperty(AudioFileProperty, Int32, IntPtr)

傳回指定音訊屬性的值、將其儲存在 中 outData ,並儲存配置以儲存在 中的 dataSize 位元組數目。

GetProperty(AudioFileProperty, Int32)

傳回指定音訊屬性的值,並儲存配置以儲存在 中的 size 位元組數目。

public IntPtr GetProperty (AudioToolbox.AudioFileProperty property, out int size);
member this.GetProperty : AudioToolbox.AudioFileProperty *  -> nativeint

參數

size
Int32

傳回

IntPtr

nativeint

適用於

GetProperty(AudioFileProperty, Int32, IntPtr)

傳回指定音訊屬性的值、將其儲存在 中 outData ,並儲存配置以儲存在 中的 dataSize 位元組數目。

public bool GetProperty (AudioToolbox.AudioFileProperty property, ref int dataSize, IntPtr outdata);
member this.GetProperty : AudioToolbox.AudioFileProperty *  * nativeint -> bool

參數

dataSize
Int32
outdata
IntPtr

nativeint

傳回

適用於