Share via


CollectionConstantNode Constructor

Definition

Create a CollectionConstantNode

public CollectionConstantNode (System.Collections.Generic.IEnumerable<object> objectCollection, string literalText, Microsoft.OData.Edm.IEdmCollectionTypeReference collectionType);
new Microsoft.OData.UriParser.CollectionConstantNode : seq<obj> * string * Microsoft.OData.Edm.IEdmCollectionTypeReference -> Microsoft.OData.UriParser.CollectionConstantNode
Public Sub New (objectCollection As IEnumerable(Of Object), literalText As String, collectionType As IEdmCollectionTypeReference)

Parameters

objectCollection
IEnumerable<Object>

A collection of objects.

literalText
String

The literal text for this node's value, formatted according to the OData URI literal formatting rules.

collectionType
IEdmCollectionTypeReference

The reference to the collection type.

Exceptions

Throws if the input literalText is null.

Applies to