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

search for in the

variant_cat> <variant_and
Last updated: Fri, 11 Apr 2008

view this page in

variant_cast

(PHP 5)

variant_cast — Convertit 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
There are no user contributed notes for this page.

variant_cat> <variant_and
Last updated: Fri, 11 Apr 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites