PackageRelationshipSelector Class

PackageRelationshipSelector Class

 

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

Namespace:   System.IO.Packaging
Assembly:  WindowsBase (in WindowsBase.dll)

System.Object
  System.IO.Packaging.PackageRelationshipSelector

public sealed class PackageRelationshipSelector

NameDescription
System_CAPS_pubmethodPackageRelationshipSelector(Uri, PackageRelationshipSelectorType, String)

Initializes a new instance of the PackageRelationshipSelector class.

NameDescription
System_CAPS_pubpropertySelectionCriteria

Gets the selection criteria specified to the PackageRelationshipSelector constructor.

System_CAPS_pubpropertySelectorType

Gets the PackageRelationshipSelectorType specified to the PackageRelationshipSelector constructor.

System_CAPS_pubpropertySourceUri

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

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodSelect(Package)

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

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

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.

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft