共用方式為


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

傳回

適用於