MoveableDecoratorHostShape.ICustomTypeDescriptor.GetPropertyOwner 方法
傳回物件,包含指定的屬性描述項所描述的屬性。
命名空間: Microsoft.VisualStudio.Modeling.Diagrams
組件: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)
語法
'宣告
Private Function GetPropertyOwner ( _
pd As PropertyDescriptor _
) As Object Implements ICustomTypeDescriptor.GetPropertyOwner
Object ICustomTypeDescriptor.GetPropertyOwner(
PropertyDescriptor pd
)
參數
- pd
類型:System.ComponentModel.PropertyDescriptor
System.ComponentModel.PropertyDescriptor,表示要搜尋其擁有者的屬性。
傳回值
類型:System.Object
指定的屬性描述元的擁有者物件,它將會是父圖案。
實作
ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor)
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。