SyntaxFactory.AccessorList 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
AccessorList(SyntaxList<AccessorDeclarationSyntax>) |
建立新的存取子ListSyntax 實例。 |
AccessorList(SyntaxToken, SyntaxList<AccessorDeclarationSyntax>, SyntaxToken) |
建立新的存取子ListSyntax 實例。 |
AccessorList(SyntaxList<AccessorDeclarationSyntax>)
- 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
建立新的存取子ListSyntax 實例。
public static Microsoft.CodeAnalysis.CSharp.Syntax.AccessorListSyntax AccessorList (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AccessorDeclarationSyntax> accessors = default);
static member AccessorList : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AccessorDeclarationSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.AccessorListSyntax
Public Shared Function AccessorList (Optional accessors As SyntaxList(Of AccessorDeclarationSyntax) = Nothing) As AccessorListSyntax
參數
- accessors
- SyntaxList<AccessorDeclarationSyntax>
傳回
適用於
AccessorList(SyntaxToken, SyntaxList<AccessorDeclarationSyntax>, 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
- 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
建立新的存取子ListSyntax 實例。
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::AccessorListSyntax ^ AccessorList(Microsoft::CodeAnalysis::SyntaxToken openBraceToken, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::AccessorDeclarationSyntax ^> accessors, Microsoft::CodeAnalysis::SyntaxToken closeBraceToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.AccessorListSyntax AccessorList (Microsoft.CodeAnalysis.SyntaxToken openBraceToken, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AccessorDeclarationSyntax> accessors, Microsoft.CodeAnalysis.SyntaxToken closeBraceToken);
static member AccessorList : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AccessorDeclarationSyntax> * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.AccessorListSyntax
Public Shared Function AccessorList (openBraceToken As SyntaxToken, accessors As SyntaxList(Of AccessorDeclarationSyntax), closeBraceToken As SyntaxToken) As AccessorListSyntax
參數
- openBraceToken
- SyntaxToken
- accessors
- SyntaxList<AccessorDeclarationSyntax>
- closeBraceToken
- SyntaxToken