TypeIsEquivalentTo Method |
Determines whether two COM types have the same identity and are eligible for type equivalence.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public virtual bool IsEquivalentTo(
Type other
)
Parameters
- other
- Type: SystemType
The COM type that is tested for equivalence with the current type.
Return Value
Type:
Booleantrue if the COM types are equivalent; otherwise, false. This method also returns false if one type is in an assembly that is loaded for execution, and the other is in an assembly that is loaded into the reflection-only context.
See Also