指定した型および名前のナビゲーション プロパティを検索します。
名前空間: Microsoft.Data.Edm
アセンブリ: Microsoft.Data.Edm (Microsoft.Data.Edm.dll)
構文
'宣言
<ExtensionAttribute> _
Public Shared Function FindNavigationProperty ( _
type As IEdmEntityTypeReference, _
name As String _
) As IEdmNavigationProperty
'使用
Dim type As IEdmEntityTypeReference
Dim name As String
Dim returnValue As IEdmNavigationProperty
returnValue = type.FindNavigationProperty(name)
public static IEdmNavigationProperty FindNavigationProperty(
this IEdmEntityTypeReference type,
string name
)
[ExtensionAttribute]
public:
static IEdmNavigationProperty^ FindNavigationProperty(
IEdmEntityTypeReference^ type,
String^ name
)
static member FindNavigationProperty :
type:IEdmEntityTypeReference *
name:string -> IEdmNavigationProperty
public static function FindNavigationProperty(
type : IEdmEntityTypeReference,
name : String
) : IEdmNavigationProperty
パラメーター
- type
型: Microsoft.Data.Edm.IEdmEntityTypeReference
エンティティ型への参照。
- name
型: System.String
検索するナビゲーション プロパティの名前。
戻り値
型: Microsoft.Data.Edm.IEdmNavigationProperty
要求されたナビゲーション プロパティ。
使用に関するメモ
Visual Basic および C# では、このメソッドを型 IEdmEntityTypeReference の任意のオブジェクトのインスタンス メソッドとして呼び出すことができます。このメソッドを呼び出すためにインスタンス メソッドの構文を使う場合は、最初のパラメーターを省略してください。詳細については、「https://msdn.microsoft.com/ja-jp/library/bb384936(v=vs.103)」または「https://msdn.microsoft.com/ja-jp/library/bb383977(v=vs.103)」を参照してください。