IVsProjectDesignerPage.SetProperty Method
Sets the given value for the given property.
Namespace: Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner
Assembly: Microsoft.VisualStudio.ManagedInterfaces (in Microsoft.VisualStudio.ManagedInterfaces.dll)
Syntax
'宣言
Sub SetProperty ( _
propertyName As String, _
value As Object _
)
'使用
Dim instance As IVsProjectDesignerPage
Dim propertyName As String
Dim value As Object
instance.SetProperty(propertyName, value)
void SetProperty(
string propertyName,
Object value
)
void SetProperty(
String^ propertyName,
Object^ value
)
abstract SetProperty :
propertyName:string *
value:Object -> unit
function SetProperty(
propertyName : String,
value : Object
)
Parameters
- propertyName
Type: System.String
The name of the property.
- value
Type: System.Object
The value to set.
Remarks
This is called by the Project Designer to handle Undo and Redo operations. The page should set the given property's value and also update its UI for the given property.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsProjectDesignerPage Interface
IVsProjectDesignerPage Members
Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner Namespace