SyntaxFactory.AsNewClause 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AsNewClause(NewExpressionSyntax) |
表示声明中的“作为新的 {type-name} [arguments] [initializers]” 子句。 该类型具有与之关联的可选属性,尽管此节点发生 (允许的很多位置不允许属性,例如,自动实现 properties.) |
AsNewClause(SyntaxToken, NewExpressionSyntax) |
表示声明中的“作为新的 {type-name} [arguments] [initializers]” 子句。 该类型具有与之关联的可选属性,尽管此节点发生 (允许的很多位置不允许属性,例如,自动实现 properties.) |
AsNewClause(NewExpressionSyntax)
- 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
表示声明中的“作为新的 {type-name} [arguments] [initializers]” 子句。 该类型具有与之关联的可选属性,尽管此节点发生 (允许的很多位置不允许属性,例如,自动实现 properties.)
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::AsNewClauseSyntax ^ AsNewClause(Microsoft::CodeAnalysis::VisualBasic::Syntax::NewExpressionSyntax ^ newExpression);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.AsNewClauseSyntax AsNewClause (Microsoft.CodeAnalysis.VisualBasic.Syntax.NewExpressionSyntax newExpression);
static member AsNewClause : Microsoft.CodeAnalysis.VisualBasic.Syntax.NewExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.AsNewClauseSyntax
Public Shared Function AsNewClause (newExpression As NewExpressionSyntax) As AsNewClauseSyntax
参数
- newExpression
- NewExpressionSyntax
New 表达式
返回
适用于
AsNewClause(SyntaxToken, NewExpressionSyntax)
- 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
表示声明中的“作为新的 {type-name} [arguments] [initializers]” 子句。 该类型具有与之关联的可选属性,尽管此节点发生 (允许的很多位置不允许属性,例如,自动实现 properties.)
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::AsNewClauseSyntax ^ AsNewClause(Microsoft::CodeAnalysis::SyntaxToken asKeyword, Microsoft::CodeAnalysis::VisualBasic::Syntax::NewExpressionSyntax ^ newExpression);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.AsNewClauseSyntax AsNewClause (Microsoft.CodeAnalysis.SyntaxToken asKeyword, Microsoft.CodeAnalysis.VisualBasic.Syntax.NewExpressionSyntax newExpression);
static member AsNewClause : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.NewExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.AsNewClauseSyntax
Public Shared Function AsNewClause (asKeyword As SyntaxToken, newExpression As NewExpressionSyntax) As AsNewClauseSyntax
参数
- asKeyword
- SyntaxToken
“As”关键字。
- newExpression
- NewExpressionSyntax
New 表达式