ODataUndeclaredPropertyBehaviorKinds 枚举

枚举读取未声明属性时的读取器行为。

此枚举具有可以使用其成员值位组合的 FlagsAttribute 属性。

命名空间:  Microsoft.Data.OData
程序集:  Microsoft.Data.OData(在 Microsoft.Data.OData.dll 中)

语法

声明
<FlagsAttribute> _
Public Enumeration ODataUndeclaredPropertyBehaviorKinds
用法
Dim instance As ODataUndeclaredPropertyBehaviorKinds
[FlagsAttribute]
public enum ODataUndeclaredPropertyBehaviorKinds
[FlagsAttribute]
public enum class ODataUndeclaredPropertyBehaviorKinds
[<FlagsAttribute>]
type ODataUndeclaredPropertyBehaviorKinds
public enum ODataUndeclaredPropertyBehaviorKinds

成员

成员名称 说明
None 默认行为 - 如果读取器发现一个模型未声明的属性,则读取器将失败,并且不会打开相应的类型。

IgnoreUndeclaredValueProperty 如果某个属性未由模型声明,则读取器将跳过读取该属性。

ReportUndeclaredLinkProperty 读取器将读取并报告模型未声明的链接属性。

请参阅

参考

Microsoft.Data.OData 命名空间