PackageRelationshipSelector Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET
피드백
https://aka.ms/ContentUserFeedback을 참조하세요.
출시 예정: 2024년 내내 콘텐츠 피드백 메커니즘인 GitHub 문제를 단계적으로 폐지하고 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은다음에 대한 사용자 의견 제출 및 보기