Megosztás a következőn keresztül:


VisualBasicExtensions.GetConversion Method

Definition

Overloads

GetConversion(IConversionOperation)

Gets the underlying Conversion information from an IConversionOperation that was created from Visual Basic code.

GetConversion(SemanticModel, SyntaxNode, CancellationToken)

Gets the corresponding TypeInfo containing semantic info for a specified ExpressionSyntax.

GetConversion(IConversionOperation)

Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb

Gets the underlying Conversion information from an IConversionOperation that was created from Visual Basic code.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::CodeAnalysis::VisualBasic::Conversion GetConversion(Microsoft::CodeAnalysis::Operations::IConversionOperation ^ conversionExpression);
public static Microsoft.CodeAnalysis.VisualBasic.Conversion GetConversion (this Microsoft.CodeAnalysis.Operations.IConversionOperation conversionExpression);
static member GetConversion : Microsoft.CodeAnalysis.Operations.IConversionOperation -> Microsoft.CodeAnalysis.VisualBasic.Conversion
<Extension()>
Public Function GetConversion (conversionExpression As IConversionOperation) As Conversion

Parameters

conversionExpression
IConversionOperation

The conversion expression to get original info from.

Returns

The underlying Conversion.

Exceptions

If the IConversionOperation was not created from Visual Basic code.

Applies to

GetConversion(SemanticModel, SyntaxNode, CancellationToken)

Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb

Gets the corresponding TypeInfo containing semantic info for a specified ExpressionSyntax.

public static Microsoft.CodeAnalysis.VisualBasic.Conversion GetConversion (this Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.SyntaxNode expression, System.Threading.CancellationToken cancellationToken = default);
static member GetConversion : Microsoft.CodeAnalysis.SemanticModel * Microsoft.CodeAnalysis.SyntaxNode * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.VisualBasic.Conversion
<Extension()>
Public Function GetConversion (semanticModel As SemanticModel, expression As SyntaxNode, Optional cancellationToken As CancellationToken = Nothing) As Conversion

Parameters

semanticModel
SemanticModel
expression
SyntaxNode
cancellationToken
CancellationToken

Returns

Applies to