TextFormattingRunProperties.SetCultureInfo Method
Gets a new TextFormattingRunProperties with the properties of this one but with the culture set to the specified culture information.
Namespace: Microsoft.VisualStudio.Text.Formatting
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Déclaration
Public Function SetCultureInfo ( _
cultureInfo As CultureInfo _
) As TextFormattingRunProperties
public TextFormattingRunProperties SetCultureInfo(
CultureInfo cultureInfo
)
public:
TextFormattingRunProperties^ SetCultureInfo(
CultureInfo^ cultureInfo
)
member SetCultureInfo :
cultureInfo:CultureInfo -> TextFormattingRunProperties
public function SetCultureInfo(
cultureInfo : CultureInfo
) : TextFormattingRunProperties
Parameters
- cultureInfo
Type: System.Globalization.CultureInfo
The new culture information.
Return Value
Type: Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties
The TextFormattingRunProperties.
.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.