Microsoft SDK for Java

DateTimePicker.shouldPersistFormat

Retrieves a boolean value indicating whether the format property has been explicitly set.

Syntax

public boolean shouldPersistFormat()

Return Value

Returns true if the property has been explicitly set; returns false if it still has the default value of DateTimePickerFormat.LONG.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.