SfcObjectExtender<TSfcInstance>.RegisterProperty 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| RegisterProperty(PropertyInfo) |
注册其他反射属性 |
| RegisterProperty(PropertyInfo, String) |
注册其他反射属性,具体取决于父对象中的属性 |
RegisterProperty(PropertyInfo)
注册其他反射属性
protected void RegisterProperty(System.Reflection.PropertyInfo propertyInfo);
member this.RegisterProperty : System.Reflection.PropertyInfo -> unit
Protected Sub RegisterProperty (propertyInfo As PropertyInfo)
参数
- propertyInfo
- PropertyInfo
适用于
RegisterProperty(PropertyInfo, String)
注册其他反射属性,具体取决于父对象中的属性
protected void RegisterProperty(System.Reflection.PropertyInfo propertyInfo, string parentPropertyName);
member this.RegisterProperty : System.Reflection.PropertyInfo * string -> unit
Protected Sub RegisterProperty (propertyInfo As PropertyInfo, parentPropertyName As String)
参数
- propertyInfo
- PropertyInfo
Reflected 属性
- parentPropertyName
- String
父属性名称