Topic Transformation CoreLanguage Id For Method
This is used to get the language ID for the given language from a syntax section or code example
Definition
Namespace: Sandcastle.Core.PresentationStyle.Transformation
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
The language ID if it could be determined or the code language if not or it belongs to a syntax generator.
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
C#
public static string LanguageIdFor(
string codeLanguage
)VB
Public Shared Function LanguageIdFor (
codeLanguage As String
) As StringC++
public:
static String^ LanguageIdFor(
String^ codeLanguage
)F#
static member LanguageIdFor :
codeLanguage : string -> string Parameters
- codeLanguage String
- The code language for which to get the ID
Return Value
StringThe language ID if it could be determined or the code language if not or it belongs to a syntax generator.