ActivityCodeDomSerializationManager.GetName Method (Object)

 

Gets the name of the specified Object, or null if the Object has no name.

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

public string GetName(
	object value
)

Parameters

value
Type: System.Object

The Object to obtain the name for.

Return Value

Type: System.String

A String that contains the name of the Object.

If the object is not an activity the corresponding method of the WorkflowMarkupSerializationManager is called.

If the activity has no parent, then the activity qualified ID is returned with any periods (.) replaced by underscores (_).

.NET Framework
Available since 3.0
Return to top
Show: