SyntaxGenerator.UsingStatement 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
UsingStatement(String, SyntaxNode, IEnumerable<SyntaxNode>) |
Creates a statement that represents a using-block pattern. |
UsingStatement(SyntaxNode, IEnumerable<SyntaxNode>) |
Creates a statement that represents a using-block pattern. |
UsingStatement(SyntaxNode, String, SyntaxNode, IEnumerable<SyntaxNode>) |
Creates a statement that represents a using-block pattern. |
UsingStatement(String, SyntaxNode, IEnumerable<SyntaxNode>)
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
Creates a statement that represents a using-block pattern.
public:
Microsoft::CodeAnalysis::SyntaxNode ^ UsingStatement(System::String ^ name, Microsoft::CodeAnalysis::SyntaxNode ^ expression, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxNode ^> ^ statements);
public Microsoft.CodeAnalysis.SyntaxNode UsingStatement (string name, Microsoft.CodeAnalysis.SyntaxNode expression, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> statements);
member this.UsingStatement : string * Microsoft.CodeAnalysis.SyntaxNode * seq<Microsoft.CodeAnalysis.SyntaxNode> -> Microsoft.CodeAnalysis.SyntaxNode
Public Function UsingStatement (name As String, expression As SyntaxNode, statements As IEnumerable(Of SyntaxNode)) As SyntaxNode
Parameters
- name
- String
- expression
- SyntaxNode
- statements
- IEnumerable<SyntaxNode>
Returns
Applies to
UsingStatement(SyntaxNode, IEnumerable<SyntaxNode>)
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
Creates a statement that represents a using-block pattern.
public:
abstract Microsoft::CodeAnalysis::SyntaxNode ^ UsingStatement(Microsoft::CodeAnalysis::SyntaxNode ^ expression, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxNode ^> ^ statements);
public abstract Microsoft.CodeAnalysis.SyntaxNode UsingStatement (Microsoft.CodeAnalysis.SyntaxNode expression, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> statements);
abstract member UsingStatement : Microsoft.CodeAnalysis.SyntaxNode * seq<Microsoft.CodeAnalysis.SyntaxNode> -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function UsingStatement (expression As SyntaxNode, statements As IEnumerable(Of SyntaxNode)) As SyntaxNode
Parameters
- expression
- SyntaxNode
- statements
- IEnumerable<SyntaxNode>
Returns
Applies to
UsingStatement(SyntaxNode, String, SyntaxNode, IEnumerable<SyntaxNode>)
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
Creates a statement that represents a using-block pattern.
public:
abstract Microsoft::CodeAnalysis::SyntaxNode ^ UsingStatement(Microsoft::CodeAnalysis::SyntaxNode ^ type, System::String ^ name, Microsoft::CodeAnalysis::SyntaxNode ^ expression, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxNode ^> ^ statements);
public abstract Microsoft.CodeAnalysis.SyntaxNode UsingStatement (Microsoft.CodeAnalysis.SyntaxNode type, string name, Microsoft.CodeAnalysis.SyntaxNode expression, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> statements);
public abstract Microsoft.CodeAnalysis.SyntaxNode UsingStatement (Microsoft.CodeAnalysis.SyntaxNode? type, string name, Microsoft.CodeAnalysis.SyntaxNode expression, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> statements);
abstract member UsingStatement : Microsoft.CodeAnalysis.SyntaxNode * string * Microsoft.CodeAnalysis.SyntaxNode * seq<Microsoft.CodeAnalysis.SyntaxNode> -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function UsingStatement (type As SyntaxNode, name As String, expression As SyntaxNode, statements As IEnumerable(Of SyntaxNode)) As SyntaxNode
Parameters
- type
- SyntaxNode
- name
- String
- expression
- SyntaxNode
- statements
- IEnumerable<SyntaxNode>