XmlResolver.SupportsType(Uri, Type) 方法

定義

讓解析程式傳回 Stream 以外的類型。

public:
 virtual bool SupportsType(Uri ^ absoluteUri, Type ^ type);
public virtual bool SupportsType (Uri absoluteUri, Type? type);
public virtual bool SupportsType (Uri absoluteUri, Type type);
abstract member SupportsType : Uri * Type -> bool
override this.SupportsType : Uri * Type -> bool
Public Overridable Function SupportsType (absoluteUri As Uri, type As Type) As Boolean

參數

absoluteUri
Uri

URI。

type
Type

要傳回的類型。

傳回

Boolean

如果支援 type 則為 true,否則為 false

適用於