Compartir a través de


StructuralObject.VerifyComplexObjectIsNotNull<TComplex> Método

Definición

Comprueba que un objeto complejo no es null.

protected public:
generic <typename TComplex>
 where TComplex : System::Data::Objects::DataClasses::ComplexObject static TComplex VerifyComplexObjectIsNotNull(TComplex complexObject, System::String ^ propertyName);
protected internal static TComplex VerifyComplexObjectIsNotNull<TComplex> (TComplex complexObject, string propertyName) where TComplex : System.Data.Objects.DataClasses.ComplexObject;
static member VerifyComplexObjectIsNotNull : 'Complex * string -> 'Complex (requires 'Complex :> System.Data.Objects.DataClasses.ComplexObject)
Protected Friend Shared Function VerifyComplexObjectIsNotNull(Of TComplex As ComplexObject) (complexObject As TComplex, propertyName As String) As TComplex

Parámetros de tipo

TComplex

Tipo del objeto complejo que se va a comprobar.

Parámetros

complexObject
TComplex

Objeto complejo que se va a validar.

propertyName
String

Propiedad compleja del objeto primario asociado a complexObject.

Devoluciones

TComplex

Objeto complejo que se va a validar.

Excepciones

Cuando el tipo complejo es nulo.

Se aplica a