NumberSubstitution.GetCultureOverride(DependencyObject) 方法

定义

从提供的元素返回 CultureOverride 的值。

public:
 static System::Globalization::CultureInfo ^ GetCultureOverride(System::Windows::DependencyObject ^ target);
[System.ComponentModel.TypeConverter(typeof(System.Windows.CultureInfoIetfLanguageTagConverter))]
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static System.Globalization.CultureInfo GetCultureOverride (System.Windows.DependencyObject target);
[<System.ComponentModel.TypeConverter(typeof(System.Windows.CultureInfoIetfLanguageTagConverter))>]
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetCultureOverride : System.Windows.DependencyObject -> System.Globalization.CultureInfo
Public Shared Function GetCultureOverride (target As DependencyObject) As CultureInfo

参数

target
DependencyObject

要为其返回 CultureOverride 值的元素。

返回

表示用作重写的区域性的 CultureInfo 值。

属性

适用于