返回属性的集合当前的浏览对象。
命名空间: Microsoft.VisualStudio.Data.Framework
程序集: Microsoft.VisualStudio.Data.Framework(在 Microsoft.VisualStudio.Data.Framework.dll 中)
语法
声明
Public Overridable Function GetAttributes As AttributeCollection
public virtual AttributeCollection GetAttributes()
public:
virtual AttributeCollection^ GetAttributes()
abstract GetAttributes : unit -> AttributeCollection
override GetAttributes : unit -> AttributeCollection
public function GetAttributes() : AttributeCollection
返回值
类型:System.ComponentModel.AttributeCollection
返回属性的集合当前的浏览对象。
实现
ICustomTypeDescriptor.GetAttributes()
备注
此方法通过调用 GetAttributes 方法获取属性并更新属性的该集合从现有的属性。
默认特性或属性使用NULL值从属性的返回的集合中排除。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。