FarPoint.Win アセンブリ > FarPoint.Win 名前空間 > Serializer クラス > SerializeObject メソッド : SerializeObject(Object,Type,String,XmlTextWriter) メソッド |
'Declaration Public Overloads Shared Function SerializeObject( _ ByVal o As Object, _ ByVal saveInterface As Type, _ ByVal elementName As String, _ ByVal w As XmlTextWriter _ ) As Boolean
'使用法 Dim o As Object Dim saveInterface As Type Dim elementName As String Dim w As XmlTextWriter Dim value As Boolean value = Serializer.SerializeObject(o, saveInterface, elementName, w)
public static bool SerializeObject( object o, Type saveInterface, string elementName, XmlTextWriter w )
成功した場合はTrue、それ以外の場合はFalse