Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!
e in is use.
'members Public PartfileData As New RequestedDataCollection() Public FileHeader As New FileHeader 'Save - saves the part file to a file Public Sub Save(ByVal filename As String) Try 'do we need to delete the file Dim info As New FileInfo(filename) If info.Exists Then info.Delete() End If 'create the new file Dim stream As New FileStream(filename, FileMode.Create) 'save it Dim serializer As New XmlSerializer(Me.GetType) serializer.Serialize(stream, Me) 'close the file stream.Close() Catch ex As Exception End Try End Sub
Join the community of 500,000 technology professionals and ask your questions.