diff --git a/xml/System.Windows.Forms/InputLanguage.xml b/xml/System.Windows.Forms/InputLanguage.xml index 9788e885226..7c92fb0350e 100644 --- a/xml/System.Windows.Forms/InputLanguage.xml +++ b/xml/System.Windows.Forms/InputLanguage.xml @@ -436,16 +436,15 @@ Specifically, this method performs the following operations: Gets the name of the current keyboard layout as it appears in the regional settings of the operating system on the computer. The name of the layout. - is called to get the current input language. Then, is called to get the culture information for this input language. Finally, is retrieved and displayed in a text box. +In the following example, is called to get the current input language. Then, is called to get the keyboard layout name and display it in a text box. - :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic InputLanguage.LayoutName Example/CPP/source.cpp" id="Snippet1"::: - :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/InputLanguage/LayoutName/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/InputLanguage/LayoutName/source.vb" id="Snippet1"::: +:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic InputLanguage.LayoutName Example/CPP/source.cpp" id="Snippet1"::: +:::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/InputLanguage/LayoutName/source.cs" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/InputLanguage/LayoutName/source.vb" id="Snippet1"::: ]]>