You're here: Snippet Directory » Microsoft .NET (154)
Language:

System.Types.GetType mal abgekürzt

Language: Deutsch
Programming Language: VB.NET
Published by: Roland [not registered]
Last Update: 5/4/2006
Views: 991

Description

Erspart Tipparbeit :-)

Code

1 Public Class SysType 2 Public Shared ReadOnly Property [String]() As System.Type 3 Get 4 Return System.Type.GetType("System.String") 5 End Get 6 End Property 7 Public Shared ReadOnly Property [Boolean]() As System.Type 8 Get 9 Return System.Type.GetType("System.Boolean") 10 End Get 11 End Property 12 Public Shared ReadOnly Property [Byte]() As System.Type 13 Get 14 Return System.Type.GetType("System.Byte") 15 End Get 16 End Property 17 Public Shared ReadOnly Property [Char]() As System.Type 18 Get 19 Return System.Type.GetType("System.Char") 20 End Get 21 End Property 22 Public Shared ReadOnly Property [DateTime]() As System.Type 23 Get 24 Return System.Type.GetType("System.DateTime") 25 End Get 26 End Property 27 Public Shared ReadOnly Property [Decimal]() As System.Type 28 Get 29 Return System.Type.GetType("System.Decimal") 30 End Get 31 End Property 32 Public Shared ReadOnly Property [Double]() As System.Type 33 Get 34 Return System.Type.GetType("System.Double") 35 End Get 36 End Property 37 Public Shared ReadOnly Property [Int16]() As System.Type 38 Get 39 Return System.Type.GetType("System.Int16") 40 End Get 41 End Property 42 Public Shared ReadOnly Property [Int32]() As System.Type 43 Get 44 Return System.Type.GetType("System.Int32") 45 End Get 46 End Property 47 Public Shared ReadOnly Property [Int64]() As System.Type 48 Get 49 Return System.Type.GetType("System.Int64") 50 End Get 51 End Property 52 Public Shared ReadOnly Property [Object]() As System.Type 53 Get 54 Return System.Type.GetType("System.Object") 55 End Get 56 End Property 57 End Class 58

No comments avaiable

Add a comment

Name *  

Email (won't be displayed) *    

Website  

Comment *  

Sicherheitscode Security Code *    

RSS