IconEditor.LoadFromStream(Stream) 方法

定义

从给定的流创建新的 Icon

protected:
 virtual System::Drawing::Icon ^ LoadFromStream(System::IO::Stream ^ stream);
protected virtual System.Drawing.Icon LoadFromStream (System.IO.Stream stream);
abstract member LoadFromStream : System.IO.Stream -> System.Drawing.Icon
override this.LoadFromStream : System.IO.Stream -> System.Drawing.Icon
Protected Overridable Function LoadFromStream (stream As Stream) As Icon

参数

stream
Stream

将从其创建图标的源流。

返回

新创建的 Icon

适用于