SyntaxExtensions.Type 方法

定义

重载

Type(AsClauseSyntax)

返回给定 AsClauseSyntax 的 TypeSyntax(如果指定)。

Type(NewExpressionSyntax)

如果指定,则返回给定 NewExpressionSyntax 的 TypeSyntax。

Type(AsClauseSyntax)

Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb

返回给定 AsClauseSyntax 的 TypeSyntax(如果指定)。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeSyntax ^ Type(Microsoft::CodeAnalysis::VisualBasic::Syntax::AsClauseSyntax ^ asClauseSyntax);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax Type (this Microsoft.CodeAnalysis.VisualBasic.Syntax.AsClauseSyntax asClauseSyntax);
static member Type : Microsoft.CodeAnalysis.VisualBasic.Syntax.AsClauseSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax
<Extension()>
Public Function Type (asClauseSyntax As AsClauseSyntax) As TypeSyntax

参数

asClauseSyntax
AsClauseSyntax

返回

适用于

Type(NewExpressionSyntax)

Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb
Source:
SyntaxExtensions.vb

如果指定,则返回给定 NewExpressionSyntax 的 TypeSyntax。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeSyntax ^ Type(Microsoft::CodeAnalysis::VisualBasic::Syntax::NewExpressionSyntax ^ newExpressionSyntax);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax Type (this Microsoft.CodeAnalysis.VisualBasic.Syntax.NewExpressionSyntax newExpressionSyntax);
static member Type : Microsoft.CodeAnalysis.VisualBasic.Syntax.NewExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax
<Extension()>
Public Function Type (newExpressionSyntax As NewExpressionSyntax) As TypeSyntax

参数

newExpressionSyntax
NewExpressionSyntax

返回

适用于