Redigera

Dela via


PackageRelationshipSelector Class

Definition

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

public ref class PackageRelationshipSelector sealed
public sealed class PackageRelationshipSelector
type PackageRelationshipSelector = class
Public NotInheritable Class PackageRelationshipSelector
Inheritance
PackageRelationshipSelector

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.

Constructors

PackageRelationshipSelector(Uri, PackageRelationshipSelectorType, String)

Initializes a new instance of the PackageRelationshipSelector class.

Properties

SelectionCriteria

Gets the selection criteria specified to the PackageRelationshipSelector(Uri, PackageRelationshipSelectorType, String) constructor.

SelectorType

Gets the PackageRelationshipSelectorType specified to the PackageRelationshipSelector(Uri, PackageRelationshipSelectorType, String) constructor.

SourceUri

Gets the root package URI ("/") or part Uri specified to the PackageRelationshipSelector(Uri, PackageRelationshipSelectorType, String) constructor as the owner of the relationship.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Select(Package)

Returns a list of PackageRelationship objects that match the defined SourceUri, SelectorType, and SelectionCriteria.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also