문제

Can i get back a string from the XamlWriter.Save(myBF, stream)? I need it so save the string in my database. What i have to change on the example from this answer

도움이 되었습니까?

해결책

You can create a StringWriter and pass that as the second parameter to XamlWriter.Save().

Then you just need to call StringWriter.ToString() to get the string.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top