IPropertySettings 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
IPropertySettings 接口
public interface class IPropertySettings : System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>, System::Collections::Generic::IDictionary<System::String ^, System::Object ^>, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>
public interface IPropertySettings : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,object>>, System.Collections.Generic.IDictionary<string,object>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>>
type IPropertySettings = interface
interface IDictionary<string, obj>
interface ICollection<KeyValuePair<string, obj>>
interface seq<KeyValuePair<string, obj>>
interface IEnumerable
Public Interface IPropertySettings
Implements ICollection(Of KeyValuePair(Of String, Object)), IDictionary(Of String, Object), IEnumerable(Of KeyValuePair(Of String, Object))
- 派生
- 实现
-
ICollection<KeyValuePair<String,Object>> ICollection<KeyValuePair<TKey,TValue>> IDictionary<String,Object> IEnumerable<KeyValuePair<String,Object>> IEnumerable<KeyValuePair<TKey,TValue>> IEnumerable<T> IEnumerable
扩展方法
AddRange<TKey,TValue>(IDictionary<TKey,TValue>, IDictionary<TKey,TValue>, Boolean) |
将一个字典内容添加到另一个字典 |
GetOrDefault<TK,TV>(IDictionary<TK,TV>, TK) |
按给定键获取值。 |
EmptyIfNull<T>(IEnumerable<T>) |
如果枚举不为 null,则返回此枚举。 如果为 null,则返回空枚举。 |
Copy(IPropertySettings, Func<IPropertySettings>) |
配置实例的深层副本 |
GetPathValue<T>(IPropertySettings, String[]) |
使用路径检索值 |
GetValue<T>(IPropertySettings, String) |
获取 (T) 类型的值 |
GetValue<T>(IPropertySettings, String, T) |
获取 (T) 类型的值 |
GetValues(IPropertySettings, Object, BindingFlags, Func<String,String>) |
使用反射 API 的 GetValues |
GetValues(IPropertySettings, Object, PropertyInfo[], Func<String,String>) |
使用反射 API 的 GetValues |
SetValues(IPropertySettings, Object, BindingFlags, Func<String,String>) |
使用反射 API 的 SetValues |
SetValues(IPropertySettings, Object, PropertyInfo[], Func<String,String>) |
使用反射 API 的 SetValues |
TryGetValue<T>(IPropertySettings, String, T) |
TryGetValue 模式扩展 |