NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Icon.CopyHandle

Duplicates this icon's Win32 handle. You are responsible for freeing the returned handle when you are done with it.

[Visual Basic]
Public Function CopyHandle() As Integer
[C#]
public int CopyHandle();
[C++]
public: int CopyHandle();
[JScript]
public function CopyHandle() : int;

Return Value

a Win32 icon handle.

See Also

Icon Class | Icon Members | System.Drawing Namespace