Table of Contents

TopicTransformationCore.LanguageIdFor Method

Definition

Namespace
Sandcastle.Core.PresentationStyle.Transformation
Assembly
Sandcastle.Core.dll

This is used to get the language ID for the given language from a syntax section or code example

public static string LanguageIdFor(string codeLanguage)

Parameters

codeLanguage string

The code language for which to get the ID

Returns

string

The language ID if it could be determined or the code language if not or it belongs to a syntax generator.