Freigeben über


SyntaxFactory.MethodDeclaration Methode

Definition

Überlädt

MethodDeclaration(SyntaxList<AttributeListSyntax>, SyntaxTokenList, TypeSyntax, ExplicitInterfaceSpecifierSyntax, SyntaxToken, TypeParameterListSyntax, ParameterListSyntax, SyntaxList<TypeParameterConstraintClauseSyntax>, BlockSyntax, ArrowExpressionClauseSyntax, SyntaxToken)

Erstellt eine neue MethodDeclarationSyntax-Instanz.

MethodDeclaration(SyntaxList<AttributeListSyntax>, SyntaxTokenList, TypeSyntax, ExplicitInterfaceSpecifierSyntax, SyntaxToken, TypeParameterListSyntax, ParameterListSyntax, SyntaxList<TypeParameterConstraintClauseSyntax>, BlockSyntax, SyntaxToken)
MethodDeclaration(TypeSyntax, String)

Erstellt eine neue MethodDeclarationSyntax-Instanz.

MethodDeclaration(TypeSyntax, SyntaxToken)

Erstellt eine neue MethodDeclarationSyntax-Instanz.

MethodDeclaration(SyntaxList<AttributeListSyntax>, SyntaxTokenList, TypeSyntax, ExplicitInterfaceSpecifierSyntax, SyntaxToken, TypeParameterListSyntax, ParameterListSyntax, SyntaxList<TypeParameterConstraintClauseSyntax>, BlockSyntax, ArrowExpressionClauseSyntax)

Erstellt eine neue MethodDeclarationSyntax-Instanz.

MethodDeclaration(SyntaxList<AttributeListSyntax>, SyntaxTokenList, TypeSyntax, ExplicitInterfaceSpecifierSyntax, SyntaxToken, TypeParameterListSyntax, ParameterListSyntax, SyntaxList<TypeParameterConstraintClauseSyntax>, BlockSyntax, ArrowExpressionClauseSyntax, SyntaxToken)

Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs

Erstellt eine neue MethodDeclarationSyntax-Instanz.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::MethodDeclarationSyntax ^ MethodDeclaration(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::AttributeListSyntax ^> attributeLists, Microsoft::CodeAnalysis::SyntaxTokenList modifiers, Microsoft::CodeAnalysis::CSharp::Syntax::TypeSyntax ^ returnType, Microsoft::CodeAnalysis::CSharp::Syntax::ExplicitInterfaceSpecifierSyntax ^ explicitInterfaceSpecifier, Microsoft::CodeAnalysis::SyntaxToken identifier, Microsoft::CodeAnalysis::CSharp::Syntax::TypeParameterListSyntax ^ typeParameterList, Microsoft::CodeAnalysis::CSharp::Syntax::ParameterListSyntax ^ parameterList, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::TypeParameterConstraintClauseSyntax ^> constraintClauses, Microsoft::CodeAnalysis::CSharp::Syntax::BlockSyntax ^ body, Microsoft::CodeAnalysis::CSharp::Syntax::ArrowExpressionClauseSyntax ^ expressionBody, Microsoft::CodeAnalysis::SyntaxToken semicolonToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax MethodDeclaration (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax returnType, Microsoft.CodeAnalysis.CSharp.Syntax.ExplicitInterfaceSpecifierSyntax explicitInterfaceSpecifier, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterListSyntax typeParameterList, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterConstraintClauseSyntax> constraintClauses, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax body, Microsoft.CodeAnalysis.CSharp.Syntax.ArrowExpressionClauseSyntax expressionBody, Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax MethodDeclaration (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax returnType, Microsoft.CodeAnalysis.CSharp.Syntax.ExplicitInterfaceSpecifierSyntax? explicitInterfaceSpecifier, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterListSyntax? typeParameterList, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterConstraintClauseSyntax> constraintClauses, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax? body, Microsoft.CodeAnalysis.CSharp.Syntax.ArrowExpressionClauseSyntax? expressionBody, Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
static member MethodDeclaration : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ExplicitInterfaceSpecifierSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterListSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterConstraintClauseSyntax> * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ArrowExpressionClauseSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax
Public Shared Function MethodDeclaration (attributeLists As SyntaxList(Of AttributeListSyntax), modifiers As SyntaxTokenList, returnType As TypeSyntax, explicitInterfaceSpecifier As ExplicitInterfaceSpecifierSyntax, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, constraintClauses As SyntaxList(Of TypeParameterConstraintClauseSyntax), body As BlockSyntax, expressionBody As ArrowExpressionClauseSyntax, semicolonToken As SyntaxToken) As MethodDeclarationSyntax

Parameter

modifiers
SyntaxTokenList
returnType
TypeSyntax
explicitInterfaceSpecifier
ExplicitInterfaceSpecifierSyntax
identifier
SyntaxToken
typeParameterList
TypeParameterListSyntax
parameterList
ParameterListSyntax
semicolonToken
SyntaxToken

Gibt zurück

Gilt für:

MethodDeclaration(SyntaxList<AttributeListSyntax>, SyntaxTokenList, TypeSyntax, ExplicitInterfaceSpecifierSyntax, SyntaxToken, TypeParameterListSyntax, ParameterListSyntax, SyntaxList<TypeParameterConstraintClauseSyntax>, BlockSyntax, SyntaxToken)

Quelle:
MethodDeclarationSyntax.cs
Quelle:
MethodDeclarationSyntax.cs
Quelle:
MethodDeclarationSyntax.cs
Quelle:
MethodDeclarationSyntax.cs
Quelle:
MethodDeclarationSyntax.cs
Quelle:
MethodDeclarationSyntax.cs
Quelle:
MethodDeclarationSyntax.cs
Quelle:
MethodDeclarationSyntax.cs
Quelle:
MethodDeclarationSyntax.cs
Quelle:
MethodDeclarationSyntax.cs
Quelle:
MethodDeclarationSyntax.cs
Quelle:
MethodDeclarationSyntax.cs
Quelle:
MethodDeclarationSyntax.cs
Quelle:
MethodDeclarationSyntax.cs
Quelle:
MethodDeclarationSyntax.cs
Quelle:
MethodDeclarationSyntax.cs
Quelle:
MethodDeclarationSyntax.cs
Quelle:
MethodDeclarationSyntax.cs
Quelle:
MethodDeclarationSyntax.cs
Quelle:
MethodDeclarationSyntax.cs
Quelle:
MethodDeclarationSyntax.cs
Quelle:
MethodDeclarationSyntax.cs
Quelle:
MethodDeclarationSyntax.cs
Quelle:
MethodDeclarationSyntax.cs
public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::MethodDeclarationSyntax ^ MethodDeclaration(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::AttributeListSyntax ^> attributeLists, Microsoft::CodeAnalysis::SyntaxTokenList modifiers, Microsoft::CodeAnalysis::CSharp::Syntax::TypeSyntax ^ returnType, Microsoft::CodeAnalysis::CSharp::Syntax::ExplicitInterfaceSpecifierSyntax ^ explicitInterfaceSpecifier, Microsoft::CodeAnalysis::SyntaxToken identifier, Microsoft::CodeAnalysis::CSharp::Syntax::TypeParameterListSyntax ^ typeParameterList, Microsoft::CodeAnalysis::CSharp::Syntax::ParameterListSyntax ^ parameterList, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::TypeParameterConstraintClauseSyntax ^> constraintClauses, Microsoft::CodeAnalysis::CSharp::Syntax::BlockSyntax ^ body, Microsoft::CodeAnalysis::SyntaxToken semicolonToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax MethodDeclaration (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax returnType, Microsoft.CodeAnalysis.CSharp.Syntax.ExplicitInterfaceSpecifierSyntax explicitInterfaceSpecifier, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterListSyntax typeParameterList, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterConstraintClauseSyntax> constraintClauses, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax body, Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
static member MethodDeclaration : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ExplicitInterfaceSpecifierSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterListSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterConstraintClauseSyntax> * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax
Public Shared Function MethodDeclaration (attributeLists As SyntaxList(Of AttributeListSyntax), modifiers As SyntaxTokenList, returnType As TypeSyntax, explicitInterfaceSpecifier As ExplicitInterfaceSpecifierSyntax, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, constraintClauses As SyntaxList(Of TypeParameterConstraintClauseSyntax), body As BlockSyntax, semicolonToken As SyntaxToken) As MethodDeclarationSyntax

Parameter

modifiers
SyntaxTokenList
returnType
TypeSyntax
explicitInterfaceSpecifier
ExplicitInterfaceSpecifierSyntax
identifier
SyntaxToken
typeParameterList
TypeParameterListSyntax
parameterList
ParameterListSyntax
semicolonToken
SyntaxToken

Gibt zurück

Gilt für:

MethodDeclaration(TypeSyntax, String)

Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs

Erstellt eine neue MethodDeclarationSyntax-Instanz.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::MethodDeclarationSyntax ^ MethodDeclaration(Microsoft::CodeAnalysis::CSharp::Syntax::TypeSyntax ^ returnType, System::String ^ identifier);
public static Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax MethodDeclaration (Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax returnType, string identifier);
static member MethodDeclaration : Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax * string -> Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax
Public Shared Function MethodDeclaration (returnType As TypeSyntax, identifier As String) As MethodDeclarationSyntax

Parameter

returnType
TypeSyntax
identifier
String

Gibt zurück

Gilt für:

MethodDeclaration(TypeSyntax, SyntaxToken)

Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs

Erstellt eine neue MethodDeclarationSyntax-Instanz.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::MethodDeclarationSyntax ^ MethodDeclaration(Microsoft::CodeAnalysis::CSharp::Syntax::TypeSyntax ^ returnType, Microsoft::CodeAnalysis::SyntaxToken identifier);
public static Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax MethodDeclaration (Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax returnType, Microsoft.CodeAnalysis.SyntaxToken identifier);
static member MethodDeclaration : Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax
Public Shared Function MethodDeclaration (returnType As TypeSyntax, identifier As SyntaxToken) As MethodDeclarationSyntax

Parameter

returnType
TypeSyntax
identifier
SyntaxToken

Gibt zurück

Gilt für:

MethodDeclaration(SyntaxList<AttributeListSyntax>, SyntaxTokenList, TypeSyntax, ExplicitInterfaceSpecifierSyntax, SyntaxToken, TypeParameterListSyntax, ParameterListSyntax, SyntaxList<TypeParameterConstraintClauseSyntax>, BlockSyntax, ArrowExpressionClauseSyntax)

Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs

Erstellt eine neue MethodDeclarationSyntax-Instanz.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::MethodDeclarationSyntax ^ MethodDeclaration(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::AttributeListSyntax ^> attributeLists, Microsoft::CodeAnalysis::SyntaxTokenList modifiers, Microsoft::CodeAnalysis::CSharp::Syntax::TypeSyntax ^ returnType, Microsoft::CodeAnalysis::CSharp::Syntax::ExplicitInterfaceSpecifierSyntax ^ explicitInterfaceSpecifier, Microsoft::CodeAnalysis::SyntaxToken identifier, Microsoft::CodeAnalysis::CSharp::Syntax::TypeParameterListSyntax ^ typeParameterList, Microsoft::CodeAnalysis::CSharp::Syntax::ParameterListSyntax ^ parameterList, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::TypeParameterConstraintClauseSyntax ^> constraintClauses, Microsoft::CodeAnalysis::CSharp::Syntax::BlockSyntax ^ body, Microsoft::CodeAnalysis::CSharp::Syntax::ArrowExpressionClauseSyntax ^ expressionBody);
public static Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax MethodDeclaration (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax returnType, Microsoft.CodeAnalysis.CSharp.Syntax.ExplicitInterfaceSpecifierSyntax explicitInterfaceSpecifier, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterListSyntax typeParameterList, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterConstraintClauseSyntax> constraintClauses, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax body, Microsoft.CodeAnalysis.CSharp.Syntax.ArrowExpressionClauseSyntax expressionBody);
public static Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax MethodDeclaration (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax returnType, Microsoft.CodeAnalysis.CSharp.Syntax.ExplicitInterfaceSpecifierSyntax? explicitInterfaceSpecifier, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterListSyntax? typeParameterList, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterConstraintClauseSyntax> constraintClauses, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax? body, Microsoft.CodeAnalysis.CSharp.Syntax.ArrowExpressionClauseSyntax? expressionBody);
static member MethodDeclaration : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ExplicitInterfaceSpecifierSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterListSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterConstraintClauseSyntax> * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ArrowExpressionClauseSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax
Public Shared Function MethodDeclaration (attributeLists As SyntaxList(Of AttributeListSyntax), modifiers As SyntaxTokenList, returnType As TypeSyntax, explicitInterfaceSpecifier As ExplicitInterfaceSpecifierSyntax, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, constraintClauses As SyntaxList(Of TypeParameterConstraintClauseSyntax), body As BlockSyntax, expressionBody As ArrowExpressionClauseSyntax) As MethodDeclarationSyntax

Parameter

modifiers
SyntaxTokenList
returnType
TypeSyntax
explicitInterfaceSpecifier
ExplicitInterfaceSpecifierSyntax
identifier
SyntaxToken
typeParameterList
TypeParameterListSyntax
parameterList
ParameterListSyntax

Gibt zurück

Gilt für: