共用方式為


SyntaxFactory.SubLambdaHeader 方法

定義

多載

SubLambdaHeader()

表示 Lambda 運算式的標頭部分

SubLambdaHeader(SyntaxList<AttributeListSyntax>, SyntaxTokenList, ParameterListSyntax, SimpleAsClauseSyntax)

表示 Lambda 運算式的標頭部分

SubLambdaHeader(SyntaxList<AttributeListSyntax>, SyntaxTokenList, SyntaxToken, ParameterListSyntax, SimpleAsClauseSyntax)

表示 Lambda 運算式的標頭部分

SubLambdaHeader()

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

表示 Lambda 運算式的標頭部分

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::LambdaHeaderSyntax ^ SubLambdaHeader();
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.LambdaHeaderSyntax SubLambdaHeader ();
static member SubLambdaHeader : unit -> Microsoft.CodeAnalysis.VisualBasic.Syntax.LambdaHeaderSyntax
Public Shared Function SubLambdaHeader () As LambdaHeaderSyntax

傳回

適用於

SubLambdaHeader(SyntaxList<AttributeListSyntax>, SyntaxTokenList, ParameterListSyntax, SimpleAsClauseSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

表示 Lambda 運算式的標頭部分

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::LambdaHeaderSyntax ^ SubLambdaHeader(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::AttributeListSyntax ^> attributeLists, Microsoft::CodeAnalysis::SyntaxTokenList modifiers, Microsoft::CodeAnalysis::VisualBasic::Syntax::ParameterListSyntax ^ parameterList, Microsoft::CodeAnalysis::VisualBasic::Syntax::SimpleAsClauseSyntax ^ asClause);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.LambdaHeaderSyntax SubLambdaHeader (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.VisualBasic.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleAsClauseSyntax asClause);
static member SubLambdaHeader : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.VisualBasic.Syntax.ParameterListSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleAsClauseSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.LambdaHeaderSyntax
Public Shared Function SubLambdaHeader (attributeLists As SyntaxList(Of AttributeListSyntax), modifiers As SyntaxTokenList, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As LambdaHeaderSyntax

參數

attributeLists
SyntaxList<AttributeListSyntax>

此宣告上所有屬性清單的清單。 如果未指定任何屬性,則會傳回 Nothing。

modifiers
SyntaxTokenList

此宣告上存在的所有修飾詞標記清單。 如果未指定修飾詞,則會傳回空白清單。 所有修飾詞 ORed 的位欄位版本,在許多情況下更容易使用,可以使用 Modifiers 屬性來取得。

parameterList
ParameterListSyntax

方法的參數清單,包括括弧。 如果沒有參數清單存在,則會傳回 Nothing。

asClause
SimpleAsClauseSyntax

描述傳回型別的 「As」 子句。 如果沒有 As 子句存在,則會傳回 Nothing。

傳回

適用於

SubLambdaHeader(SyntaxList<AttributeListSyntax>, SyntaxTokenList, SyntaxToken, ParameterListSyntax, SimpleAsClauseSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

表示 Lambda 運算式的標頭部分

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::LambdaHeaderSyntax ^ SubLambdaHeader(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::AttributeListSyntax ^> attributeLists, Microsoft::CodeAnalysis::SyntaxTokenList modifiers, Microsoft::CodeAnalysis::SyntaxToken subOrFunctionKeyword, Microsoft::CodeAnalysis::VisualBasic::Syntax::ParameterListSyntax ^ parameterList, Microsoft::CodeAnalysis::VisualBasic::Syntax::SimpleAsClauseSyntax ^ asClause);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.LambdaHeaderSyntax SubLambdaHeader (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.SyntaxToken subOrFunctionKeyword, Microsoft.CodeAnalysis.VisualBasic.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleAsClauseSyntax asClause);
static member SubLambdaHeader : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ParameterListSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleAsClauseSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.LambdaHeaderSyntax
Public Shared Function SubLambdaHeader (attributeLists As SyntaxList(Of AttributeListSyntax), modifiers As SyntaxTokenList, subOrFunctionKeyword As SyntaxToken, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As LambdaHeaderSyntax

參數

attributeLists
SyntaxList<AttributeListSyntax>

此宣告上所有屬性清單的清單。 如果未指定任何屬性,則會傳回 Nothing。

modifiers
SyntaxTokenList

此宣告上存在的所有修飾詞標記清單。 如果未指定修飾詞,則會傳回空白清單。 所有修飾詞 ORed 的位欄位版本,在許多情況下更容易使用,可以使用 Modifiers 屬性來取得。

subOrFunctionKeyword
SyntaxToken

引進此 Lambda 運算式的 「Sub」 或 「Function」 關鍵字。

parameterList
ParameterListSyntax

方法的參數清單,包括括弧。 如果沒有參數清單存在,則會傳回 Nothing。

asClause
SimpleAsClauseSyntax

描述傳回型別的 「As」 子句。 如果沒有 As 子句存在,則會傳回 Nothing。

傳回

適用於