RegistrationAttribute.Key.CreateSubkey 方法
创建新记录键。新的键是当前 Key的子级。
命名空间: Microsoft.VisualStudio.Shell
程序集: Microsoft.VisualStudio.Shell.Immutable.10.0(在 Microsoft.VisualStudio.Shell.Immutable.10.0.dll 中)
语法
声明
Public MustOverride Function CreateSubkey ( _
name As String _
) As RegistrationAttribute.Key
public abstract RegistrationAttribute.Key CreateSubkey(
string name
)
参数
- name
类型:System.String
新键的名称。此名称是相对于当前密钥。null 或 nullnull 引用(在 Visual Basic 中为 Nothing) 字符串设置键的默认值。
返回值
类型:Microsoft.VisualStudio.Shell.RegistrationAttribute.Key
新创建的 Key。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。