FontInfo::ShouldSerializeNames Method ()

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Determines whether the Names property should be persisted.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public:
bool ShouldSerializeNames()

Return Value

Type: System::Boolean

true if the Names property has changed from its default value; otherwise, false.

Use the ShouldSerializeNames method to determine whether the Names property has changed from its default value. This method is commonly used if you are either creating a designer for the FontInfo class or creating your own control incorporating the FontInfo class.

System_CAPS_noteNote

The Names property must have at least one entry to be serialized.

.NET Framework
Available since 1.1
Return to top
Show: