Rediger

Del via


WorkflowMarkupSerializer.CanSerializeToString Method

Definition

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

protected public:
 virtual bool CanSerializeToString(System::Workflow::ComponentModel::Serialization::WorkflowMarkupSerializationManager ^ serializationManager, System::Object ^ value);
protected internal virtual bool CanSerializeToString (System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager serializationManager, object value);
abstract member CanSerializeToString : System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager * obj -> bool
override this.CanSerializeToString : System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager * obj -> bool
Protected Friend Overridable Function CanSerializeToString (serializationManager As WorkflowMarkupSerializationManager, value As Object) As Boolean

Parameters

serializationManager
WorkflowMarkupSerializationManager

The WorkflowMarkupSerializationManager used to serialize this object.

value
Object

The specified Object.

Returns

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

Exceptions

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

-or-

value is a null reference (Nothing).

Applies to