Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Overrides the default GetPolicyItems method to return the unique parents of the specified selection.
Namespace: Microsoft.Windows.Design.Policies
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Protected Overrides Function GetPolicyItems ( _
selection As Selection _
) As IEnumerable(Of ModelItem)
protected override IEnumerable<ModelItem> GetPolicyItems(
Selection selection
)
protected:
virtual IEnumerable<ModelItem^>^ GetPolicyItems(
Selection^ selection
) override
abstract GetPolicyItems :
selection:Selection -> IEnumerable<ModelItem>
override GetPolicyItems :
selection:Selection -> IEnumerable<ModelItem>
protected override function GetPolicyItems(
selection : Selection
) : IEnumerable<ModelItem>
Parameters
- selection
Type: Microsoft.Windows.Design.Interaction.Selection
The current selection.
Return Value
Type: System.Collections.Generic.IEnumerable<ModelItem>
An enumeration of unique parents for the given selection.
Remarks
The policy specifies the immediate parents of the selected items.
.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
Microsoft.Windows.Design.Policies Namespace