ActivityDelegate.ShouldSerializeDisplayName Method ()

.NET Framework (current version)
 
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.

Indicates whether the DisplayName property value should be serialized to XAML.

Namespace:   System.Activities
Assembly:  System.Activities (in System.Activities.dll)

public bool ShouldSerializeDisplayName()

Return Value

Type: System.Boolean

true, if the DisplayName property value should be serialized; otherwise, false.

ShouldSerializeDisplayName returns true if the DisplayName was explicitly set on the ActivityDelegate.

.NET Framework
Available since 4.0
Return to top
Show: