ActivityCodeDomSerializer.Serialize 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.
Serializes the specified object into a CodeDOM object.
public:
override System::Object ^ Serialize(System::ComponentModel::Design::Serialization::IDesignerSerializationManager ^ manager, System::Object ^ obj);
public override object Serialize (System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object obj);
override this.Serialize : System.ComponentModel.Design.Serialization.IDesignerSerializationManager * obj -> obj
Public Overrides Function Serialize (manager As IDesignerSerializationManager, obj As Object) As Object
Parameters
- manager
- IDesignerSerializationManager
The serialization manager to use during the serialization process.
Returns
A CodeDOM object representing the object that has been serialized.
Exceptions
manager
or obj
contains a null reference (Nothing
in Visual Basic).
obj
cannot be converted to an Activity.
Remarks
Serialize returns a null reference (Nothing
) if the activity it attempts to serialize is the child activity of a custom composite activity.
Applies to
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour