StructuralObject.VerifyComplexObjectIsNotNull<TComplex> 메서드

정의

복합 개체가 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

형식 매개 변수

TComplex

확인 중인 복합 개체의 형식입니다.

매개 변수

complexObject
TComplex

유효성 검사 중인 복합 개체입니다.

propertyName
String

complexObject와 연결된 부모 개체에 대한 복합 속성입니다.

반환

TComplex

유효성 검사 중인 복합 개체입니다.

예외

복합 형식이 null인 경우

적용 대상