StructuralObject.GetValidValue 方法

定义

重载

GetValidValue(Byte[])

返回当前字节值的副本。

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

返回指定属性的复杂类型。

GetValidValue(Byte[])

返回当前字节值的副本。

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()

参数

currentValue
Byte[]

当前字节数组值。

返回

Byte[]

当前 Byte 值的副本。

适用于

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

返回指定属性的复杂类型。

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

类型参数

T

正在请求的复杂对象的类型。

参数

currentValue
T

从复杂对象继承的复杂对象。

property
String

复杂属性的名称,该复杂属性为复杂对象。

isNullable
Boolean

指示类型是否允许 Null 值。

isInitialized
Boolean

指示是否初始化该类型。

返回

T

属性的复杂类型对象。

适用于