Microsoft SDK for Java

putDispatch

This method of the Variant Class sets the Variant object to type VT_DISPATCH and clears the previous contents.

Syntax

public native void putDispatch(Object val);

Note   The preferred way to create a VT_DISPATCH Variant is to use the following expression:

new Variant(val)

Parameters

val The new value.

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