.NET Framework Class Library
PackageRelationshipSelector Class

Defines PackageRelationship criteria to select part-level or package-level relationships.

Inheritance Hierarchy
SystemObject
  System.IO.PackagingPackageRelationshipSelector

Namespace:   System.IO.Packaging
Assembly:  WindowsBase (in WindowsBase.dll)
Syntax
Public NotInheritable Class PackageRelationshipSelector
public sealed class PackageRelationshipSelector
public ref class PackageRelationshipSelector sealed
[<[%$TOPIC/ms571927_en-us_VS_110_3_0_3_0_0%]>]
type PackageRelationshipSelector =  class end
public final class PackageRelationshipSelector

The PackageRelationshipSelector type exposes the following members.

Constructors
  NameDescription
Public method PackageRelationshipSelectorInitializes a new instance of the PackageRelationshipSelector class.
Top
Properties
  NameDescription
Public property SelectionCriteriaGets the selection criteria specified to the PackageRelationshipSelector constructor.
Public property SelectorTypeGets the PackageRelationshipSelectorType specified to the PackageRelationshipSelector constructor.
Public property SourceUriGets the root package URI ("/") or part Uri specified to the PackageRelationshipSelector constructor as the owner of the relationship.
Top
Methods
  NameDescription
Public method Equals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCodeServes as the default hash function. (Inherited from Object.)
Public method GetTypeGets the Type of the current instance. (Inherited from Object.)
Public method SelectReturns a list of PackageRelationship objects that match the defined SourceUri, SelectorType, and SelectionCriteria.
Public method ToStringReturns a string that represents the current object. (Inherited from Object.)
Top
Remarks

PackageRelationshipSelector is used by the Sign method of the PackageDigitalSignatureManager class to specify a list of PackageRelationship parts to be signed.

PackageRelationshipSelector is used by the SignedRelationshipSelectors property of the PackageDigitalSignature class to obtain a list of PackageRelationship parts that have been signed with the given digital signature.

Version Information

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.