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

‘선언
Function GetPropertyMultipleValues ( _
    propertyName As String, _
    <OutAttribute> ByRef objects As Object(), _
    <OutAttribute> ByRef values As Object() _
) As Boolean
‘사용 방법
Dim instance As IVsProjectDesignerPage
Dim propertyName As String
Dim objects As Object()
Dim values As Object()
Dim returnValue As Boolean

returnValue = instance.GetPropertyMultipleValues(propertyName, _
    objects, values)
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: System.String
    The name of the property to get.
  • objects
    Type: array<System.Object[]%
    [out] Returns an array of configurations that may be affected.
  • values
    Type: array<System.Object[]%
    [out] Returns an array of values for each of the configurations.

Return Value

Type: System.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 [M:Microsoft.VisualStudio.OLE.Interop.IPropertyPage.SetObjects(System.Uint32cObjects,System.Object[]ppunk)], 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

IVsProjectDesignerPage Members

Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner Namespace