共用方式為


IPackage.PartExists(Uri) Method

Definition

Indicates whether a part with a given URI is in the package

public bool PartExists (Uri partUri);
abstract member PartExists : Uri -> bool
Public Function PartExists (partUri As Uri) As Boolean

Parameters

partUri
Uri

The uri of the part.

Returns

true if a part with the specified partUri exists in the package; otherwise, false.

Applies to