แก้ไข

แชร์ผ่าน


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 public:
 static cli::array <System::Byte> ^ GetValidValue(cli::array <System::Byte> ^ currentValue);
protected internal static byte[] GetValidValue (byte[] currentValue);
static member GetValidValue : byte[] -> byte[]
Protected Friend Shared Function GetValidValue (currentValue As Byte()) As Byte()

Parameters

currentValue
Byte[]

The current byte array value.

Returns

Byte[]

A copy of the current Byte value.

Applies to

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

Returns a complex type for the specified property.

protected public:
generic <typename T>
 where T : System::Data::Objects::DataClasses::ComplexObjectgcnew() T GetValidValue(T currentValue, System::String ^ property, bool isNullable, bool isInitialized);
protected internal T GetValidValue<T> (T currentValue, string property, bool isNullable, bool isInitialized) where T : System.Data.Objects.DataClasses.ComplexObject, new();
member this.GetValidValue : 'T * string * bool * bool -> 'T (requires 'T :> System.Data.Objects.DataClasses.ComplexObject and 'T : (new : unit -> 'T))
Protected Friend Function GetValidValue(Of T As {ComplexObjectNew}) (currentValue As T, property As String, isNullable As Boolean, isInitialized As Boolean) As T

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