FileContext.IsContextTypeOf<T> 方法

定义

如果包含的上下文属于特定类型

public:
generic <typename T>
 bool IsContextTypeOf();
public:
generic <typename T>
 bool IsContextTypeOf();
template <typename T>
 bool IsContextTypeOf();
public bool IsContextTypeOf<T> ();
member this.IsContextTypeOf : unit -> bool
Public Function IsContextTypeOf(Of T) () As Boolean

类型参数

T

要检查的类型

返回

Boolean

如果上下文类型为类型的子类,则为 true

适用于