DependencyObjectCodeDomSerializer.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 serialization.
Returns
A CodeDOM object that represents the object that has been serialized.
Exceptions
manager
or obj
contains a null reference (Nothing
in Visual Basic).
obj
cannot be converted to a DependencyObject.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.