Share via


SyntaxFactory.ObjectCollectionInitializer Method

Definition

Overloads

ObjectCollectionInitializer(SyntaxToken, CollectionInitializerSyntax)

Represents a "From {...} clause used to initialize a new collection object's elements.

ObjectCollectionInitializer(CollectionInitializerSyntax)

Represents a "From {...} clause used to initialize a new collection object's elements.

ObjectCollectionInitializer(SyntaxToken, CollectionInitializerSyntax)

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

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::ObjectCollectionInitializerSyntax ^ ObjectCollectionInitializer(Microsoft::CodeAnalysis::SyntaxToken fromKeyword, Microsoft::CodeAnalysis::VisualBasic::Syntax::CollectionInitializerSyntax ^ initializer);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectCollectionInitializerSyntax ObjectCollectionInitializer (Microsoft.CodeAnalysis.SyntaxToken fromKeyword, Microsoft.CodeAnalysis.VisualBasic.Syntax.CollectionInitializerSyntax initializer);
static member ObjectCollectionInitializer : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.CollectionInitializerSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectCollectionInitializerSyntax
Public Shared Function ObjectCollectionInitializer (fromKeyword As SyntaxToken, initializer As CollectionInitializerSyntax) As ObjectCollectionInitializerSyntax

Parameters

fromKeyword
SyntaxToken

The "From" keyword.

initializer
CollectionInitializerSyntax

The initializer including the braces.

Returns

Applies to

ObjectCollectionInitializer(CollectionInitializerSyntax)

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

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::ObjectCollectionInitializerSyntax ^ ObjectCollectionInitializer(Microsoft::CodeAnalysis::VisualBasic::Syntax::CollectionInitializerSyntax ^ initializer);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectCollectionInitializerSyntax ObjectCollectionInitializer (Microsoft.CodeAnalysis.VisualBasic.Syntax.CollectionInitializerSyntax initializer);
static member ObjectCollectionInitializer : Microsoft.CodeAnalysis.VisualBasic.Syntax.CollectionInitializerSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectCollectionInitializerSyntax
Public Shared Function ObjectCollectionInitializer (initializer As CollectionInitializerSyntax) As ObjectCollectionInitializerSyntax

Parameters

initializer
CollectionInitializerSyntax

The initializer including the braces.

Returns

Applies to