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: System.StringThe string to convert.
Return Value
Type: System.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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Other Resources
How to: Compile and Run the Automation Object Model Code Examples