VisualBasicCompilation.ClassifyConversion(ITypeSymbol, ITypeSymbol) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定类型“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