次の方法で共有


IVsProjectDesignerPage.SupportsMultipleValueUndo Method

Determines the given property supports getting and setting multiple values at the same time.

Namespace:  Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner
Assembly:  Microsoft.VisualStudio.ManagedInterfaces (in Microsoft.VisualStudio.ManagedInterfaces.dll)

Syntax

'宣言
Function SupportsMultipleValueUndo ( _
    propertyName As String _
) As Boolean
'使用
Dim instance As IVsProjectDesignerPage
Dim propertyName As String
Dim returnValue As Boolean

returnValue = instance.SupportsMultipleValueUndo(propertyName)
bool SupportsMultipleValueUndo(
    string propertyName
)
bool SupportsMultipleValueUndo(
    String^ propertyName
)
abstract SupportsMultipleValueUndo : 
        propertyName:string -> bool 
function SupportsMultipleValueUndo(
    propertyName : String
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the given property supports getting and setting multiple values at the same time.

Remarks

Multiple values should be set simultaneously in order to support Undo and Redo operations when multiple configurations are selected by the user. This function should always return the same value for a given property (i.e., it does not depend on whether multiple configurations have currently been passed in to [M:Microsoft.VisualStudio.OLE.Interop.IPropertyPage.SetObjects(System.Uint32cObjects,System.Object[]ppunk)], but simply whether this property supports multiple-value undo/redo).

.NET Framework Security

See Also

Reference

IVsProjectDesignerPage Interface

IVsProjectDesignerPage Members

Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner Namespace