XmlFormatExtensionPrefixAttribute.Prefix Property
.NET Framework (current version)
Gets or sets the XML namespace prefix associated with a service description format extension.
Assembly: System.Web.Services (in System.Web.Services.dll)
Property Value
Type: System.StringThe XML namespace prefix associated with a service description format extension.
' 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
.NET Framework
Available since 1.1
Available since 1.1
Show: