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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET