检索当前的组件名浏览对象。
命名空间: Microsoft.VisualStudio.Data.Framework
程序集: Microsoft.VisualStudio.Data.Framework(在 Microsoft.VisualStudio.Data.Framework.dll 中)
语法
声明
Public Overridable Function GetComponentName As String
public virtual string GetComponentName()
public:
virtual String^ GetComponentName()
abstract GetComponentName : unit -> string
override GetComponentName : unit -> string
public function GetComponentName() : String
返回值
类型:String
组件名,如果找不到,返回当前浏览的组件命名对象或空字符串。
实现
ICustomTypeDescriptor.GetComponentName
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。