SyntaxFactory.AsNewClause 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
AsNewClause(NewExpressionSyntax) |
表示宣告中的 「As New {type-name} [arguments] [initializers]」 子句。 類型具有與其相關聯的選擇性屬性,不過在許多位置不允許屬性發生此節點 (允許這些屬性,例如,在自動實作的屬性上。) |
AsNewClause(SyntaxToken, NewExpressionSyntax) |
表示宣告中的 「As New {type-name} [arguments] [initializers]」 子句。 類型具有與其相關聯的選擇性屬性,不過在許多位置不允許屬性發生此節點 (允許這些屬性,例如,在自動實作的屬性上。) |
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
表示宣告中的 「As New {type-name} [arguments] [initializers]」 子句。 類型具有與其相關聯的選擇性屬性,不過在許多位置不允許屬性發生此節點 (允許這些屬性,例如,在自動實作的屬性上。)
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
表示宣告中的 「As New {type-name} [arguments] [initializers]」 子句。 類型具有與其相關聯的選擇性屬性,不過在許多位置不允許屬性發生此節點 (允許這些屬性,例如,在自動實作的屬性上。)
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 運算式