SyndicationContent.CreateXmlContent 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建一个新的 XmlSyndicationContent 实例。
重载
CreateXmlContent(Object) |
使用指定的数据协定对象创建新的 XmlSyndicationContent 实例。 |
CreateXmlContent(XmlReader) |
创建 XML 联合内容。 |
CreateXmlContent(Object, XmlObjectSerializer) |
使用指定的数据协定对象和数据协定序列化程序创建新的 XmlSyndicationContent 实例。 |
CreateXmlContent(Object, XmlSerializer) |
使用指定的对象和 XML 序列化程序创建新的 XmlSyndicationContent 实例。 |
CreateXmlContent(Object)
- Source:
- SyndicationContent.cs
- Source:
- SyndicationContent.cs
- Source:
- SyndicationContent.cs
- Source:
- SyndicationContent.cs
使用指定的数据协定对象创建新的 XmlSyndicationContent 实例。
public:
static System::ServiceModel::Syndication::XmlSyndicationContent ^ CreateXmlContent(System::Object ^ dataContractObject);
public static System.ServiceModel.Syndication.XmlSyndicationContent CreateXmlContent (object dataContractObject);
static member CreateXmlContent : obj -> System.ServiceModel.Syndication.XmlSyndicationContent
Public Shared Function CreateXmlContent (dataContractObject As Object) As XmlSyndicationContent
参数
- dataContractObject
- Object
数据协定对象。
返回
新 XmlSyndicationContent 实例。
适用于
CreateXmlContent(XmlReader)
- Source:
- SyndicationContent.cs
- Source:
- SyndicationContent.cs
- Source:
- SyndicationContent.cs
- Source:
- SyndicationContent.cs
创建 XML 联合内容。
public:
static System::ServiceModel::Syndication::XmlSyndicationContent ^ CreateXmlContent(System::Xml::XmlReader ^ xmlReader);
public static System.ServiceModel.Syndication.XmlSyndicationContent CreateXmlContent (System.Xml.XmlReader xmlReader);
static member CreateXmlContent : System.Xml.XmlReader -> System.ServiceModel.Syndication.XmlSyndicationContent
Public Shared Function CreateXmlContent (xmlReader As XmlReader) As XmlSyndicationContent
参数
返回
包含新内容的 XmlSyndicationContent 类的实例。
适用于
CreateXmlContent(Object, XmlObjectSerializer)
- Source:
- SyndicationContent.cs
- Source:
- SyndicationContent.cs
- Source:
- SyndicationContent.cs
- Source:
- SyndicationContent.cs
使用指定的数据协定对象和数据协定序列化程序创建新的 XmlSyndicationContent 实例。
public:
static System::ServiceModel::Syndication::XmlSyndicationContent ^ CreateXmlContent(System::Object ^ dataContractObject, System::Runtime::Serialization::XmlObjectSerializer ^ dataContractSerializer);
public static System.ServiceModel.Syndication.XmlSyndicationContent CreateXmlContent (object dataContractObject, System.Runtime.Serialization.XmlObjectSerializer dataContractSerializer);
static member CreateXmlContent : obj * System.Runtime.Serialization.XmlObjectSerializer -> System.ServiceModel.Syndication.XmlSyndicationContent
Public Shared Function CreateXmlContent (dataContractObject As Object, dataContractSerializer As XmlObjectSerializer) As XmlSyndicationContent
参数
- dataContractObject
- Object
数据协定对象。
- dataContractSerializer
- XmlObjectSerializer
数据协定序列化程序。
返回
新 XmlSyndicationContent 实例。
适用于
CreateXmlContent(Object, XmlSerializer)
- Source:
- SyndicationContent.cs
- Source:
- SyndicationContent.cs
- Source:
- SyndicationContent.cs
- Source:
- SyndicationContent.cs
使用指定的对象和 XML 序列化程序创建新的 XmlSyndicationContent 实例。
public:
static System::ServiceModel::Syndication::XmlSyndicationContent ^ CreateXmlContent(System::Object ^ xmlSerializerObject, System::Xml::Serialization::XmlSerializer ^ serializer);
public static System.ServiceModel.Syndication.XmlSyndicationContent CreateXmlContent (object xmlSerializerObject, System.Xml.Serialization.XmlSerializer serializer);
static member CreateXmlContent : obj * System.Xml.Serialization.XmlSerializer -> System.ServiceModel.Syndication.XmlSyndicationContent
Public Shared Function CreateXmlContent (xmlSerializerObject As Object, serializer As XmlSerializer) As XmlSyndicationContent
参数
- xmlSerializerObject
- Object
对象。
- serializer
- XmlSerializer
XML 序列化程序。
返回
新 XmlSyndicationContent 实例。