SyntaxFactory.MethodDeclaration Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
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
- attributeLists
- SyntaxList<AttributeListSyntax>
- modifiers
- SyntaxTokenList
- returnType
- TypeSyntax
- explicitInterfaceSpecifier
- ExplicitInterfaceSpecifierSyntax
- identifier
- SyntaxToken
- typeParameterList
- TypeParameterListSyntax
- parameterList
- ParameterListSyntax
- constraintClauses
- SyntaxList<TypeParameterConstraintClauseSyntax>
- body
- BlockSyntax
- expressionBody
- ArrowExpressionClauseSyntax
- 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
- attributeLists
- SyntaxList<AttributeListSyntax>
- modifiers
- SyntaxTokenList
- returnType
- TypeSyntax
- explicitInterfaceSpecifier
- ExplicitInterfaceSpecifierSyntax
- identifier
- SyntaxToken
- typeParameterList
- TypeParameterListSyntax
- parameterList
- ParameterListSyntax
- constraintClauses
- SyntaxList<TypeParameterConstraintClauseSyntax>
- body
- BlockSyntax
- 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
- attributeLists
- SyntaxList<AttributeListSyntax>
- modifiers
- SyntaxTokenList
- returnType
- TypeSyntax
- explicitInterfaceSpecifier
- ExplicitInterfaceSpecifierSyntax
- identifier
- SyntaxToken
- typeParameterList
- TypeParameterListSyntax
- parameterList
- ParameterListSyntax
- constraintClauses
- SyntaxList<TypeParameterConstraintClauseSyntax>
- body
- BlockSyntax
- expressionBody
- ArrowExpressionClauseSyntax
Gibt zurück
Gilt für:
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.