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