Expression.TypeEqual(Expression, Type) 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.
Creates a TypeBinaryExpression that compares run-time type identity.
public:
static System::Linq::Expressions::TypeBinaryExpression ^ TypeEqual(System::Linq::Expressions::Expression ^ expression, Type ^ type);
public static System.Linq.Expressions.TypeBinaryExpression TypeEqual (System.Linq.Expressions.Expression expression, Type type);
static member TypeEqual : System.Linq.Expressions.Expression * Type -> System.Linq.Expressions.TypeBinaryExpression
Public Shared Function TypeEqual (expression As Expression, type As Type) As TypeBinaryExpression
Parameters
- expression
- Expression
An Expression to set the Expression property equal to.
- type
- Type
A Type to set the TypeOperand property equal to.
Returns
A TypeBinaryExpression for which the NodeType property is equal to TypeEqual(Expression, Type) and for which the Expression and TypeOperand properties are set to the specified values.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.