Compartir a través de


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: String

    The name of the property.

  • value
    Type: 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

See Also

Reference

IVsProjectDesignerPage Interface

Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner Namespace