移除一个本身无法识别的属性。
命名空间: Microsoft.VisualStudio.Data
程序集: Microsoft.VisualStudio.Data(在 Microsoft.VisualStudio.Data.dll 中)
语法
声明
Protected Sub RemoveProperty ( _
name As String _
)
protected void RemoveProperty(
string name
)
protected:
void RemoveProperty(
String^ name
)
member RemoveProperty :
name:string -> unit
protected function RemoveProperty(
name : String
)
参数
- name
类型:System.String
要移除的属性的名称。
异常
异常 | 条件 |
---|---|
ArgumentNullException | name 参数为 null。 |
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。