EntityContainer.TryGetRelationshipSetByName メソッド

定義

リレーションシップ セットの指定した名前を使用して、 RelationshipSet オブジェクトを返します。

public:
 bool TryGetRelationshipSetByName(System::String ^ name, bool ignoreCase, [Runtime::InteropServices::Out] System::Data::Metadata::Edm::RelationshipSet ^ % relationshipSet);
public bool TryGetRelationshipSetByName(string name, bool ignoreCase, out System.Data.Metadata.Edm.RelationshipSet relationshipSet);
member this.TryGetRelationshipSetByName : string * bool * RelationshipSet -> bool
Public Function TryGetRelationshipSetByName (name As String, ignoreCase As Boolean, ByRef relationshipSet As RelationshipSet) As Boolean

パラメーター

name
String

検索対象のリレーションシップ セットの名前。

ignoreCase
Boolean

true 大文字と小文字を区別しない検索を実行する場合。それ以外の場合は false

relationshipSet
RelationshipSet

このメソッドから制御が戻るときに、 RelationshipSet オブジェクトを格納します。

返品

true 検索条件に一致するリレーションシップ セットがある場合。それ以外の場合は false

適用対象