MoveableDecoratorHostShape.ICustomTypeDescriptor.GetAttributes 方法
傳回這個元件執行個體的自訂屬性集合。
命名空間: Microsoft.VisualStudio.Modeling.Diagrams
組件: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)
語法
'宣告
Private Function GetAttributes As AttributeCollection
Implements ICustomTypeDescriptor.GetAttributes
AttributeCollection ICustomTypeDescriptor.GetAttributes()
傳回值
類型:System.ComponentModel.AttributeCollection
傳回父圖形的屬性。
實作
ICustomTypeDescriptor.GetAttributes()
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。