ExtensionMethods.CollectionDefinition Method

Gets the collection type to which the type refers.

Namespace:  Microsoft.Data.Edm
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function CollectionDefinition ( _
    type As IEdmCollectionTypeReference _
) As IEdmCollectionType
'Usage
Dim type As IEdmCollectionTypeReference 
Dim returnValue As IEdmCollectionType 

returnValue = type.CollectionDefinition()
public static IEdmCollectionType CollectionDefinition(
    this IEdmCollectionTypeReference type
)
[ExtensionAttribute]
public:
static IEdmCollectionType^ CollectionDefinition(
    IEdmCollectionTypeReference^ type
)
static member CollectionDefinition : 
        type:IEdmCollectionTypeReference -> IEdmCollectionType
public static function CollectionDefinition(
    type : IEdmCollectionTypeReference
) : IEdmCollectionType

Parameters

Return Value

Type: Microsoft.Data.Edm.IEdmCollectionType
The definition of a collection type.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmCollectionTypeReference. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.113) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.113).

See Also

Reference

ExtensionMethods Class

Microsoft.Data.Edm Namespace