nsIVariant

IID:6c9eb060-8c6a-11d5-90f3-0010a4e73d9a
Inherits From:nsISupports

This interface is implemented by the following components:


Properties

readonly PRUint16 dataType


Methods

[noscript] ACString getAsACString ( ) [notxpcom] nsresult getAsArray ( out PRUint16 type , out nsIID iid , out PRUint32 count , out voidPtr* ptr ) [noscript] AString getAsAString ( ) [noscript] AUTF8String getAsAUTF8String ( ) [noscript] PRBool getAsBool ( ) [noscript] char getAsChar ( ) [noscript] DOMString getAsDOMString ( ) [noscript] double getAsDouble ( ) [noscript] float getAsFloat ( ) [notxpcom] nsresult getAsID ( out nsID retval ) [noscript] PRInt16 getAsInt16 ( ) [noscript] PRInt32 getAsInt32 ( ) [noscript] PRInt64 getAsInt64 ( ) [noscript] PRUint8 getAsInt8 ( ) [noscript] void getAsInterface ( out nsIIDPtr iid , out nsQIResult* iface ) [noscript] nsISupports getAsISupports ( ) [noscript] char* getAsString ( ) [noscript] void getAsStringWithSize ( out PRUint32 size , out char* str ) [noscript] PRUint16 getAsUint16 ( ) [noscript] PRUint32 getAsUint32 ( ) [noscript] PRUint64 getAsUint64 ( ) [noscript] PRUint8 getAsUint8 ( ) [noscript] PRUnichar getAsWChar ( ) [noscript] PRUnichar* getAsWString ( ) [noscript] void getAsWStringWithSize ( out PRUint32 size , out PRUnichar* str )

ACString getAsACString ( )


[notxpcom] nsresult getAsArray ( out PRUint16 type , out nsIID iid , out PRUint32 count , out voidPtr* ptr )

Arguments:
type
iid
count
ptr

AString getAsAString ( )


AUTF8String getAsAUTF8String ( )


PRBool getAsBool ( )


char getAsChar ( )


DOMString getAsDOMString ( )


double getAsDouble ( )


float getAsFloat ( )


[notxpcom] nsresult getAsID ( out nsID retval )

Arguments:
retval

PRInt16 getAsInt16 ( )


PRInt32 getAsInt32 ( )


PRInt64 getAsInt64 ( )


PRUint8 getAsInt8 ( )


void getAsInterface ( out nsIIDPtr iid , out nsQIResult* iface )

Arguments:
iid
iface

nsISupports getAsISupports ( )


char* getAsString ( )


void getAsStringWithSize ( out PRUint32 size , out char* str )

Arguments:
size
str

PRUint16 getAsUint16 ( )


PRUint32 getAsUint32 ( )


PRUint64 getAsUint64 ( )


PRUint8 getAsUint8 ( )


PRUnichar getAsWChar ( )


PRUnichar* getAsWString ( )


void getAsWStringWithSize ( out PRUint32 size , out PRUnichar* str )

Arguments:
size
str

References

This interface is the type of the following properties:

nsIDOMCanvasRenderingContext2D.fillStyle, nsIDOMCanvasRenderingContext2D.strokeStyle, nsIProperty.value, nsISOAPBlock.value, nsIScriptableConstant.value

This interface is passed as an argument to the following methods:

nsIDOM3Node.setUserData, nsIDOMDOMConfiguration.canSetParameter, nsIDOMDOMConfiguration.setParameter, nsIDOMUserDataHandler.handle, nsISOAPEncoder.encode, nsISOAPEncoding.encode, nsISOAPPropertyBagMutator.addProperty, nsIWritablePropertyBag.setProperty, nsIWritableVariant.setFromVariant, nsIXMLHttpRequest.send, nsIXPConnect.variantToJS, nsIXSLTProcessor.setParameter

This interface is returned from the following methods:

nsIDOM3Node.getUserData, nsIDOM3Node.setUserData, nsIDOMDOMConfiguration.getParameter, nsIPropertyBag.getProperty, nsISOAPDecoder.decode, nsISOAPEncoding.decode, nsIXPConnect.JSToVariant, nsIXSLTProcessor.getParameter

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com