O método SetType da classe System.Runtime.Serialization.SerializationInfo é usado no contexto de serialização em C#. Ele permite definir o tipo da instância atual durante a desserialização. Esse método é útil quando a mesma instância pode ser serializada como diferentes tipos, e é necessário especificar qual tipo deve ser utilizado durante a desserialização. Ele recebe como parâmetro o tipo de destino desejado e atualiza a informação de tipo interna usada durante a desserialização.
System.Runtime.Serialization SerializationInfo.SetType em C# (CSharp) - 32 exemplos encontrados. Esses são os exemplos do mundo real mais bem avaliados de System.Runtime.Serialization.SerializationInfo.SetType em C# (CSharp) extraídos de projetos de código aberto. Você pode avaliar os exemplos para nos ajudar a melhorar a qualidade deles.