本文整理汇总了C#中Converter.Write方法的典型用法代码示例。如果您正苦于以下问题:C# Converter.Write方法的具体用法?C# Converter.Write怎么用?C# Converter.Write使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Converter
的用法示例。
在下文中一共展示了Converter.Write方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: WriteElement
/// <summary>
/// This is used write the element specified using the specified
/// converter. Writing the value using the specified converter will
/// result in the node being populated with the elements, attributes,
/// and text values to the provided node. If there is a problem
/// writing the value using the converter an exception is thrown.
/// </summary>
/// <param name="node">
/// this is the node that the value is to be written to
/// </param>
/// <param name="value">
/// this is the value that is to be written
/// </param>
/// <param name="convert">
/// this is the converter used to perform writing
/// </param>
public void WriteElement(OutputNode node, Object value, Converter convert) {
convert.Write(node, value);
}