SyndicationElementExtension.GetObject Método
Definição
Obtém o objeto que representa a extensão do elemento.Gets the object that represents the element extension.
Sobrecargas
| GetObject<TExtension>() |
Obtém o objeto que representa a extensão do elemento.Gets the object that represents the element extension. |
| GetObject<TExtension>(XmlObjectSerializer) |
Obtém o objeto que representa a extensão do elemento.Gets the object that represents the element extension. |
| GetObject<TExtension>(XmlSerializer) |
Obtém o objeto que representa a extensão do elemento.Gets the object that represents the element extension. |
GetObject<TExtension>()
Obtém o objeto que representa a extensão do elemento.Gets the object that represents the element extension.
public:
generic <typename TExtension>
TExtension GetObject();
public TExtension GetObject<TExtension> ();
member this.GetObject : unit -> 'Extension
Public Function GetObject(Of TExtension) () As TExtension
Parâmetros de tipo
- TExtension
O tipo da extensão a recuperar.The type of the extension to retrieve.
Retornos
- TExtension
Um objeto do tipo especificado que contém a extensão do elemento.An object of the specified type that contains the element extension.
Exceções
O tipo não é um contrato de dados válido.The type is not a valid data contract.
O XML de entrada não pode ser desserializado no tipo solicitado.The input XML cannot be deserialized into the requested type.
Aplica-se a
GetObject<TExtension>(XmlObjectSerializer)
Obtém o objeto que representa a extensão do elemento.Gets the object that represents the element extension.
public:
generic <typename TExtension>
TExtension GetObject(System::Runtime::Serialization::XmlObjectSerializer ^ serializer);
public TExtension GetObject<TExtension> (System.Runtime.Serialization.XmlObjectSerializer serializer);
member this.GetObject : System.Runtime.Serialization.XmlObjectSerializer -> 'Extension
Public Function GetObject(Of TExtension) (serializer As XmlObjectSerializer) As TExtension
Parâmetros de tipo
- TExtension
O tipo da extensão a recuperar.The type of the extension to retrieve.
Parâmetros
- serializer
- XmlObjectSerializer
O XmlObjectSerializer a ser usado.The XmlObjectSerializer to use.
Retornos
- TExtension
Um objeto do tipo especificado que contém a extensão do elemento.An object of the specified type that contains the element extension.
Exceções
O tipo não é um contrato de dados válido.The type is not a valid data contract.
O XML de entrada não pode ser desserializado no tipo solicitado.The input XML cannot be deserialized into the requested type.
Aplica-se a
GetObject<TExtension>(XmlSerializer)
Obtém o objeto que representa a extensão do elemento.Gets the object that represents the element extension.
public:
generic <typename TExtension>
TExtension GetObject(System::Xml::Serialization::XmlSerializer ^ serializer);
public TExtension GetObject<TExtension> (System.Xml.Serialization.XmlSerializer serializer);
member this.GetObject : System.Xml.Serialization.XmlSerializer -> 'Extension
Public Function GetObject(Of TExtension) (serializer As XmlSerializer) As TExtension
Parâmetros de tipo
- TExtension
O tipo da extensão a recuperar.The type of the extension to retrieve.
Parâmetros
- serializer
- XmlSerializer
O XmlSerializer a ser usado.The XmlSerializer to use.
Retornos
- TExtension
Um objeto do tipo especificado que contém a extensão do elemento.An object of the specified type that contains the element extension.
Exceções
O XML de entrada não pode ser desserializado no tipo solicitado.The input XML cannot be deserialized into the requested type.