SyntaxFactory.ReDimPreserveStatement 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.
Overloads
ReDimPreserveStatement(SeparatedSyntaxList<RedimClauseSyntax>) |
Represents a ReDim statement. |
ReDimPreserveStatement(RedimClauseSyntax[]) |
Represents a ReDim statement. |
ReDimPreserveStatement(SyntaxToken, SyntaxToken, SeparatedSyntaxList<RedimClauseSyntax>) |
Represents a ReDim statement. |
ReDimPreserveStatement(SeparatedSyntaxList<RedimClauseSyntax>)
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
Represents a ReDim statement.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::ReDimStatementSyntax ^ ReDimPreserveStatement(Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::RedimClauseSyntax ^> clauses);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ReDimStatementSyntax ReDimPreserveStatement (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.RedimClauseSyntax> clauses);
static member ReDimPreserveStatement : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.RedimClauseSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ReDimStatementSyntax
Public Shared Function ReDimPreserveStatement (clauses As SeparatedSyntaxList(Of RedimClauseSyntax)) As ReDimStatementSyntax
Parameters
- clauses
- SeparatedSyntaxList<RedimClauseSyntax>
The list of ReDim clauses.
Returns
Applies to
ReDimPreserveStatement(RedimClauseSyntax[])
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
Represents a ReDim statement.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::ReDimStatementSyntax ^ ReDimPreserveStatement(... cli::array <Microsoft::CodeAnalysis::VisualBasic::Syntax::RedimClauseSyntax ^> ^ clauses);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ReDimStatementSyntax ReDimPreserveStatement (params Microsoft.CodeAnalysis.VisualBasic.Syntax.RedimClauseSyntax[] clauses);
static member ReDimPreserveStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.RedimClauseSyntax[] -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ReDimStatementSyntax
Public Shared Function ReDimPreserveStatement (ParamArray clauses As RedimClauseSyntax()) As ReDimStatementSyntax
Parameters
- clauses
- RedimClauseSyntax[]
The list of ReDim clauses.
Returns
Applies to
ReDimPreserveStatement(SyntaxToken, SyntaxToken, SeparatedSyntaxList<RedimClauseSyntax>)
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
Represents a ReDim statement.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::ReDimStatementSyntax ^ ReDimPreserveStatement(Microsoft::CodeAnalysis::SyntaxToken reDimKeyword, Microsoft::CodeAnalysis::SyntaxToken preserveKeyword, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::RedimClauseSyntax ^> clauses);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ReDimStatementSyntax ReDimPreserveStatement (Microsoft.CodeAnalysis.SyntaxToken reDimKeyword, Microsoft.CodeAnalysis.SyntaxToken preserveKeyword, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.RedimClauseSyntax> clauses);
static member ReDimPreserveStatement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.RedimClauseSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ReDimStatementSyntax
Public Shared Function ReDimPreserveStatement (reDimKeyword As SyntaxToken, preserveKeyword As SyntaxToken, clauses As SeparatedSyntaxList(Of RedimClauseSyntax)) As ReDimStatementSyntax
Parameters
- reDimKeyword
- SyntaxToken
The "ReDim" keyword.
- preserveKeyword
- SyntaxToken
Returns Nothing if Kind=ReDim, returns the "Preserve" keyword if Kind=RedimPreserve.
- clauses
- SeparatedSyntaxList<RedimClauseSyntax>
The list of ReDim clauses.
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.