Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

SqlCeUpdatableRecord.SetObjectRef Method

Sets the value of the specified field by reference rather than by-value.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

public void SetObjectRef(
	int ordinal,
	Object value


Type: System.Int32
The field in which to set the value.
Type: System.Object
The value to set.

This method only applies to types that map to char[] or byte[]. If you use this method with a type that does not map to char[] or byte[], an ArgumentException is thrown.

© 2015 Microsoft