获取默认属性的 PropertyDescriptor。
命名空间: Microsoft.TeamFoundation.Build.Workflow.Activities
程序集: Microsoft.TeamFoundation.Build.Workflow(在 Microsoft.TeamFoundation.Build.Workflow.dll 中)
语法
声明
Public Function GetDefaultProperty As PropertyDescriptor
public PropertyDescriptor GetDefaultProperty()
返回值
类型:System.ComponentModel.PropertyDescriptor
默认属性的 PropertyDescriptor。
实现
ICustomTypeDescriptor.GetDefaultProperty()
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。