Condividi tramite


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

'Dichiarazione
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

Return Value

Type: Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties
The TextFormattingRunProperties.

.NET Framework Security

See Also

Reference

TextFormattingRunProperties Class

Microsoft.VisualStudio.Text.Formatting Namespace