SyntaxFactory.ObjectMemberInitializer Method

Definition

Overloads

ObjectMemberInitializer(SeparatedSyntaxList<FieldInitializerSyntax>)

Represents a "With {...} clause used to initialize a new object's members.

ObjectMemberInitializer(FieldInitializerSyntax[])

Represents a "With {...} clause used to initialize a new object's members.

ObjectMemberInitializer(SyntaxToken, SyntaxToken, SeparatedSyntaxList<FieldInitializerSyntax>, SyntaxToken)

Represents a "With {...} clause used to initialize a new object's members.

ObjectMemberInitializer(SeparatedSyntaxList<FieldInitializerSyntax>)

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 a "With {...} clause used to initialize a new object's members.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::ObjectMemberInitializerSyntax ^ ObjectMemberInitializer(Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::FieldInitializerSyntax ^> initializers);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectMemberInitializerSyntax ObjectMemberInitializer (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.FieldInitializerSyntax> initializers);
static member ObjectMemberInitializer : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.FieldInitializerSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectMemberInitializerSyntax
Public Shared Function ObjectMemberInitializer (initializers As SeparatedSyntaxList(Of FieldInitializerSyntax)) As ObjectMemberInitializerSyntax

Parameters

initializers
SeparatedSyntaxList<FieldInitializerSyntax>

The comma-separated list of field initializers.

Returns

Applies to

ObjectMemberInitializer(FieldInitializerSyntax[])

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 a "With {...} clause used to initialize a new object's members.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::ObjectMemberInitializerSyntax ^ ObjectMemberInitializer(... cli::array <Microsoft::CodeAnalysis::VisualBasic::Syntax::FieldInitializerSyntax ^> ^ initializers);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectMemberInitializerSyntax ObjectMemberInitializer (params Microsoft.CodeAnalysis.VisualBasic.Syntax.FieldInitializerSyntax[] initializers);
static member ObjectMemberInitializer : Microsoft.CodeAnalysis.VisualBasic.Syntax.FieldInitializerSyntax[] -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectMemberInitializerSyntax
Public Shared Function ObjectMemberInitializer (ParamArray initializers As FieldInitializerSyntax()) As ObjectMemberInitializerSyntax

Parameters

initializers
FieldInitializerSyntax[]

The comma-separated list of field initializers.

Returns

Applies to

ObjectMemberInitializer(SyntaxToken, SyntaxToken, SeparatedSyntaxList<FieldInitializerSyntax>, SyntaxToken)

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 a "With {...} clause used to initialize a new object's members.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::ObjectMemberInitializerSyntax ^ ObjectMemberInitializer(Microsoft::CodeAnalysis::SyntaxToken withKeyword, Microsoft::CodeAnalysis::SyntaxToken openBraceToken, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::FieldInitializerSyntax ^> initializers, Microsoft::CodeAnalysis::SyntaxToken closeBraceToken);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectMemberInitializerSyntax ObjectMemberInitializer (Microsoft.CodeAnalysis.SyntaxToken withKeyword, Microsoft.CodeAnalysis.SyntaxToken openBraceToken, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.FieldInitializerSyntax> initializers, Microsoft.CodeAnalysis.SyntaxToken closeBraceToken);
static member ObjectMemberInitializer : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.FieldInitializerSyntax> * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectMemberInitializerSyntax
Public Shared Function ObjectMemberInitializer (withKeyword As SyntaxToken, openBraceToken As SyntaxToken, initializers As SeparatedSyntaxList(Of FieldInitializerSyntax), closeBraceToken As SyntaxToken) As ObjectMemberInitializerSyntax

Parameters

withKeyword
SyntaxToken

The "With" keyword.

openBraceToken
SyntaxToken

The "{" token.

initializers
SeparatedSyntaxList<FieldInitializerSyntax>

The comma-separated list of field initializers.

closeBraceToken
SyntaxToken

The "}" token.

Returns

Applies to