Share via


DataServiceContext.DataNamespace 속성

정의

Atom 페이로드에 대한 메타데이터 항목 외의 데이터 항목의 XML 네임스페이스를 가져오거나 설정합니다.

public:
 property System::String ^ DataNamespace { System::String ^ get(); void set(System::String ^ value); };
public string DataNamespace { get; set; }
member this.DataNamespace : string with get, set
Public Property DataNamespace As String

속성 값

ATOM 형식 페이로드의 데이터 항목에 대한 XML 네임스페이스를 나타내는 문자열입니다.

설명

이 속성의 기본값은 기본 WCF Data Services 네임스페이스입니다http://schemas.microsoft.com/ado/2007/08/dataservices.

이 속성은 데이터 서비스의 콘텐츠를 구문 분석하는 데 사용되는 네임스페이스와 데이터 서비스로 전송되는 콘텐츠를 생성하는 데 사용되는 네임스페이스에 모두 영향을 줍니다.

적용 대상