AsCollection Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.Data.Edm.Library
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function AsCollection ( _
type As IEdmTypeReference _
) As IEdmCollectionTypeReference
'Usage
Dim type As IEdmTypeReference
Dim returnValue As IEdmCollectionTypeReference
returnValue = type.AsCollection()
public static IEdmCollectionTypeReference AsCollection(
this IEdmTypeReference type
)
[ExtensionAttribute]
public:
static IEdmCollectionTypeReference^ AsCollection(
IEdmTypeReference^ type
)
static member AsCollection :
type:IEdmTypeReference -> IEdmCollectionTypeReference
public static function AsCollection(
type : IEdmTypeReference
) : IEdmCollectionTypeReference
Parameters
- type
Type: Microsoft.Data.Edm..::..IEdmTypeReference
Return Value
Type: Microsoft.Data.Edm..::..IEdmCollectionTypeReference
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmTypeReference. 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.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).