ObjectDataSource.ParsingCulture 属性

定义

当将字符串值转换为实际属性类型来构造由 DataObjectTypeName 指示的对象类型时,获取或设置表示哪些区域性信息被用了的值。Gets a or sets a value that indicates what culture information is used when converting string values to actual property types in order to construct an object of the type indicated by DataObjectTypeName.

public:
 property System::Web::UI::WebControls::ParsingCulture ParsingCulture { System::Web::UI::WebControls::ParsingCulture get(); void set(System::Web::UI::WebControls::ParsingCulture value); };
public System.Web.UI.WebControls.ParsingCulture ParsingCulture { get; set; }
member this.ParsingCulture : System.Web.UI.WebControls.ParsingCulture with get, set
Public Property ParsingCulture As ParsingCulture

属性值

区域性信息。The culture information. 默认值为 InvariantThe default value is Invariant.

适用于

另请参阅