IVsProjectDesignerPage::GetPropertyMultipleValues Method (String^, array<Object^>^, array<Object^>^)

 

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)

[DispIdAttribute(5)]
bool GetPropertyMultipleValues(
	String^ propertyName,
	[OutAttribute] array<Object^>^% objects,
	[OutAttribute] array<Object^>^% values
)

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.

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.

Return to top
Show: