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
bool GetPropertyMultipleValues(
string propertyName,
out Object[] objects,
out 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.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsProjectDesignerPage Interface
Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner Namespace