ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 244
نمايش فراداده

XmlFormatExtensionPrefixAttribute

System.Web.Services.Configuration (system.web.services.dll)sealed class

This attribute specifies the XML namespace (the constructor's ns parameter) and XML namespace prefix (the constructor's prefix parameter) that will be used for all format extensions generated by a custom format extension class. This attribute is applied to the custom System.Web.Services.Description.ServiceDescriptionFormatExtension class.

public sealed class 

XmlFormatExtensionPrefixAttribute : Attribute { // Public Constructors public

XmlFormatExtensionPrefixAttribute ( ); public

XmlFormatExtensionPrefixAttribute (string

prefix , string

ns ); // Public Instance Properties public string

Namespace {set; get; } public string

Prefix {set; get; } }

Hierarchy

System.Object System.Attribute XmlFormatExtensionPrefixAttribute

Valid On

Class