IAttributes interface
可擴展屬性的對(duì)象接口。 系統以鍵/值對(duì)的方式存儲數據,鍵不區分大小寫。
public interface IAttributes
1
Members
| name | description |
|---|---|
| ContainsKey(…) | 确定是否實例包含指定鍵。 |
| Get(…) | 獲取與指定鍵關聯的值。 |
| GetBool(…) | 獲取與指定鍵關聯的值。 |
| GetDateTime(…) | 獲取與指定鍵關聯的值。 |
| GetDecimal(…) | 獲取與指定鍵關聯的值。 |
| GetInt(…) | 獲取與指定鍵關聯的值。 |
| GetString(…) | 獲取與指定鍵關聯的值。 |
| Load(…) | 將(jiāng) IDataReader 中的數據導入到實例中。 如果現有數據和導入數據名稱沖突,系統將(jiāng)使用導入的數據覆蓋現有的數據。 (8 methods) |
| Remove(…) | 將(jiāng)帶有指定鍵的值從實例中移除。 |
| Set(…) | 將(jiāng)指定的鍵和值添加到實例中。 |
| ToDictionary() | 返回表示鍵和值的集合 Dictionary |
| ToString() | 將(jiāng)實例序列化爲JSON字符串并返回 |
| ToString(…) | 將(jiāng)實例序列化爲JSON字符串并返回 |
