SyndicationItemFormatter.TryParseContent 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 SyndicationItem 인스턴스를 사용하여 배포 항목 콘텐츠를 구문 분석하려고 시도합니다.
protected:
static bool TryParseContent(System::Xml::XmlReader ^ reader, System::ServiceModel::Syndication::SyndicationItem ^ item, System::String ^ contentType, System::String ^ version, [Runtime::InteropServices::Out] System::ServiceModel::Syndication::SyndicationContent ^ % content);
protected static bool TryParseContent(System.Xml.XmlReader reader, System.ServiceModel.Syndication.SyndicationItem item, string contentType, string version, out System.ServiceModel.Syndication.SyndicationContent content);
static member TryParseContent : System.Xml.XmlReader * System.ServiceModel.Syndication.SyndicationItem * string * string * SyndicationContent -> bool
Protected Shared Function TryParseContent (reader As XmlReader, item As SyndicationItem, contentType As String, version As String, ByRef content As SyndicationContent) As Boolean
매개 변수
- item
- SyndicationItem
SyndicationItem 사용할 인스턴스입니다.
- contentType
- String
콘텐츠 형식입니다.
- version
- String
구문 분석하는 동안 사용할 배포 버전입니다.
- content
- SyndicationContent
구문 분석할 콘텐츠입니다.
반품
콘텐츠가 성공적으로 구문 분석되었는지 여부를 나타내는 값입니다.
설명
배포 콘텐츠가 구문 분석되는 방법을 제어하려면 메서드에서 SyndicationItem 사용자 고유의 클래스를 파생시키고 재정의 TryParseContent(XmlReader, String, String, SyndicationContent) 합니다.