次の方法で共有


SyntaxFactory.AnonymousObjectCreationExpression Method

Definition

Overloads

AnonymousObjectCreationExpression(ObjectMemberInitializerSyntax)

Represents a New expression that create an object of anonymous type.

AnonymousObjectCreationExpression(SyntaxList<AttributeListSyntax>, ObjectMemberInitializerSyntax)

Represents a New expression that create an object of anonymous type.

AnonymousObjectCreationExpression(SyntaxToken, SyntaxList<AttributeListSyntax>, ObjectMemberInitializerSyntax)

Represents a New expression that create an object of anonymous type.

AnonymousObjectCreationExpression(ObjectMemberInitializerSyntax)

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 New expression that create an object of anonymous type.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::AnonymousObjectCreationExpressionSyntax ^ AnonymousObjectCreationExpression(Microsoft::CodeAnalysis::VisualBasic::Syntax::ObjectMemberInitializerSyntax ^ initializer);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.AnonymousObjectCreationExpressionSyntax AnonymousObjectCreationExpression (Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectMemberInitializerSyntax initializer);
static member AnonymousObjectCreationExpression : Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectMemberInitializerSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.AnonymousObjectCreationExpressionSyntax
Public Shared Function AnonymousObjectCreationExpression (initializer As ObjectMemberInitializerSyntax) As AnonymousObjectCreationExpressionSyntax

Parameters

initializer
ObjectMemberInitializerSyntax

The With clause to initialize the new object.

Returns

Applies to

AnonymousObjectCreationExpression(SyntaxList<AttributeListSyntax>, ObjectMemberInitializerSyntax)

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 New expression that create an object of anonymous type.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::AnonymousObjectCreationExpressionSyntax ^ AnonymousObjectCreationExpression(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::AttributeListSyntax ^> attributeLists, Microsoft::CodeAnalysis::VisualBasic::Syntax::ObjectMemberInitializerSyntax ^ initializer);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.AnonymousObjectCreationExpressionSyntax AnonymousObjectCreationExpression (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectMemberInitializerSyntax initializer);
static member AnonymousObjectCreationExpression : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectMemberInitializerSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.AnonymousObjectCreationExpressionSyntax
Public Shared Function AnonymousObjectCreationExpression (attributeLists As SyntaxList(Of AttributeListSyntax), initializer As ObjectMemberInitializerSyntax) As AnonymousObjectCreationExpressionSyntax

Parameters

attributeLists
SyntaxList<AttributeListSyntax>

A list of all attribute lists on the type. If no attributes were specified, an empty list is returned.

initializer
ObjectMemberInitializerSyntax

The With clause to initialize the new object.

Returns

Applies to

AnonymousObjectCreationExpression(SyntaxToken, SyntaxList<AttributeListSyntax>, ObjectMemberInitializerSyntax)

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 New expression that create an object of anonymous type.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::AnonymousObjectCreationExpressionSyntax ^ AnonymousObjectCreationExpression(Microsoft::CodeAnalysis::SyntaxToken newKeyword, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::AttributeListSyntax ^> attributeLists, Microsoft::CodeAnalysis::VisualBasic::Syntax::ObjectMemberInitializerSyntax ^ initializer);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.AnonymousObjectCreationExpressionSyntax AnonymousObjectCreationExpression (Microsoft.CodeAnalysis.SyntaxToken newKeyword, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectMemberInitializerSyntax initializer);
static member AnonymousObjectCreationExpression : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectMemberInitializerSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.AnonymousObjectCreationExpressionSyntax
Public Shared Function AnonymousObjectCreationExpression (newKeyword As SyntaxToken, attributeLists As SyntaxList(Of AttributeListSyntax), initializer As ObjectMemberInitializerSyntax) As AnonymousObjectCreationExpressionSyntax

Parameters

newKeyword
SyntaxToken

The "New" keyword.

attributeLists
SyntaxList<AttributeListSyntax>

A list of all attribute lists on the type. If no attributes were specified, an empty list is returned.

initializer
ObjectMemberInitializerSyntax

The With clause to initialize the new object.

Returns

Applies to