Framework calls the method to retrieve an icon to be used as the window icon. The implementation can return a valid pointer to a IPictureDisp object or null if a default icon should be used.
[Visual Basic .NET] |
---|
Public Function GetIcon() As Picture |
[C#] |
---|
public System.Drawing.Image GetIcon(); |
[Managed C++] |
---|
public: stdole::IPictureDisp ^ GetIcon(); |
[Unmanaged C++] |
---|
public: HRESULT GetIcon( stdole::IPictureDisp ** ppRetVal ); |
[Java] |
---|
public Picture getIcon(); |