次の方法で共有


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

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

IVsProjectDesignerPage Members

Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner Namespace