识别具有关联的 ReflectedDefinition 的属性 set 访问器。
命名空间/模块路径:Microsoft.FSharp.Quotations.DerivedPatterns
程序集:FSharp.Core(在 FSharp.Core.dll 中)
// Signature:
( |PropertySetterWithReflectedDefinition|_| ) : (propertyInfo:PropertyInfo) -> Expr option
参数
propertyInfo
类型:PropertyInfo属性的说明。
返回值
如果找到,则为方法定义的表达式;否则为 None。
备注
此函数在 .NET Framework 程序集中名为 PropertySetterWithReflectedDefinitionPattern。 如果从 F# 以外的 .NET Framework 语言中访问成员,或通过反射访问成员,请使用此名称。
平台
Windows 7、Windows Vista SP2、Windows XP SP3、Windows XP x64 SP2、Windows Server 2008 R2、Windows Server 2008 SP2、Windows Server 2003 SP2
版本信息
F# 运行时
受以下版本支持:2.0、4.0
Silverlight
受以下版本支持:3