DataGridViewRow.DataGridViewRowAccessibleObject.Value Property

 
Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public override string Value {
	[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
	get;
}

Exception Condition
InvalidOperationException

The value of the Owner property is null.

The Value property includes the Value property for each cell in the row. Value returns the string "(Create New)" if the current row is a new row.

SecurityPermission

to call unmanaged code. Demand value: Demand. Permission value: UnmanagedCode

.NET Framework
Available since 2.0
Return to top
Show: