IndexAttribute.Name Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the name of the index.

Namespace:  Microsoft.Phone.Data.Linq.Mapping
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

Syntax

Public Property Name As String
public string Name { get; set; }

Property Value

Type: System..::.String
The name of the index.

Remarks

Index names must be unique within a table but do not have to be unique within a database.

For information about using a local database in your Windows Phone application, see Local database for Windows Phone 8.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

IndexAttribute Class

Microsoft.Phone.Data.Linq.Mapping Namespace