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