次の方法で共有


ExtensionMethods.ElementType メソッド

要素型を取得します。

名前空間:  Microsoft.Data.Edm
アセンブリ:  Microsoft.Data.Edm (Microsoft.Data.Edm.dll)

構文

'宣言
<ExtensionAttribute> _
Public Shared Function ElementType ( _
    type As IEdmCollectionTypeReference _
) As IEdmTypeReference
'使用
Dim type As IEdmCollectionTypeReference
Dim returnValue As IEdmTypeReference

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

パラメーター

戻り値

型: Microsoft.Data.Edm.IEdmTypeReference
要素の型。

使用に関するメモ

Visual Basic および C# では、このメソッドを型 IEdmCollectionTypeReference の任意のオブジェクトのインスタンス メソッドとして呼び出すことができます。このメソッドを呼び出すためにインスタンス メソッドの構文を使う場合は、最初のパラメーターを省略してください。詳細については、「https://msdn.microsoft.com/ja-jp/library/bb384936(v=vs.103)」または「https://msdn.microsoft.com/ja-jp/library/bb383977(v=vs.103)」を参照してください。

関連項目

参照

ExtensionMethods クラス

Microsoft.Data.Edm 名前空間