Core.DefaultAugmentationAttribute 类 (F#)
将值设置为 false 的此特性添加到某个可区分联合后,会禁止为该类型的生成的 Common Language Infrastructure (CLI) 类生成标准帮助器成员测试程序、构造函数和访问器成员。
命名空间/模块路径: Microsoft.FSharp.Core
程序集:FSharp.Core(在 FSharp.Core.dll 中)
[<AttributeUsage(AttributeTargets.Class, AllowMultiple = false)>]
[<Sealed>]
type DefaultAugmentationAttribute =
class
new DefaultAugmentationAttribute : bool -> DefaultAugmentationAttribute
member this.Value : bool
end
备注
也可以使用名称的缩写形式 DefaultAugmentation。
构造函数
成员 |
说明 |
---|---|
创建特性的实例 |
实例成员
成员 |
说明 |
---|---|
特性的值,指示该类型是否具有默认扩大。 |
平台
Windows 8,Windows 7,Windows server 2012中,Windows server 2008 R2
版本信息
F#核心库版本
支持:2.0,4.0,可移植