편집

다음을 통해 공유


IXpsFixedPageReader.GetResource(Uri) Method

Definition

Gets the resource that has the specified uniform resource identifier (URI).

public:
 System::Windows::Xps::Packaging::XpsResource ^ GetResource(Uri ^ resourceUri);
public System.Windows.Xps.Packaging.XpsResource GetResource (Uri resourceUri);
abstract member GetResource : Uri -> System.Windows.Xps.Packaging.XpsResource
Public Function GetResource (resourceUri As Uri) As XpsResource

Parameters

resourceUri
Uri

The URI of the resource.

Returns

The resource that has the specified Uri.

Remarks

Use this method when you do not know the specific type of the resource with the specified URI. When you do know the type, use one of the type-specific methods that is provided by this class.

Applies to