SchemaSerializationMode SchemaSerializationMode SchemaSerializationMode SchemaSerializationMode Enum

定义

指示类型化 DataSet 的架构序列化模式。Indicates the schema serialization mode for a typed DataSet.

public enum class SchemaSerializationMode
public enum SchemaSerializationMode
type SchemaSerializationMode = 
Public Enum SchemaSerializationMode
继承
SchemaSerializationModeSchemaSerializationModeSchemaSerializationModeSchemaSerializationMode

字段

ExcludeSchema ExcludeSchema ExcludeSchema ExcludeSchema 2

跳过类型化 DataSet 的架构序列化。Skips schema serialization for a typed DataSet.

IncludeSchema IncludeSchema IncludeSchema IncludeSchema 1

包括类型化 DataSet 的架构序列化。Includes schema serialization for a typed DataSet. 默认值。The default.

注解

将类型化DataSet的属性设置为ExcludeSchema可以选择省略序列化负载中的架构信息。SchemaSerializationModeSetting the SchemaSerializationMode property of a typed DataSet to ExcludeSchema provides the option of omitting schema information from the serialization payload.

适用于