共用方式為


NamespaceBlockSyntax.Update 方法

定義

傳回具有指定之變更的這個複本。 如果沒有實際變更,則傳回這個實例。

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 屬性的值。

傳回

適用於