Check Method

Vista Bridge Library

[This is preliminary documentation and is subject to change.]

Checks whether the icon has already been retrieved.

Namespace:  Microsoft.SDK.Samples.VistaBridge.Library.StockIcons
Assembly:  VistaBridgeLibrary (in VistaBridgeLibrary.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

C#
protected void Check()
Visual Basic (Declaration)
Protected Sub Check
Visual C++
protected:
void Check()

Remarks

This method is used by property setters to ensure that property values are not modified after the icon has been retrieved.

Exceptions

ExceptionCondition
System..::.InvalidOperationException You cannot modify the properties of a StockIcon object after its bitmap has been created.

See Also