Share via


TextFormattingRunProperties.SetCultureInfo(CultureInfo) Method

Definition

Gets a new TextFormattingRunProperties with the properties of this one but with the culture set to cultureInfo.

public:
 Microsoft::VisualStudio::Text::Formatting::TextFormattingRunProperties ^ SetCultureInfo(System::Globalization::CultureInfo ^ cultureInfo);
public Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties SetCultureInfo (System.Globalization.CultureInfo cultureInfo);
member this.SetCultureInfo : System.Globalization.CultureInfo -> Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties
Public Function SetCultureInfo (cultureInfo As CultureInfo) As TextFormattingRunProperties

Parameters

cultureInfo
CultureInfo

The new culture information.

Returns

The TextFormattingRunProperties.

Applies to