BitmapCodecInformation.CodecId 屬性

定義

解碼器或編碼器的唯一識別碼。 BitmapDecoder.CreateAsyncBitmapEncoder.CreateAsync等方法會使用編解碼器識別碼來判斷要建立的編解碼器。

public:
 property Platform::Guid CodecId { Platform::Guid get(); };
winrt::guid CodecId();
public Guid CodecId { get; }
var guid = bitmapCodecInformation.codecId;
Public ReadOnly Property CodecId As Guid

屬性值

Guid

Platform::Guid

winrt::guid

編解碼器唯一識別碼。

備註

影像格式的編碼器和解碼器是分開的,而且其編解碼器識別碼是不同的。

適用於

另請參閱