Amazon Wish List News RSS feed. Development Blog Browse the Forums  
  Overview - Downloads - Examples - News Feed - Contact Info -

ClassBuilder.ClassFromString Method (String, String, NetLanguage)

Compiles the source code passed and returns the Type with the name className.

[Visual Basic]
Overloads Public Shared Function ClassFromString( _
   ByVal classStr As String, _
   ByVal className As String, _
   ByVal lang As NetLanguage _
) As Type
[C#]
public static Type ClassFromString(
   string classStr,
   string className,
   NetLanguage lang
);

Parameters

classStr
The Source Code of the class in the specified language
className
The Name of the Type that must be returned
lang
One of the .NET Languages

Return Value

The Type generated by runtime compilation of the class source.

See Also

ClassBuilder Class | FileHelpers.RunTime Namespace | ClassBuilder.ClassFromString Overload List


Powered by:

Source Forge Thanks Jetbrains for support us !! Thanks BB Software for support us !! TestDriven.NET Code Coverage by Clover.NET Code Project Article Larkware News Sharp Toolbox