vb System.Web.Services.Configuration.XmlFormatExtensionPrefixAttribute.Prefix类(方法)实例源码

下面列出了vb System.Web.Services.Configuration.XmlFormatExtensionPrefixAttribute.Prefix 类(方法)源码代码实例,从而了解它的用法。

作者:VB.NET开发    项目:System.Web.Services.Configuratio   
' The YMLOperationBinding class is part of the YML SDFE, as it is the
' class that is serialized into XML and is placed in the service
' description.
<XmlFormatExtension("action", YMLOperationBinding.YMLNamespace, _
    GetType(OperationBinding)), _
    XmlFormatExtensionPrefix("yml", YMLOperationBinding.YMLNamespace)> _
Public Class YMLOperationBinding
    Inherits ServiceDescriptionFormatExtension
    Private _reverse As Boolean
    Public Const YMLNamespace As String = "http://www.contoso.com/yml"

    <XmlElement("Reverse")> _
    Public Property Reverse() As Boolean
        Get
            Return _reverse
        End Get
        Set(ByVal Value As Boolean)
            _reverse = Value
        End Set
    End Property

End Class


问题


面经


文章

微信
公众号

扫码关注公众号