Compartir a través de


IVsProjectDesignerPage.GetPropertyMultipleValues Method

Gets the current values for the given property for each of the supplied configurations.

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

Syntax

'Declaration
Function GetPropertyMultipleValues ( _
    propertyName As String, _
    <OutAttribute> ByRef objects As Object(), _
    <OutAttribute> ByRef values As Object() _
) As Boolean
bool GetPropertyMultipleValues(
    string propertyName,
    out Object[] objects,
    out Object[] values
)
bool GetPropertyMultipleValues(
    String^ propertyName, 
    [OutAttribute] array<Object^>^% objects, 
    [OutAttribute] array<Object^>^% values
)
abstract GetPropertyMultipleValues : 
        propertyName:string * 
        objects:Object[] byref * 
        values:Object[] byref -> bool
function GetPropertyMultipleValues(
    propertyName : String, 
    objects : Object[], 
    values : Object[]
) : boolean

Parameters

  • propertyName
    Type: String

    The name of the property to get.

  • objects
    Type: array<Object[]%

    [out] Returns an array of configurations that may be affected.

  • values
    Type: array<Object[]%

    [out] Returns an array of values for each of the configurations.

Return Value

Type: Boolean
If the method succeeds, it returns S_OK, otherwise an error code.

Remarks

This method is used to get all the configurations that may be affected by a property change that needs to be remembered for undo purposes.

The set of objects passed back normally should be the same objects that were given to the page via SetObjects, but this is not required. This function is called for a property if SupportsMultipleValueUndo returns true for that property. If SupportsMultipleValueUndo returns false, or this function returns False, then GetProperty is called instead.

.NET Framework Security

See Also

Reference

IVsProjectDesignerPage Interface

Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner Namespace