IndexAttribute Class
Inheritance Hierarchy
System.Object
System.Attribute
Microsoft.Phone.Data.Linq.Mapping.IndexAttribute
Namespace: Microsoft.Phone.Data.Linq.Mapping
Assemblies: System.Data.Linq (in System.Data.Linq.dll)
System.Data.Linq (in System.Data.Linq.dll)
Syntax
'Declaration
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := True, Inherited := False)> _
Public NotInheritable Class IndexAttribute _
Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
public sealed class IndexAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = true, Inherited = false)]
public ref class IndexAttribute sealed : public Attribute
[<Sealed>]
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true, Inherited = false)>]
type IndexAttribute =
class
inherit Attribute
end
The IndexAttribute type exposes the following members.
Constructors
Name | Description | |
---|---|---|
IndexAttribute |
Top
Properties
Name | Description | |
---|---|---|
Columns | ||
IsUnique | ||
Name |
Top
Methods
Name | Description | |
---|---|---|
Equals | Infrastructure. Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from Attribute.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Match | When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Version Information
.NET for Windows Phone apps
Supported in: Windows Phone 8, Windows Phone 8, Windows Phone 8, Windows Phone 8, Silverlight 8.1
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.