SyntaxFactory.ObjectCollectionInitializer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.