PackageRelationshipSelector 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 PackageRelationshipSelector 类的新实例。
public:
PackageRelationshipSelector(Uri ^ sourceUri, System::IO::Packaging::PackageRelationshipSelectorType selectorType, System::String ^ selectionCriteria);
public PackageRelationshipSelector(Uri sourceUri, System.IO.Packaging.PackageRelationshipSelectorType selectorType, string selectionCriteria);
new System.IO.Packaging.PackageRelationshipSelector : Uri * System.IO.Packaging.PackageRelationshipSelectorType * string -> System.IO.Packaging.PackageRelationshipSelector
Public Sub New (sourceUri As Uri, selectorType As PackageRelationshipSelectorType, selectionCriteria As String)
参数
- sourceUri
- Uri
拥有关系的统一资源标识符(PackagePartURI PackageSourceUri )。
- selectorType
- PackageRelationshipSelectorType
- selectionCriteria
- String
用于根据
例外
sourceUri 或 selectionCriteria 为 null.
参数 selectorType 无效。
参数selectorType不是IdselectionCriteria有效的 XML 架构定义(XSD)标识符(ID)。