Edit

Share via


StructuralObject.GetValidValue Method

Definition

Overloads

GetValidValue(Byte[])

Returns a copy of the current byte value.

GetValidValue<T>(T, String, Boolean, Boolean)

Returns a complex type for the specified property.

GetValidValue(Byte[])

Returns a copy of the current byte value.

protected internal static byte[] GetValidValue(byte[] currentValue);

Parameters

currentValue
Byte[]

The current byte array value.

Returns

Byte[]

A copy of the current Byte value.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

GetValidValue<T>(T, String, Boolean, Boolean)

Returns a complex type for the specified property.

protected internal T GetValidValue<T>(T currentValue, string property, bool isNullable, bool isInitialized) where T : System.Data.Objects.DataClasses.ComplexObject, new();

Type Parameters

T

The type of the complex object being requested.

Parameters

currentValue
T

A complex object that inherits from complex object.

property
String

The name of the complex property that is the complex object.

isNullable
Boolean

Indicates whether the type supports null values.

isInitialized
Boolean

Indicates whether the type is initialized.

Returns

T

A complex type object for the property.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1