System::PrintTo 方法

System::PrintTo(const Decimal&, ::std::ostream *) method

将指定对象表示的值写入指定的输出流。

void System::PrintTo(const Decimal &d, ::std::ostream *os)
参数类型描述
dconst Decimal&要打印到流中的 Decimal 对象
os::std::ostream *用于打印指定对象的流

另见

System::PrintTo(const Details_Exception&, std::ostream *) method

将值打印到 ostream。主要用于调试。

void System::PrintTo(const Details_Exception &exception, std::ostream *stream)

另见

System::PrintTo(const ExceptionWrapper<T>&, std::ostream *) method

将值打印到 ostream。主要用于调试。

template<typename T> void System::PrintTo(const ExceptionWrapper<T> &exception_wrapper, std::ostream *stream)

另见

System::PrintTo(const Guid&, std::ostream *) method

将值打印到 ostream。主要用于调试。

void System::PrintTo(const Guid &value, std::ostream *stream)

另见

System::PrintTo(const Nullable<T>&, std::ostream *) method

将值打印到 ostream。主要用于调试。

template<typename T> void System::PrintTo(const Nullable<T> &value, std::ostream *stream)

另见

System::PrintTo(const SmartPtr<T>&, std::ostream *) method

将值打印到 ostream。主要用于调试。

template<typename T> std::enable_if_t<detail::has_print_to_function<T>::value, void> System::PrintTo(const SmartPtr<T> &object_ptr, std::ostream *stream)

另见

System::PrintTo(const SmartPtr<T>&, std::ostream *) method

将值打印到 ostream。主要用于调试。

template<typename T> std::enable_if_t<!detail::has_print_to_function<T>::value, void> System::PrintTo(const SmartPtr<T> &object_ptr, std::ostream *stream)

另见

System::PrintTo(const System::Object&, std::ostream *) method

将值打印到 ostream。主要用于调试。

void System::PrintTo(const System::Object &value, std::ostream *stream)

另见

System::PrintTo(const System::String&, std::ostream *) method

将字符串打印到 ostream。主要用于调试。

void System::PrintTo(const System::String &value, std::ostream *os)
参数类型描述
const System::String&用于打印。
osstd::ostream *目标 ostream。

另见

System::PrintTo(const WeakPtr<T>&, std::ostream *) method

将值打印到 ostream。主要用于调试。

template<typename T> void System::PrintTo(const WeakPtr<T> &object_ptr, std::ostream *stream)

另见

System::PrintTo(DateTime, std::ostream *) method

将值打印到 ostream。主要用于调试。

void System::PrintTo(DateTime value, std::ostream *stream)

另见

System::PrintTo(DateTimeOffset, std::ostream *) method

将值打印到 ostream。主要用于调试。

void System::PrintTo(DateTimeOffset value, std::ostream *stream)

另见

System::PrintTo(TimeSpan, std::ostream *) method

将值打印到 ostream。主要用于调试。

void System::PrintTo(TimeSpan value, std::ostream *stream)

另见