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