SyntaxGenerator.TryCastExpression 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.
Overloads
TryCastExpression(SyntaxNode, ITypeSymbol) |
Creates an expression that denotes an try-cast operation. |
TryCastExpression(SyntaxNode, SyntaxNode) |
Creates an expression that denotes an try-cast operation. |
TryCastExpression(SyntaxNode, ITypeSymbol)
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
Creates an expression that denotes an try-cast operation.
public:
Microsoft::CodeAnalysis::SyntaxNode ^ TryCastExpression(Microsoft::CodeAnalysis::SyntaxNode ^ expression, Microsoft::CodeAnalysis::ITypeSymbol ^ type);
public Microsoft.CodeAnalysis.SyntaxNode TryCastExpression (Microsoft.CodeAnalysis.SyntaxNode expression, Microsoft.CodeAnalysis.ITypeSymbol type);
member this.TryCastExpression : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.ITypeSymbol -> Microsoft.CodeAnalysis.SyntaxNode
Public Function TryCastExpression (expression As SyntaxNode, type As ITypeSymbol) As SyntaxNode
Parameters
- expression
- SyntaxNode
- type
- ITypeSymbol
Returns
Applies to
TryCastExpression(SyntaxNode, SyntaxNode)
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
Creates an expression that denotes an try-cast operation.
public:
abstract Microsoft::CodeAnalysis::SyntaxNode ^ TryCastExpression(Microsoft::CodeAnalysis::SyntaxNode ^ expression, Microsoft::CodeAnalysis::SyntaxNode ^ type);
public abstract Microsoft.CodeAnalysis.SyntaxNode TryCastExpression (Microsoft.CodeAnalysis.SyntaxNode expression, Microsoft.CodeAnalysis.SyntaxNode type);
abstract member TryCastExpression : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.SyntaxNode -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function TryCastExpression (expression As SyntaxNode, type As SyntaxNode) As SyntaxNode
Parameters
- expression
- SyntaxNode
- type
- SyntaxNode
Returns
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.