ImageCodecInfo.GetImageDecoders 方法

定义

返回 ImageCodecInfo 对象的数组,这些对象包含有关内置在 GDI+ 中的图像解码器的信息。Returns an array of ImageCodecInfo objects that contain information about the image decoders built into GDI+.

public:
 static cli::array <System::Drawing::Imaging::ImageCodecInfo ^> ^ GetImageDecoders();
public static System.Drawing.Imaging.ImageCodecInfo[] GetImageDecoders ();
static member GetImageDecoders : unit -> System.Drawing.Imaging.ImageCodecInfo[]
Public Shared Function GetImageDecoders () As ImageCodecInfo()

返回

一个 ImageCodecInfo 对象数组。An array of ImageCodecInfo objects. 数组中的每个 ImageCodecInfo 对象都包含有关某一个内置图像编码解码器的信息。Each ImageCodecInfo object in the array contains information about one of the built-in image decoders.

示例

有关示例,请参见 GetImageEncodersFor an example, see GetImageEncoders.

适用于