طريقة System::Globalization::DateTimeFormatInfo::ReadOnly

DateTimeFormatInfo::ReadOnly method

يحصل على نسخة للقراءة فقط من المنسق.

static DateTimeFormatInfoPtr System::Globalization::DateTimeFormatInfo::ReadOnly(const DateTimeFormatInfoPtr &info)
ParameterTypeالوصف
معلوماتconst DateTimeFormatInfoPtr&المُنسق للحصول على نسخة للقراءة فقط.

ReturnValue

إذا كان info للقراءة فقط، يُعيده، وإلا ينشئ نسخة منه ويُعلمها كقراءة فقط.

انظر أيضًا