public static void WriteToStream(
BaseProperty prop,
StringBuilder sb,
TextWriter tw
)
Public Shared Sub WriteToStream (
prop As BaseProperty,
sb As StringBuilder,
tw As TextWriter
)
public:
static void WriteToStream(
BaseProperty^ prop,
StringBuilder^ sb,
TextWriter^ tw
)
static member WriteToStream :
prop : BaseProperty *
sb : StringBuilder *
tw : TextWriter -> unit
A StringBuilder used by the property to convert itself to a string. This is a shared instance used by all properties written to the text writer. It is cleared before the specified property is converted.
It can be null if the TextWriter is a StringWriter. In that case, the property will append itself directly to its StringBuilder instead.
InvalidCastException | This is thrown if the StringBuilder parameter is null and the TextWriter is not a StringWriter. |