ConnectorLayoutSerializer ConnectorLayoutSerializer ConnectorLayoutSerializer ConnectorLayoutSerializer Class

定義

警告

此 API 現已淘汰。

將接點配置序列化。Serializes a connector layout.

public ref class ConnectorLayoutSerializer : System::Workflow::ComponentModel::Serialization::WorkflowMarkupSerializer
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class ConnectorLayoutSerializer : System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializer
type ConnectorLayoutSerializer = class
    inherit WorkflowMarkupSerializer
Public Class ConnectorLayoutSerializer
Inherits WorkflowMarkupSerializer
繼承
ConnectorLayoutSerializerConnectorLayoutSerializerConnectorLayoutSerializerConnectorLayoutSerializer
屬性

備註

注意

此資料討論已被汰換的類型及命名空間。This material discusses types and namespaces that are obsolete. 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

這個類別在自訂衍生自 Connector 之類別的接點序列化時也非常有用。This class is also useful for customizing the serialization of connectors of classes derived from Connector.

建構函式

ConnectorLayoutSerializer() ConnectorLayoutSerializer() ConnectorLayoutSerializer() ConnectorLayoutSerializer()

初始化 ConnectorLayoutSerializer 類別的新執行個體。Initializes a new instance of the ConnectorLayoutSerializer class.

方法

AddChild(WorkflowMarkupSerializationManager, Object, Object) AddChild(WorkflowMarkupSerializationManager, Object, Object) AddChild(WorkflowMarkupSerializationManager, Object, Object) AddChild(WorkflowMarkupSerializationManager, Object, Object)

將子物件加入至指定的物件。Adds a child object to the specified object.

(Inherited from WorkflowMarkupSerializer)
CanSerializeToString(WorkflowMarkupSerializationManager, Object) CanSerializeToString(WorkflowMarkupSerializationManager, Object) CanSerializeToString(WorkflowMarkupSerializationManager, Object) CanSerializeToString(WorkflowMarkupSerializationManager, Object)

傳回布林值,這個值表示指定的物件是否可以序列化為字串。Returns a Boolean that indicates whether the specified object can be serialized to a string.

(Inherited from WorkflowMarkupSerializer)
ClearChildren(WorkflowMarkupSerializationManager, Object) ClearChildren(WorkflowMarkupSerializationManager, Object) ClearChildren(WorkflowMarkupSerializationManager, Object) ClearChildren(WorkflowMarkupSerializationManager, Object)

從指定的物件移除所有子物件。Removes all child objects from the specified object.

(Inherited from WorkflowMarkupSerializer)
CreateInstance(WorkflowMarkupSerializationManager, Type) CreateInstance(WorkflowMarkupSerializationManager, Type) CreateInstance(WorkflowMarkupSerializationManager, Type) CreateInstance(WorkflowMarkupSerializationManager, Type)

使用指定的 Type 來建立指定之 WorkflowMarkupSerializationManager 的執行個體。Creates an instance of the specified Type using the specified WorkflowMarkupSerializationManager.

Deserialize(IDesignerSerializationManager, XmlReader) Deserialize(IDesignerSerializationManager, XmlReader) Deserialize(IDesignerSerializationManager, XmlReader) Deserialize(IDesignerSerializationManager, XmlReader)

使用指定的序列化管理員,將工作流程標記還原序列化為 ObjectDeserializes workflow markup into an Object using the specified serialization manager.

(Inherited from WorkflowMarkupSerializer)
Deserialize(XmlReader) Deserialize(XmlReader) Deserialize(XmlReader) Deserialize(XmlReader)

將工作流程標記還原序列化為 ObjectDeserializes workflow markup into an Object.

(Inherited from WorkflowMarkupSerializer)
DeserializeFromString(WorkflowMarkupSerializationManager, Type, String) DeserializeFromString(WorkflowMarkupSerializationManager, Type, String) DeserializeFromString(WorkflowMarkupSerializationManager, Type, String) DeserializeFromString(WorkflowMarkupSerializationManager, Type, String)

根據要還原序列化之屬性的指定型別,從指定的字串還原序列化 eXtensible Application Markup Language (XAML) 內容。Deserializes extensible Application Markup Language (XAML) content from the specified string according to the given type of the property to deserialize.

(Inherited from WorkflowMarkupSerializer)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetChildren(WorkflowMarkupSerializationManager, Object) GetChildren(WorkflowMarkupSerializationManager, Object) GetChildren(WorkflowMarkupSerializationManager, Object) GetChildren(WorkflowMarkupSerializationManager, Object)

擷取指定之物件的子物件清單Retrieves a list of child objects for the specified object

(Inherited from WorkflowMarkupSerializer)
GetConnectorConstructionArguments(WorkflowMarkupSerializationManager, Type) GetConnectorConstructionArguments(WorkflowMarkupSerializationManager, Type) GetConnectorConstructionArguments(WorkflowMarkupSerializationManager, Type) GetConnectorConstructionArguments(WorkflowMarkupSerializationManager, Type)

取得 Dictionary 集合,該集合會填入項目名稱並從與 WorkflowMarkupSerializationManager 關聯之 xml 讀取器中的目前位置填入其關聯值。Gets a Dictionary collection filled with element name and their associated values from the current position in the xml reader associated with the WorkflowMarkupSerializationManager.

GetEvents(WorkflowMarkupSerializationManager, Object) GetEvents(WorkflowMarkupSerializationManager, Object) GetEvents(WorkflowMarkupSerializationManager, Object) GetEvents(WorkflowMarkupSerializationManager, Object)

擷取有關所有與特定 Object 相關聯之事件的資訊。Retrieves information about all events associated with the specified Object.

(Inherited from WorkflowMarkupSerializer)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetProperties(WorkflowMarkupSerializationManager, Object) GetProperties(WorkflowMarkupSerializationManager, Object) GetProperties(WorkflowMarkupSerializationManager, Object) GetProperties(WorkflowMarkupSerializationManager, Object)

擷取有關所有與指定物件相關聯之屬性的資訊。Retrieves information about all properties associated with the specified object.

GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
OnAfterDeserialize(WorkflowMarkupSerializationManager, Object) OnAfterDeserialize(WorkflowMarkupSerializationManager, Object) OnAfterDeserialize(WorkflowMarkupSerializationManager, Object) OnAfterDeserialize(WorkflowMarkupSerializationManager, Object)

在還原序列化 (Deserialization) 程序後執行物件的處理。Performs processing of the object after the deserialization process.

OnAfterSerialize(WorkflowMarkupSerializationManager, Object) OnAfterSerialize(WorkflowMarkupSerializationManager, Object) OnAfterSerialize(WorkflowMarkupSerializationManager, Object) OnAfterSerialize(WorkflowMarkupSerializationManager, Object)

告知 WorkflowMarkupSerializer,已序列化物件。Notifies the WorkflowMarkupSerializer that an object has just been serialized.

(Inherited from WorkflowMarkupSerializer)
OnBeforeDeserialize(WorkflowMarkupSerializationManager, Object) OnBeforeDeserialize(WorkflowMarkupSerializationManager, Object) OnBeforeDeserialize(WorkflowMarkupSerializationManager, Object) OnBeforeDeserialize(WorkflowMarkupSerializationManager, Object)

被覆寫。Overridden. 告知 WorkflowMarkupSerializer,即將還原序列化物件。Notifies the WorkflowMarkupSerializer that an object is about to be deserialized.

(Inherited from WorkflowMarkupSerializer)
OnBeforeSerialize(WorkflowMarkupSerializationManager, Object) OnBeforeSerialize(WorkflowMarkupSerializationManager, Object) OnBeforeSerialize(WorkflowMarkupSerializationManager, Object) OnBeforeSerialize(WorkflowMarkupSerializationManager, Object)

告知 WorkflowMarkupSerializer,即將執行 Serialize(XmlWriter, Object)Notifies the WorkflowMarkupSerializer that Serialize(XmlWriter, Object) is about to run.

(Inherited from WorkflowMarkupSerializer)
Serialize(IDesignerSerializationManager, XmlWriter, Object) Serialize(IDesignerSerializationManager, XmlWriter, Object) Serialize(IDesignerSerializationManager, XmlWriter, Object) Serialize(IDesignerSerializationManager, XmlWriter, Object)

使用指定的序列化管理員,將指定的 Object 序列化為工作流程標記檔案或資料流。Serializes the specified Object into a workflow markup file or stream using the specified serialization manager.

(Inherited from WorkflowMarkupSerializer)
Serialize(XmlWriter, Object) Serialize(XmlWriter, Object) Serialize(XmlWriter, Object) Serialize(XmlWriter, Object)

將指定的 Object 序列化為工作流程標記檔案或資料流。Serializes the specified Object into a workflow markup file or stream.

(Inherited from WorkflowMarkupSerializer)
SerializeToString(WorkflowMarkupSerializationManager, Object) SerializeToString(WorkflowMarkupSerializationManager, Object) SerializeToString(WorkflowMarkupSerializationManager, Object) SerializeToString(WorkflowMarkupSerializationManager, Object)

將指定的 Object 序列化為字串。Serializes the specified Object to a string.

(Inherited from WorkflowMarkupSerializer)
ShouldSerializeValue(WorkflowMarkupSerializationManager, Object) ShouldSerializeValue(WorkflowMarkupSerializationManager, Object) ShouldSerializeValue(WorkflowMarkupSerializationManager, Object) ShouldSerializeValue(WorkflowMarkupSerializationManager, Object)

傳回值,這個值表示 WorkflowMarkupSerializer 是否應該序列化指定的 ObjectReturns a value that indicates whether the WorkflowMarkupSerializer should serialize the specified Object.

(Inherited from WorkflowMarkupSerializer)
ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)

適用於