Share via


StructuralObject.GetValidValue Método

Definição

Sobrecargas

GetValidValue(Byte[])

Retorna uma cópia do valor de bytes atual.

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

Retorna um tipo complexo para a propriedade especificada.

GetValidValue(Byte[])

Retorna uma cópia do valor de bytes atual.

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

Parâmetros

currentValue
Byte[]

O valor da matriz de bytes atual.

Retornos

Byte[]

Uma cópia do valor Byte atual.

Aplica-se a

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

Retorna um tipo complexo para a propriedade especificada.

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

Parâmetros de tipo

T

O tipo do objeto complexo que está sendo solicitado.

Parâmetros

currentValue
T

Um objeto complexo que herda de objeto complexo.

property
String

O nome da propriedade complexa que é o objeto complexo.

isNullable
Boolean

Indica se o tipo dá suporte aos valores nulos.

isInitialized
Boolean

Indica se o tipo é inicializado.

Retornos

T

Um objeto de tipo complexo para a propriedade.

Aplica-se a