次の方法で共有


EdmType.GetCollectionType メソッド

[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]

要素型がこの型である CollectionType のインスタンスを返します。

名前空間:  System.Data.Entity.Core.Metadata.Edm
アセンブリ:  EntityFramework (EntityFramework.dll 内)

構文

'宣言
<SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")> _
Public Function GetCollectionType As CollectionType
'使用
Dim instance As EdmType 
Dim returnValue As CollectionType 

returnValue = instance.GetCollectionType()
[SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
public CollectionType GetCollectionType()
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1024:UsePropertiesWhereAppropriate")]
public:
CollectionType^ GetCollectionType()
[<SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")>]
member GetCollectionType : unit -> CollectionType
public function GetCollectionType() : CollectionType

戻り値

型 : System.Data.Entity.Core.Metadata.Edm.CollectionType
要素型がこの型である CollectionType オブジェクト。

参照

参照

EdmType クラス

System.Data.Entity.Core.Metadata.Edm 名前空間