共用方式為


TryGetClrPropertyInfo 代理人

定義

表示根據屬性名稱和 Type 取得 CLR 型別屬性資訊的委派。

public delegate bool TryGetClrPropertyInfo(Type clrType, string edmName, out PropertyInfo propertyInfo);
type TryGetClrPropertyInfo = delegate of Type * string * PropertyInfo -> bool
Public Delegate Function TryGetClrPropertyInfo(clrType As Type, edmName As String, ByRef propertyInfo As PropertyInfo) As Boolean 

參數

clrType
Type

包含屬性資訊的 CLR 型別。

edmName
String

可能是伺服器端名稱或用戶端名稱的屬性名稱。

propertyInfo
PropertyInfo

傳回 PropertyInfo 的輸出參數。

傳回值

如果委派找到 屬性,則為 True,否則為 false。

適用於