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 Methods

The methods of the Icon class are listed below. For a complete list of Icon class members, see the Icon Members topic.

Public:

Clone Clones the icon object, creating a duplicate image.
CopyHandle Duplicates this icon's Win32 handle. You are responsible for freeing the returned handle when you are done with it.
Dispose Cleans up the resources allocated by this object. Once called, the cursor object is no longer useful.
Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
GetFromHandle [To be supplied.]
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the Object.
Save Saves this image to the given output stream.
ToBitmap [To be supplied.]
ToString Retrieves a human readable string representing the cursor.

Protected:

Finalize Cleans up Windows resources for this object.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Icon Class | System.Drawing Namespace