EventBlockSyntax.Update 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回具有指定變更的這個 複本。 如果沒有實際變更,則傳回這個實例。
public:
Microsoft::CodeAnalysis::VisualBasic::Syntax::EventBlockSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::Syntax::EventStatementSyntax ^ eventStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::AccessorBlockSyntax ^> accessors, Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endEventStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.EventBlockSyntax Update (Microsoft.CodeAnalysis.VisualBasic.Syntax.EventStatementSyntax eventStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AccessorBlockSyntax> accessors, Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endEventStatement);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.Syntax.EventStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AccessorBlockSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.EventBlockSyntax
Public Function Update (eventStatement As EventStatementSyntax, accessors As SyntaxList(Of AccessorBlockSyntax), endEventStatement As EndBlockStatementSyntax) As EventBlockSyntax
參數
- eventStatement
- EventStatementSyntax
EventStatement 屬性的值。
- accessors
- SyntaxList<AccessorBlockSyntax>
存取子屬性的值。
- endEventStatement
- EndBlockStatementSyntax
EndEventStatement 屬性的值。