StructuralObject.VerifyComplexObjectIsNotNull<TComplex> Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Memverifikasi bahwa objek kompleks bukan 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
Jenis parameter
- TComplex
Jenis objek kompleks yang sedang diverifikasi.
Parameter
- complexObject
- TComplex
Objek kompleks yang sedang divalidasi.
- propertyName
- String
Properti kompleks pada objek induk yang terkait dengan complexObject.
Mengembalikan
Objek kompleks sedang divalidasi.
Pengecualian
Ketika jenis kompleks null.