EntityPropertyMappingAttribute 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
EntityPropertyMappingAttribute의 새 인스턴스를 만듭니다.
오버로드
| EntityPropertyMappingAttribute(String, SyndicationItemProperty, SyndicationTextContentKind, Boolean) |
EntityPropertyMappingAttribute의 새 인스턴스를 만듭니다. |
| EntityPropertyMappingAttribute(String, String, String, String, Boolean) |
속성을 사용자 지정 피드 요소에 매핑하는 EntityPropertyMappingAttribute 클래스의 인스턴스를 만듭니다. |
EntityPropertyMappingAttribute(String, SyndicationItemProperty, SyndicationTextContentKind, Boolean)
EntityPropertyMappingAttribute의 새 인스턴스를 만듭니다.
public:
EntityPropertyMappingAttribute(System::String ^ sourcePath, System::Data::Services::Common::SyndicationItemProperty targetSyndicationItem, System::Data::Services::Common::SyndicationTextContentKind targetTextContentKind, bool keepInContent);
public EntityPropertyMappingAttribute(string sourcePath, System.Data.Services.Common.SyndicationItemProperty targetSyndicationItem, System.Data.Services.Common.SyndicationTextContentKind targetTextContentKind, bool keepInContent);
new System.Data.Services.Common.EntityPropertyMappingAttribute : string * System.Data.Services.Common.SyndicationItemProperty * System.Data.Services.Common.SyndicationTextContentKind * bool -> System.Data.Services.Common.EntityPropertyMappingAttribute
Public Sub New (sourcePath As String, targetSyndicationItem As SyndicationItemProperty, targetTextContentKind As SyndicationTextContentKind, keepInContent As Boolean)
매개 변수
- sourcePath
- String
피드 항목의 지정된 속성에 매핑되는 엔터티 형식의 속성 이름(문자열)입니다.
- targetSyndicationItem
- SyndicationItemProperty
속성이 매핑되는 피드의 요소를 나타내는 SyndicationItemProperty 값입니다. 이 이 아닌 null경우 TargetPath 이 값을 로 None 설정해야 합니다.
- targetTextContentKind
- SyndicationTextContentKind
피드에서 표시할 콘텐츠의 형식을 식별하는 TargetTextContentKind 값입니다.
- keepInContent
- Boolean
매핑될 속성이 해당 매핑 대상 위치와 피드의 콘텐츠 섹션에 모두 나타나야 하는 경우 true인 부울 값입니다.
적용 대상
EntityPropertyMappingAttribute(String, String, String, String, Boolean)
속성을 사용자 지정 피드 요소에 매핑하는 EntityPropertyMappingAttribute 클래스의 인스턴스를 만듭니다.
public:
EntityPropertyMappingAttribute(System::String ^ sourcePath, System::String ^ targetPath, System::String ^ targetNamespacePrefix, System::String ^ targetNamespaceUri, bool keepInContent);
public EntityPropertyMappingAttribute(string sourcePath, string targetPath, string targetNamespacePrefix, string targetNamespaceUri, bool keepInContent);
new System.Data.Services.Common.EntityPropertyMappingAttribute : string * string * string * string * bool -> System.Data.Services.Common.EntityPropertyMappingAttribute
Public Sub New (sourcePath As String, targetPath As String, targetNamespacePrefix As String, targetNamespaceUri As String, keepInContent As Boolean)
매개 변수
- sourcePath
- String
피드에서 지정된 속성에 매핑되는 엔터티 형식(문자열)의 속성 이름입니다.
- targetPath
- String
속성이 매핑되는 결과 피드에서 문자열 형식인 대상의 이름입니다.
- targetNamespacePrefix
- String
이 매개 변수는 targetNamespaceUri와 함께 targetPath 요소가 배치될 네임스페이스를 지정합니다.
- targetNamespaceUri
- String
속성에 지정된 문자열로 요소의 네임스페이스 URI를 targetName 지정합니다.
- keepInContent
- Boolean
매핑될 속성이 해당 매핑 대상 위치와 피드의 콘텐츠 섹션에 모두 나타나야 하는 경우 true인 부울 값입니다.
설명
도 targetNamespaceUri 지정하지 targetNamespacePrefix 않으면 는 targetName 기본 네임스페이스에 배치됩니다. 를 지정하지 않으면 targetNamespacePrefix 접두사는 자동으로 생성됩니다. 가 지정되었지만 targetNamespaceUri 지정되지 않은 경우 targetNamespacePrefix 생성 시 예외가 throw됩니다.