本文整理汇总了VB.NET中System.Runtime.Remoting.MetadataServices.MetaData.ConvertTypesToSchemaToFile方法的典型用法代码示例。如果您正苦于以下问题:VB.NET MetaData.ConvertTypesToSchemaToFile方法的具体用法?VB.NET MetaData.ConvertTypesToSchemaToFile怎么用?VB.NET MetaData.ConvertTypesToSchemaToFile使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。
在下文中一共展示了MetaData.ConvertTypesToSchemaToFile方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的VB.NET代码示例。
示例1: Test
' 导入命名空间
Imports System.Runtime.Remoting.Metadata
Imports System.Runtime.Remoting.MetadataServices
Public Class Test
Class TestClass
Private [integer] As Integer
Public dFloatingPoint As Double = 3.1999
Public Property Int() As Integer
Get
Return [integer]
End Get
Set
[integer] = value
End Set
End Property
Public Sub Print()
Console.WriteLine("The double is equal to {0}.", dFloatingPoint)
End Sub
End Class
Public Shared Sub Main()
Dim types(4) As Type
Dim s As [String] = "a"
Dim i As Integer = - 5
Dim d As Double = 3.1415
Dim tc As New TestClass()
types(0) = s.GetType()
types(1) = i.GetType()
types(2) = d.GetType()
types(3) = tc.GetType()
MetaData.ConvertTypesToSchemaToFile(types, SdlType.Wsdl, "test.xml")
End Sub
End Class
开发者ID:VB.NET开发者,项目名称:System.Runtime.Remoting.MetadataServices,代码行数:43,代码来源:MetaData.ConvertTypesToSchemaToFile