Storage Property
Collapse the table of content
Expand the table of content

DataAttribute.Storage Property

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

Gets or sets a private storage field to hold the value from a column.

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

'Declaration
Public Property Storage As String

Property Value

Type: System.String
The name of the storage field.

Storage property values are case sensitive. For example, ensure that values used in the attribute for the Storage property match the case for the corresponding property names used elsewhere in the code. This applies to all .NET programming languages, even those which are not typically case sensitive, including Visual Basic.

<Column(Storage:=_CustomerID)> _
Public CustomerID As String 

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft