SyntaxFactory.LocalDeclarationStatement 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
LocalDeclarationStatement(VariableDeclarationSyntax) |
새 LocalDeclarationStatementSyntax 인스턴스를 만듭니다. |
LocalDeclarationStatement(SyntaxTokenList, VariableDeclarationSyntax) |
새 LocalDeclarationStatementSyntax 인스턴스를 만듭니다. |
LocalDeclarationStatement(SyntaxList<AttributeListSyntax>, SyntaxTokenList, VariableDeclarationSyntax) |
새 LocalDeclarationStatementSyntax 인스턴스를 만듭니다. |
LocalDeclarationStatement(SyntaxTokenList, VariableDeclarationSyntax, SyntaxToken) |
새 LocalDeclarationStatementSyntax 인스턴스를 만듭니다. |
LocalDeclarationStatement(SyntaxToken, SyntaxToken, SyntaxTokenList, VariableDeclarationSyntax, SyntaxToken) |
새 LocalDeclarationStatementSyntax 인스턴스를 만듭니다. |
LocalDeclarationStatement(SyntaxList<AttributeListSyntax>, SyntaxToken, SyntaxToken, SyntaxTokenList, VariableDeclarationSyntax, SyntaxToken) |
새 LocalDeclarationStatementSyntax 인스턴스를 만듭니다. |
LocalDeclarationStatement(VariableDeclarationSyntax)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
새 LocalDeclarationStatementSyntax 인스턴스를 만듭니다.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::LocalDeclarationStatementSyntax ^ LocalDeclarationStatement(Microsoft::CodeAnalysis::CSharp::Syntax::VariableDeclarationSyntax ^ declaration);
public static Microsoft.CodeAnalysis.CSharp.Syntax.LocalDeclarationStatementSyntax LocalDeclarationStatement (Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax declaration);
static member LocalDeclarationStatement : Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.LocalDeclarationStatementSyntax
Public Shared Function LocalDeclarationStatement (declaration As VariableDeclarationSyntax) As LocalDeclarationStatementSyntax
매개 변수
- declaration
- VariableDeclarationSyntax
반환
적용 대상
LocalDeclarationStatement(SyntaxTokenList, VariableDeclarationSyntax)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
새 LocalDeclarationStatementSyntax 인스턴스를 만듭니다.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::LocalDeclarationStatementSyntax ^ LocalDeclarationStatement(Microsoft::CodeAnalysis::SyntaxTokenList modifiers, Microsoft::CodeAnalysis::CSharp::Syntax::VariableDeclarationSyntax ^ declaration);
public static Microsoft.CodeAnalysis.CSharp.Syntax.LocalDeclarationStatementSyntax LocalDeclarationStatement (Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax declaration);
static member LocalDeclarationStatement : Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.LocalDeclarationStatementSyntax
Public Shared Function LocalDeclarationStatement (modifiers As SyntaxTokenList, declaration As VariableDeclarationSyntax) As LocalDeclarationStatementSyntax
매개 변수
- modifiers
- SyntaxTokenList
- declaration
- VariableDeclarationSyntax
반환
적용 대상
LocalDeclarationStatement(SyntaxList<AttributeListSyntax>, SyntaxTokenList, VariableDeclarationSyntax)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
새 LocalDeclarationStatementSyntax 인스턴스를 만듭니다.
public static Microsoft.CodeAnalysis.CSharp.Syntax.LocalDeclarationStatementSyntax LocalDeclarationStatement (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax declaration);
static member LocalDeclarationStatement : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.LocalDeclarationStatementSyntax
Public Shared Function LocalDeclarationStatement (attributeLists As SyntaxList(Of AttributeListSyntax), modifiers As SyntaxTokenList, declaration As VariableDeclarationSyntax) As LocalDeclarationStatementSyntax
매개 변수
- attributeLists
- SyntaxList<AttributeListSyntax>
- modifiers
- SyntaxTokenList
- declaration
- VariableDeclarationSyntax
반환
적용 대상
LocalDeclarationStatement(SyntaxTokenList, VariableDeclarationSyntax, SyntaxToken)
새 LocalDeclarationStatementSyntax 인스턴스를 만듭니다.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::LocalDeclarationStatementSyntax ^ LocalDeclarationStatement(Microsoft::CodeAnalysis::SyntaxTokenList modifiers, Microsoft::CodeAnalysis::CSharp::Syntax::VariableDeclarationSyntax ^ declaration, Microsoft::CodeAnalysis::SyntaxToken semicolonToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.LocalDeclarationStatementSyntax LocalDeclarationStatement (Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax declaration, Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
static member LocalDeclarationStatement : Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.LocalDeclarationStatementSyntax
Public Shared Function LocalDeclarationStatement (modifiers As SyntaxTokenList, declaration As VariableDeclarationSyntax, semicolonToken As SyntaxToken) As LocalDeclarationStatementSyntax
매개 변수
- modifiers
- SyntaxTokenList
- declaration
- VariableDeclarationSyntax
- semicolonToken
- SyntaxToken
반환
적용 대상
LocalDeclarationStatement(SyntaxToken, SyntaxToken, SyntaxTokenList, VariableDeclarationSyntax, SyntaxToken)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
새 LocalDeclarationStatementSyntax 인스턴스를 만듭니다.
public static Microsoft.CodeAnalysis.CSharp.Syntax.LocalDeclarationStatementSyntax LocalDeclarationStatement (Microsoft.CodeAnalysis.SyntaxToken awaitKeyword, Microsoft.CodeAnalysis.SyntaxToken usingKeyword, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax declaration, Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
static member LocalDeclarationStatement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.LocalDeclarationStatementSyntax
Public Shared Function LocalDeclarationStatement (awaitKeyword As SyntaxToken, usingKeyword As SyntaxToken, modifiers As SyntaxTokenList, declaration As VariableDeclarationSyntax, semicolonToken As SyntaxToken) As LocalDeclarationStatementSyntax
매개 변수
- awaitKeyword
- SyntaxToken
- usingKeyword
- SyntaxToken
- modifiers
- SyntaxTokenList
- declaration
- VariableDeclarationSyntax
- semicolonToken
- SyntaxToken
반환
적용 대상
LocalDeclarationStatement(SyntaxList<AttributeListSyntax>, SyntaxToken, SyntaxToken, SyntaxTokenList, VariableDeclarationSyntax, SyntaxToken)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
새 LocalDeclarationStatementSyntax 인스턴스를 만듭니다.
public static Microsoft.CodeAnalysis.CSharp.Syntax.LocalDeclarationStatementSyntax LocalDeclarationStatement (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxToken awaitKeyword, Microsoft.CodeAnalysis.SyntaxToken usingKeyword, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax declaration, Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
static member LocalDeclarationStatement : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.LocalDeclarationStatementSyntax
Public Shared Function LocalDeclarationStatement (attributeLists As SyntaxList(Of AttributeListSyntax), awaitKeyword As SyntaxToken, usingKeyword As SyntaxToken, modifiers As SyntaxTokenList, declaration As VariableDeclarationSyntax, semicolonToken As SyntaxToken) As LocalDeclarationStatementSyntax
매개 변수
- attributeLists
- SyntaxList<AttributeListSyntax>
- awaitKeyword
- SyntaxToken
- usingKeyword
- SyntaxToken
- modifiers
- SyntaxTokenList
- declaration
- VariableDeclarationSyntax
- semicolonToken
- SyntaxToken
반환
적용 대상
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET