CodeModel2.DotNetNameFromLanguageSpecific Method

Converts a native language string to .NET format.

Namespace:  EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

Syntax

'Declaration
Function DotNetNameFromLanguageSpecific ( _
    LanguageName As String _
) As String
string DotNetNameFromLanguageSpecific(
    string LanguageName
)
String^ DotNetNameFromLanguageSpecific(
    String^ LanguageName
)
abstract DotNetNameFromLanguageSpecific : 
        LanguageName:string -> string
function DotNetNameFromLanguageSpecific(
    LanguageName : String
) : String

Parameters

  • LanguageName
    Type: String

    The string to convert.

Return Value

Type: String
The converted string.

Remarks

Takes the input string in a native language and converts it to .NET format. For Visual C# and Visual Basic, System.Windows.Forms remains the same. For Visual C++, System::Windows::Forms becomes System.Windows.Forms.

Note

The values of code model elements such as classes, structs, functions, attributes, delegates, and so forth can be non-deterministic after making certain kinds of edits, meaning that their values cannot be relied upon to always remain the same. For more information, see the section Code Model Element Values Can Change in Discovering Code by Using the Code Model (Visual Basic).

.NET Framework Security

See Also

Reference

CodeModel2 Interface

EnvDTE80 Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples

Discovering Code by Using the Code Model (Visual Basic)

Discovering Code by Using the Code Model (Visual C#)