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 の場合。

適用対象