SyndicationFeed.Clone(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a copy of the SyndicationFeed instance.
public:
virtual System::ServiceModel::Syndication::SyndicationFeed ^ Clone(bool cloneItems);
public virtual System.ServiceModel.Syndication.SyndicationFeed Clone (bool cloneItems);
abstract member Clone : bool -> System.ServiceModel.Syndication.SyndicationFeed
override this.Clone : bool -> System.ServiceModel.Syndication.SyndicationFeed
Public Overridable Function Clone (cloneItems As Boolean) As SyndicationFeed
Parameters
- cloneItems
- Boolean
A value that specifies whether the SyndicationItem objects are cloned.
Returns
A duplicate SyndicationFeed object.
Examples
The following code shows how to call this method.
SyndicationFeed feed = new SyndicationFeed();
SyndicationFeed clonedFeed = feed.Clone(true);
Dim feed As New SyndicationFeed()
Dim clonedFeed As SyndicationFeed = feed.Clone(True)
Remarks
If the cloneItems
parameter is true
, all items within the SyndicationFeed object are cloned; otherwise, the new SyndicationFeed instance's items collection contain references to the original SyndicationFeed instance's items.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기