FieldCurrency.CurrencyLocaleId 屬性
取得或設定值,指定用來設定欄位值格式的語言代碼識別碼 (LCID)。
命名空間: Microsoft.SharePoint.Client
組件: Microsoft.SharePoint.Client.Silverlight (在 Microsoft.SharePoint.Client.Silverlight.dll 中); Microsoft.SharePoint.Client.Phone (在 Microsoft.SharePoint.Client.Phone.dll 中) Microsoft.SharePoint.Client (在 Microsoft.SharePoint.Client.dll 中)
語法
'宣告
Public Property CurrencyLocaleId As Integer
Get
Set
'用途
Dim instance As FieldCurrency
Dim value As Integer
value = instance.CurrencyLocaleId
instance.CurrencyLocaleId = value
public int CurrencyLocaleId { get; set; }
屬性值
類型:System.Int32
傳回代表用來格式化欄位的值之語言的程式碼識別碼 (lcid) 碼Int32.instance。
例外狀況
例外狀況 | 條件 |
---|---|
[Microsoft.SharePoint.SPException] | 伺服器不允許變更欄位的內容。錯誤碼 ︰-2146232832。 |
備註
檔案必須是有效的語言程式碼識別項 (LCID)。LCID 是 4 位元組的值。LCID 中提供的值是標準的數字替代國際 [RFC4646] 字串。