Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Sub SetObjectRef ( _
ordinal As Integer, _
value As Object _
)
'Usage
Dim instance As SqlCeUpdatableRecord
Dim ordinal As Integer
Dim value As Object
instance.SetObjectRef(ordinal, value)
public void SetObjectRef(
int ordinal,
Object value
)
public:
void SetObjectRef(
int ordinal,
Object^ value
)
member SetObjectRef :
ordinal:int *
value:Object -> unit
public function SetObjectRef(
ordinal : int,
value : Object
)
Parameters
- ordinal
Type: System. . :: . .Int32
The field in which to set the value.
- value
Type: System. . :: . .Object
The value to set.
Remarks
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.