Share via


DataAttribute.Storage property

Gets or sets the field member of the entity class that stores the value of the property to which the attribute is applied.

Namespace:  Microsoft.SharePoint.Linq
Assembly:  Microsoft.SharePoint.Linq (in Microsoft.SharePoint.Linq.dll)

Syntax

'Declaration
Public Property Storage As String
    Get
    Set
'Usage
Dim instance As DataAttribute
Dim value As String

value = instance.Storage

instance.Storage = value
public string Storage { get; set; }

Property value

Type: System.String
A String that represents the name of the field member.

Remarks

The Storage property should always be specified if the property wraps a field. The LINQ to SharePoint runtime has no other way of knowing about the field.

See also

Reference

DataAttribute class

DataAttribute members

Microsoft.SharePoint.Linq namespace