WorkflowMarkupSerializer.CanSerializeToString Method (WorkflowMarkupSerializationManager, Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns a Boolean that indicates whether the specified object can be serialized to a string.

Namespace:   System.Workflow.ComponentModel.Serialization
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

protected internal virtual bool CanSerializeToString(
	WorkflowMarkupSerializationManager serializationManager,
	object value
)

Parameters

serializationManager
Type: System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager

The WorkflowMarkupSerializationManager used to serialize this object.

value
Type: System.Object

The specified Object.

Return Value

Type: System.Boolean

true if the specified object can be serialized to a string; otherwise, false.

Exception Condition
ArgumentNullException

serializationManager is a null reference (Nothing in Visual Basic).

ArgumentNullException

value is a null reference (Nothing).

.NET Framework
Available since 3.0
Return to top
Show: