IVsProjectDesignerPage.SetProperty 方法
将给定属性的特定值。
命名空间: Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner
程序集: Microsoft.VisualStudio.ManagedInterfaces(在 Microsoft.VisualStudio.ManagedInterfaces.dll 中)
语法
声明
Sub SetProperty ( _
propertyName As String, _
value As Object _
)
void SetProperty(
string propertyName,
Object value
)
参数
- propertyName
类型:System.String
属性的名称。
- value
类型:System.Object
要设置的值。
备注
这是通过处理项目设计器调用撤消和重做操作。 页应设置特定属性值和更新其给定属性的用户界面。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner 命名空间