This method of the Variant Class sets the Variant object to be type VT_UI1 and clears the previous contents.
public void putByte(byte val);
Note The preferred way to create a VT_UI1 Variant is to use the following expression:
new Variant(Variant.VariantByte, val)
val | The new value. |