downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

variant_cat> <variant_and
[edit] Last updated: Fri, 24 May 2013

view this page in

variant_cast

(PHP 5)

variant_castConvertit un variant en un nouvel objet variant de type différent

Description

variant variant_cast ( variant $variant , int $type )

Cette fonction crée une copie de variant et effectue alors un transtypage pour forcer la copie à avoir le type donné par type.

Cette fonction est en fait la fonction VariantChangeType() de la bibliothèque COM ; consultez MSDN pour plus d'informations.

Liste de paramètres

variant

Le variant.

type

type doit être un type parmi les constantes VT_XXX.

Valeurs de retour

Retourne un variant VT_DATE.

Voir aussi



add a note add a note User Contributed Notes variant_cast - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites