次の方法で共有


SyntaxFactory.AsNewClause Method

Definition

Overloads

AsNewClause(NewExpressionSyntax)

Represents an "As New {type-name} [arguments] [initializers]" clause in a declaration. The type has optional attributes associated with it, although attributes are not permitted in many places where this node occurs (they are permitted, for example, on automatically implemented properties.)

AsNewClause(SyntaxToken, NewExpressionSyntax)

Represents an "As New {type-name} [arguments] [initializers]" clause in a declaration. The type has optional attributes associated with it, although attributes are not permitted in many places where this node occurs (they are permitted, for example, on automatically implemented 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

Represents an "As New {type-name} [arguments] [initializers]" clause in a declaration. The type has optional attributes associated with it, although attributes are not permitted in many places where this node occurs (they are permitted, for example, on automatically implemented 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

Parameters

newExpression
NewExpressionSyntax

The New expression

Returns

Applies to

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

Represents an "As New {type-name} [arguments] [initializers]" clause in a declaration. The type has optional attributes associated with it, although attributes are not permitted in many places where this node occurs (they are permitted, for example, on automatically implemented 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

Parameters

asKeyword
SyntaxToken

The "As" keyword.

newExpression
NewExpressionSyntax

The New expression

Returns

Applies to