First look at the MSDN instructions:
English: Gets a value that indicates whether the Type can be hosted in the context.
English: Gets A value indicating whether the Type can be hosted in a context.
What do you mean?
We look at the internal implementation:
protected Virtual BOOL Iscontextfulimpl () { returntypeof(ContextBoundObject). IsAssignableFrom (this); }
The original internal is called Type.isassignablefrom (Type C) This method.
Let's look at the explanation of the IsAssignableFrom method:If either of the following conditions is true;true:C and the current type represent the same type; the current type is in the inheritance hierarchy of C; The current type is the interface implemented by C;c is a generic type parameter and the current type represents one of the constraints of C. False if either of the above conditions is not met or if C is null .
Finally, we can tell that type.iscontextful is used to determine whether a type is a context-bound object. That is, whether the type inherits from: ContextBoundObject
Type.iscontextful description