StructureStatementSyntax.Update 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回具有指定變更的這個 複本。 如果沒有實際變更,則傳回這個實例。
public:
Microsoft::CodeAnalysis::VisualBasic::Syntax::StructureStatementSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::AttributeListSyntax ^> attributeLists, Microsoft::CodeAnalysis::SyntaxTokenList modifiers, Microsoft::CodeAnalysis::SyntaxToken structureKeyword, Microsoft::CodeAnalysis::SyntaxToken identifier, Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeParameterListSyntax ^ typeParameterList);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.StructureStatementSyntax Update (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.SyntaxToken structureKeyword, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeParameterListSyntax typeParameterList);
member this.Update : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeParameterListSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.StructureStatementSyntax
Public Function Update (attributeLists As SyntaxList(Of AttributeListSyntax), modifiers As SyntaxTokenList, structureKeyword As SyntaxToken, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax) As StructureStatementSyntax
參數
- attributeLists
- SyntaxList<AttributeListSyntax>
AttributeLists 屬性的值。
- modifiers
- SyntaxTokenList
Modifiers 屬性的值。
- structureKeyword
- SyntaxToken
StructureKeyword 屬性的值。
- identifier
- SyntaxToken
Identifier 屬性的值。
- typeParameterList
- TypeParameterListSyntax
TypeParameterList 屬性的值。