ComponentOne Data Source for Entity Framework
C1.LiveLinq.LiveViews Namespace / ViewRow Class / Item Property / Item(String) Property
The name of the property.

In This Topic
    Item(String) Property
    In This Topic
    Gets or sets a value of the specified view property.
    Syntax
    'Declaration
     
    
    Public Overloads Property Item( _
       ByVal propertyName As System.String _
    ) As System.Object
    public System.object Item( 
       System.string propertyName
    ) {get; set;}

    Parameters

    propertyName
    The name of the property.

    Property Value

    The value of the property.
    Remarks

    Setting a view property is an update operation on the view. As any other update operation performed directly on the view (as opposed to on the base data collection on which that view depends, see C1.LiveLinq.LiveViewExtensions.AsUpdatable<T>), it is allowed only if the view is not read-only (see View.IsReadOnly), and it results in updating one of the view's base data collections.

    Only updatable properties can be set. An attempt to set a read-only property results in an exception. See View.IsReadOnly for more details.

    See Also