SfcObjectExtender<TSfcInstance>.RegisterProperty 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| 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
反射性質
- parentPropertyName
- String
母產業名稱