Will initialize a type by calling its static ( class) ctor and insures that it is only called once.
Syntax
Visual Basic (Declaration) | |
---|
Public Shared Sub InitializeType( _
ByVal t As Type _
) |
Visual Basic (Usage) | Copy Code |
---|
Dim t As Type
TypeFns.InitializeType(t) |
C# | |
---|
public static void InitializeType(
Type t
) |
C++/CLI | |
---|
public:
static void InitializeType(
Type^ t
) |
Parameters
- t
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also