本文整理汇总了VB.NET中System.ComponentModel.Design.Serialization.DesignerSerializationManager类的典型用法代码示例。如果您正苦于以下问题:VB.NET DesignerSerializationManager类的具体用法?VB.NET DesignerSerializationManager怎么用?VB.NET DesignerSerializationManager使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了DesignerSerializationManager类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的VB.NET代码示例。
示例1: StringProperty
Public Class SampleObject
Private stringValue As String = Nothing
Private intValue As Integer = Integer.MinValue
Public Property StringProperty() As String
Get
Return Me.stringValue
End Get
Set
Me.stringValue = value
End Set
End Property
Public Property IntProperty() As Integer
Get
Return Me.intValue
End Get
Set
Me.intValue = value
End Set
End Property
End Class
开发者ID:VB.NET开发者,项目名称:System.ComponentModel.Design.Serialization,代码行数:23,代码来源:DesignerSerializationManager
示例2: StringProperty
Public Class SampleObject
Private stringValue As String = Nothing
Private intValue As Integer = Integer.MinValue
Private childValue As SampleObject = Nothing
Public Property StringProperty() As String
Get
Return Me.stringValue
End Get
Set
Me.stringValue = value
End Set
End Property
Public Property IntProperty() As Integer
Get
Return Me.intValue
End Get
Set
Me.intValue = value
End Set
End Property
Public Property Child() As SampleObject
Get
Return Me.childValue
End Get
Set
Me.childValue = value
End Set
End Property
End Class
开发者ID:VB.NET开发者,项目名称:System.ComponentModel.Design.Serialization,代码行数:33,代码来源:DesignerSerializationManager
示例3: Main
Class Program
Public Overloads Shared Sub Main()
Main(System.Environment.GetCommandLineArgs())
End Sub
Overloads Shared Sub Main(args() As String)
Dim root As New SampleObject()
Dim currentObject As SampleObject = root
Dim i As Integer
For i = 0 To 9
Dim o As New SampleObject()
currentObject.Child = o
currentObject = o
Next i
End Sub
End Class
开发者ID:VB.NET开发者,项目名称:System.ComponentModel.Design.Serialization,代码行数:21,代码来源:DesignerSerializationManager