ModelItem.Name Property (System.Activities.Presentation.Model)

Switch View :
ScriptFree
.NET Framework Class Library
ModelItem.Name Property

Represents the name or ID of the item.

Namespace:  System.Activities.Presentation.Model
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)
Syntax

Visual Basic
Public MustOverride Property Name As String
	Get
	Set
C#
public abstract string Name { get; set; }
Visual C++
public:
virtual property String^ Name {
	String^ get () abstract;
	void set (String^ value) abstract;
}
F#
abstract Name : string with get, set

Property Value

Type: System.String
Returns the name or ID of the item as a String.
Remarks

Not all items need to have names, so this might return null. Depending on the type of item and where it sits in the hierarchy, it might not always be legal to set the Name on an item. If the ItemType of this item declares a RuntimeNamePropertyAttribute, the Name property is a direct mapping to the property dictated by that attribute.

Version Information

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4
.NET Framework Security

Platforms

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
See Also

Reference