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
'Declaration
Sub SetProperty ( _
propertyName As String, _
value As Object _
)
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: StringThe name of the property.
value
Type: ObjectThe 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
Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner Namespace