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 である場合。

適用対象