네임스페이스 섹션의 System.Runtime.Serialization 루트 요소를 나타내 DataContractSerializer며 .
<configuration>
<system.runtime.serialization>
문법
<configuration>
<system.runtime.serialization>
<dataContractSerializer ignoreExtensionDataObject="Boolean"
maxItemsInObjectGraph="Integer">
<declaredTypes>
<add type="String">
<knownType type="String">
<parameter index="Integer" />
</knownType>
</add>
</declaredTypes>
</dataContractSerializer>
</system.runtime.serialization>
</configuration>
특성 및 요소
다음 섹션에서는 특성, 자식 요소 및 부모 요소에 대해 설명합니다.
Attributes
없음.
자식 요소
| 요소 | Description |
|---|---|
| <dataContractSerializer> | 역직렬화 시 사용할 알려진 형식을 추가할 수 있습니다. |
부모 요소
| 요소 | Description |
|---|---|
| <configuration> 요소 | 구성의 최상위 요소입니다. |
참고하십시오
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET