Microsoft SDK for Java

putEmpty

This method of the Variant Class sets the Variant object to type VT_EMPTY and clears the previous contents. The expression:

new Variant()

creates a new Variant object that is already type VT_EMPTY, so it is not necessary to invoke the putEmpty method on such an object.

Syntax

public void putEmpty();

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