常見例句Error object returned when failing to instantiate a template.例示模板失敗時,返回的錯誤對象.Cannot instantiate generator'% 1'for file'% 2 '.無法為文件“%2 ” 實例化生成器“%1 ”.You cannot instantiate a generic or template class based on a local or unnamed type.無法實例化基于局部類型或未命名類型的泛型或模板類.Error object returned when failing to instantiate a template.例示模板失敗時,返回的錯誤對象.Cannot instantiate generator'% 1'for file'% 2 '.無法為文件“%2 ” 實例化生成器“%1 ”.You cannot instantiate a generic or template class based on a local or unnamed type.無法實例化基于局部類型或未命名類型的泛型或模板類.An explicit enclosing instance of class'{ 0 }'is needed to instantiate inner class'{ 1 }'需要類 “ {0}”的顯式封閉實例來實例化內(nèi)部類 “ {1}”Cannot instantiate an object of type'{ 0 }'from its string representation,'{ 1 }'for the'{ 2 }'property.無法將類型為 “ {0}”,屬性“{2}”為 “ {1}”的對象從字符串表示形式實例化.In this case, you can instantiate the class, but you cannot access the internal member.在此例中, 您可以實例化類, 但不能訪問內(nèi)部成員.This constructor exists for use by the Policy object instantiate new Permission objects.存在該構(gòu)造函數(shù)是因為Policy對象 要用來實例化新的Permission對象.After you instantiate the Validation object you need to add rules to fields.當(dāng)您實例驗證對象需要添加規(guī)則領(lǐng)域.You cannot instantiate a function based on a function template based on a local type.無法在基于局部類型的函數(shù)模板基礎(chǔ)上實例化函數(shù).When you instantiate a delegate, you can associate its instance with any method a compatible signature.當(dāng)您執(zhí)行個體化委派時, 可以將其執(zhí)行個體與任何具有相容簽章的方法產(chǎn)生關(guān)聯(lián). 返回 instantiate