System::Drawing::Imaging::ImageFormat::Equals 方法

ImageFormat::Equals method

确定当前对象和指定对象所表示的图像格式是否相等。

bool System::Drawing::Imaging::ImageFormat::Equals(ImageFormatPtr format) const
参数类型描述
格式ImageFormatPtr用于与当前对象比较的图像格式对象

ReturnValue

如果当前对象和指定对象表示相同的图像格式,则为 true;否则为 false

另见