RegistrationAttribute.RegistrationContext.ComponentPath 属性

包含路径注册的元素。

命名空间:  Microsoft.VisualStudio.Shell
程序集:  Microsoft.VisualStudio.Shell.Immutable.10.0(在 Microsoft.VisualStudio.Shell.Immutable.10.0.dll 中)

语法

声明
Public MustOverride ReadOnly Property ComponentPath As String
public abstract string ComponentPath { get; }

属性值

类型:System.String
注册,包括文件名的元素的路径。

备注

始终使用 ComponentPath 属性设置为 " book ",而不是 CodeBase 属性的元素。ComponentPath 不总是指在磁盘上的物理路径。它可以是标识路径安装时的标记。元素是与对象注册到属性中找到的类型。

.NET Framework 安全性

请参见

参考

RegistrationAttribute.RegistrationContext 类

Microsoft.VisualStudio.Shell 命名空间

RegistrationAttribute.RegistrationContext