You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<param name="targetType">The type to compare with the current type.</param>
10975
+
<summary>Determines whether the current type can be assigned to a variable of the specified <paramref name="targetType" />.</summary>
10976
+
<returns><see langword="true" /> if any of the following conditions is true:
10977
+
10978
+
- The current instance and <paramref name="targetType" /> represent the same type.
10979
+
10980
+
- The current type is derived either directly or indirectly from <paramref name="targetType" />. The current type is derived directly from <paramref name="targetType" /> if it inherits from <paramref name="targetType" />; the current type is derived indirectly from <paramref name="targetType" /> if it inherits from a succession of one or more classes that inherit from <paramref name="targetType" />.
10981
+
10982
+
- <paramref name="targetType" /> is an interface that the current type implements.
10983
+
10984
+
- The current type is a generic type parameter, and <paramref name="targetType" /> represents one of the constraints of the current type.
10985
+
10986
+
- The current type represents a value type, and <paramref name="targetType" /> represents <c>Nullable<c></c> (<c>Nullable(Of c)</c> in Visual Basic).
10987
+
10988
+
<see langword="false" /> if none of these conditions are true, or if <paramref name="targetType" /> or <see langword="this" /> is <see langword="null" />.</returns>
0 commit comments