VisualBasicCompilation.ClassifyConversion(ITypeSymbol, ITypeSymbol) 方法

定义

确定类型“source”和“destination”之间存在哪种类型的转换(如果有)。

public:
 Microsoft::CodeAnalysis::VisualBasic::Conversion ClassifyConversion(Microsoft::CodeAnalysis::ITypeSymbol ^ source, Microsoft::CodeAnalysis::ITypeSymbol ^ destination);
public Microsoft.CodeAnalysis.VisualBasic.Conversion ClassifyConversion (Microsoft.CodeAnalysis.ITypeSymbol source, Microsoft.CodeAnalysis.ITypeSymbol destination);
member this.ClassifyConversion : Microsoft.CodeAnalysis.ITypeSymbol * Microsoft.CodeAnalysis.ITypeSymbol -> Microsoft.CodeAnalysis.VisualBasic.Conversion
Public Function ClassifyConversion (source As ITypeSymbol, destination As ITypeSymbol) As Conversion

参数

source
ITypeSymbol
destination
ITypeSymbol

返回

适用于