Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CType story
Message
De
26/02/2011 15:12:37
 
 
À
26/02/2011 15:04:16
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01501880
Message ID:
01501955
Vues:
32
>>I'm not seeing the blue in the IDE - only in the UT message.
>
>In my IDE, when CType is typed, is appears in blue.

Depending on the context in which it is used? From my earlier example:
Dim c1 As Class1 = New Class1
        ' Ctype in black:
        Dim theLength As Integer = c1.Ctype.Length
        'Ctype in blue:
        Dim d As Double = CType(theLength, Double)
But I don't know how you would use Ctype as a converter within the namespace that defines CType as a string :-{
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform