TryGetClrPropertyInfo 代理人
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示根據屬性名稱和 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。