WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIWritableVariant

IID:5586a590-8c82-11d5-90f3-0010a4e73d9a
Inherits From:nsIVariant

This interface is implemented by the following components:


Properties

PRBool writable


Methods

void setAsACString ( ACString value ) [noscript] void setAsArray ( PRUint16 type , nsIIDPtr iid , PRUint32 count , voidPtr* ptr ) void setAsAString ( AString value ) void setAsAUTF8String ( AUTF8String value ) void setAsBool ( PRBool value ) void setAsChar ( char value ) void setAsDOMString ( DOMString value ) void setAsDouble ( double value ) void setAsEmpty ( ) void setAsEmptyArray ( ) void setAsFloat ( float value ) void setAsID ( nsIDRef value ) void setAsInt16 ( PRInt16 value ) void setAsInt32 ( PRInt32 value ) void setAsInt64 ( PRInt64 value ) void setAsInt8 ( PRUint8 value ) void setAsInterface ( nsIIDRef iid , nsQIResult* iface ) void setAsISupports ( nsISupports value ) void setAsString ( char* value ) void setAsStringWithSize ( PRUint32 size , char* str ) void setAsUint16 ( PRUint16 value ) void setAsUint32 ( PRUint32 value ) void setAsUint64 ( PRUint64 value ) void setAsUint8 ( PRUint8 value ) void setAsVoid ( ) void setAsWChar ( PRUnichar value ) void setAsWString ( PRUnichar* value ) void setAsWStringWithSize ( PRUint32 size , PRUnichar* str ) void setFromVariant ( nsIVariant value )

void setAsACString ( ACString value )

Arguments:
value

void setAsArray ( PRUint16 type , nsIIDPtr iid , PRUint32 count , voidPtr* ptr )

Arguments:
type
iid
count
ptr

void setAsAString ( AString value )

Arguments:
value

void setAsAUTF8String ( AUTF8String value )

Arguments:
value

void setAsBool ( PRBool value )

Arguments:
value

void setAsChar ( char value )

Arguments:
value

void setAsDOMString ( DOMString value )

Arguments:
value

void setAsDouble ( double value )

Arguments:
value

void setAsEmpty ( )


void setAsEmptyArray ( )


void setAsFloat ( float value )

Arguments:
value

void setAsID ( nsIDRef value )

Arguments:
value

void setAsInt16 ( PRInt16 value )

Arguments:
value

void setAsInt32 ( PRInt32 value )

Arguments:
value

void setAsInt64 ( PRInt64 value )

Arguments:
value

void setAsInt8 ( PRUint8 value )

Arguments:
value

void setAsInterface ( nsIIDRef iid , nsQIResult* iface )

Arguments:
iid
iface

void setAsISupports ( nsISupports value )

Arguments:
value

void setAsString ( char* value )

Arguments:
value

void setAsStringWithSize ( PRUint32 size , char* str )

Arguments:
size
str

void setAsUint16 ( PRUint16 value )

Arguments:
value

void setAsUint32 ( PRUint32 value )

Arguments:
value

void setAsUint64 ( PRUint64 value )

Arguments:
value

void setAsUint8 ( PRUint8 value )

Arguments:
value

void setAsVoid ( )


void setAsWChar ( PRUnichar value )

Arguments:
value

void setAsWString ( PRUnichar* value )

Arguments:
value

void setAsWStringWithSize ( PRUint32 size , PRUnichar* str )

Arguments:
size
str

void setFromVariant ( nsIVariant value )

Arguments:
value

Reference documentation is generated from Mozilla's source.