FileContext.IsContextTypeOf<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
If the contained Context is of a certain type
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
Type Parameters
- T
The type we want to check
Returns
true if the context type is a subclass of the type