'Declaration
Public Overloads Shared Function SerializeObject( _
ByVal As Object, _
ByVal As Type, _
ByVal As String, _
ByVal As XmlTextWriter, _
ByVal 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)
パラメータ
- o
- シリアル化するオブジェクト
- saveInterface
- 使用するシリアル化インタフェース
- elementName
- XML要素の名前
- w
- 保存先のXmlTextWriterオブジェクト
- callingAssembly
- オブジェクトの実装を含むアセンブリを指定します。
戻り値の型
成功した場合はTrue、それ以外の場合はFalse