StructuralObject.SetValidValue(Of T) Method (T, T, String)

 

Sets a complex object for the specified property.

Namespace:   System.Data.Objects.DataClasses
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

Protected Friend Function SetValidValue(Of T As ComplexObject) (
	oldValue As T,
	newValue As T,
	property As String
) As T

Parameters

oldValue
Type: T

The original complex object for the property, if any.

newValue
Type: T

The complex object is being set.

property
Type: System.String

The complex property that is being set to the complex object.

Return Value

Type: T

A complex type that derives from complex object.

Type Parameters

T

The type of the object being replaced.

.NET Framework
Available since 3.5
Return to top
Show: