StructureBlockSyntax.WithMembers(SyntaxList<StatementSyntax>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a copy of this with the Members property changed to the specified value. Returns this instance if the specified value is the same as the current value.
public:
Microsoft::CodeAnalysis::VisualBasic::Syntax::StructureBlockSyntax ^ WithMembers(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> members);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.StructureBlockSyntax WithMembers (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> members);
override this.WithMembers : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.StructureBlockSyntax
Public Function WithMembers (members As SyntaxList(Of StatementSyntax)) As StructureBlockSyntax
Parameters
- members
- SyntaxList<StatementSyntax>