RegionalSettings 成员

包括受保护的成员
包括继承的成员

表示在运行SharePoint Server服务器使用的区域设置。

RegionalSettings 类型公开以下成员。

构造函数

  名称 说明
公共方法 RegionalSettings 初始化RegionalSettings类的新实例。

页首

属性

  名称 说明
公共属性 AdjustHijriDays 获取和设置以增加或减少回历日历中的当前月份的天数。
公共属性 AlternateCalendarType 获取和设置服务器使用备用日历类型。
公共属性 AM 获取用于在服务器上表示 A.M. 的字符串。
公共属性 CalendarType 获取和设置服务器使用的日历类型。
公共属性 Collation 获取和设置的网站使用的排序规则。
公共属性 CollationLCID 获取网站上使用的排序规则的区域设置标识符 (LCID)。
公共属性 Context Returns the context that is associated with the client object. (从 ClientObject 继承。)
公共属性 DateFormat 获取在服务器上使用的日期格式。
公共属性 DateSeparator 使用每一位的
公共属性 DecimalSeparator 获取或设置一个值,该值指定在执行自定义操作时要执行的 ECMAScript。
公共属性 DigitGrouping 获取分组数字中使用的分隔符。
公共属性 FirstDayOfWeek 获取和设置用于在服务器上的日历中的一周的第一天。
公共属性 FirstWeekOfYear 获取和设置用于在服务器上的日历年的第一周。
公共属性 IsEastAsia 获取网站区域设置是否东亚语言的区域设置。
公共属性 IsRightToLeft 获取是否网站区域设置使用从右向左的语言。
公共属性 IsUIRightToLeft 获取是否网站用户界面 (UI) 使用从右向左的语言。
公共属性 ListSeparator 获取服务器上的列表中使用的分隔符。
公共属性 LocaleId 获取和在服务器上,在使用设置的区域设置标识符。
公共属性 NegativeSign 获取用于在服务器上表示减号的符号。
公共属性 NegNumberMode 根据服务器的区域设置,获取用于显示计算字段中的负数的负数模式。
受保护的属性 ObjectData Gets the object data for the current client object. (从 ClientObject 继承。)
公共属性 ObjectVersion Gets a string that indicates the version of the current client object. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
公共属性 Path Tracks how a client object is created in the ClientRuntimeContext class so that the object can be recreated on the server. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
公共属性 PM 获取用于在服务器上表示 P.M. 的字符串。
公共属性 PositiveSign 获取用于在服务器上表示加号的符号。
公共属性 ServerObjectIsNull Gets the server object and returns null if the server object is null. (从 ClientObject 继承。)
公共属性 ShowWeeks 获取和设置是否在日历的一天或周视图中显示周数。
公共属性 Tag Gets or sets data that is associated with the client object. (从 ClientObject 继承。)
公共属性 ThousandSeparator 获取服务器中数字使用的千位分隔符。
公共属性 Time24 获取和设置是否要使用表示小时的这一天的 24 小时时间格式。
公共属性 TimeMarkerPosition 获取一个值,该值指示 A.M. 和 P.M. 出现在时间字符串的前面还是后面。
公共属性 TimeSeparator 获取或设置一个值,该值指定列表视图是否是
公共属性 TimeZone 获取和设置服务器使用的时区。
公共属性 TimeZones 获取指定数组元素的值。
公共属性 TypedObject Gets the object with the correct type information returned from the server. (从 ClientObject 继承。)
公共属性 WorkDayEndHour 获取和设置默认小时工作日结束在服务器上使用的日历。
公共属性 WorkDays 获取和设置表示网站日历的工作日数。
公共属性 WorkDayStartHour 获取和设置默认小时工作日开始在该服务器正在使用的日历。

页首

方法

  名称 说明
受保护的方法 CheckUninitializedProperty Checks to determine whether the specified value type property of a ClientObject has been initialized. (从 ClientObject 继承。)
公共方法 CustomFromJson Returns a Boolean value that indicates whether custom code was used to populate an object. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
公共方法 FromJson Indicates whether custom code was used to populate an object. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
受保护的方法 InitNonPropertyFieldFromJson Initializes a non-property field of the client object based on JavaScript 对象表示法 (JSON) data from the server. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
受保护的方法 InitOnePropertyFromJson 此成员仅供内部使用,不能直接在您的代码中使用。 (覆盖 ClientObject.InitOnePropertyFromJson(String, JsonReader)。)
公共方法 IsObjectPropertyInstantiated Indicates whether the specified property of the client object is instantiated. (从 ClientObject 继承。)
公共方法 IsPropertyAvailable Returns a Boolean value that indicates whether the specified scalar property has been retrieved or set. (从 ClientObject 继承。)
受保护的方法 LoadExpandoFields Initializes the extended properties associated with the client object when overridden in a derived class. (从 ClientObject 继承。)
公共方法 RefreshLoad Reloads all scalar properties associated with the client object when overridden in a derived class. (从 ClientObject 继承。)
受保护的方法 RemoveFromParentCollection Removes the current client object from the parent client object collection. (从 ClientObject 继承。)
公共方法 Retrieve() Retrieves all scalar properties associated with the object. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
公共方法 Retrieve([]) Retrieves the specified scalar properties associated with the object. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
公共方法 ToString (从 Object 继承。)
公共方法 Update
受保护的方法 UpdateClientObjectPropertyType Updates the client object property's value to have correct type by using the type information returned from the server. (从 ClientObject 继承。)

页首

另请参阅

引用

RegionalSettings 类

Microsoft.SharePoint.Client 命名空间