Application program interface for network software platform

Information

  • Patent Application
  • 20030172196
  • Publication Number
    20030172196
  • Date Filed
    July 10, 2001
    23 years ago
  • Date Published
    September 11, 2003
    21 years ago
Abstract
An application program interface (API) provides a set of functions that make available support for processing XML documents for application developers who build Web applications on Microsoft Corporation's .NET™ platform.
Description


TECHNICAL FIELD

[0001] This invention relates to network software, such as Web applications, and to computer software development of such network software. More particularly, this invention relates to an application program interface (API) that facilitates use of a network software platform by application programs and computer hardware.



BACKGROUND

[0002] Very early on, computer software came to be categorized as “operating system” software or “application” software. Broadly speaking, an application is software meant to perform a specific task for the computer user such as solving a mathematical equation or supporting word processing. The operating system is the software that manages and controls the computer hardware. The goal of the operating system is to make the computer resources available to the application programmer while at the same time, hiding the complexity necessary to actually control the hardware.


[0003] The operating system makes the resources available via functions that are collectively known as the Application Program Interface or API. The term API is also used in reference to a single one of these functions. The functions are often grouped in terms of what resource or service they provide to the application programmer. Application software requests resources by calling individual API functions. API functions also serve as the means by which messages and information provided by the operating system are relayed back to the application software.


[0004] In addition to changes in hardware, another factor driving the evolution of operating system software has been the desire to simplify and speed application software development. Application software development can be a daunting task, sometimes requiring years of developer time to create a sophisticated program with millions of lines of code. For a popular operating system such as Microsoft Windows®, application software developers write thousands of different applications each year that utilize the operating system. A coherent and usable operating system base is required to support so many diverse application developers.


[0005] Often, development of application software can be made simpler by making the operating system more complex. That is, if a function may be useful to several different application programs, it may be better to write it once for inclusion in the operating system, than requiring dozens of software developers to write it dozens of times for inclusion in dozens of different applications. In this manner, if the operating system supports a wide range of common functionality required by a number of applications, significant savings in applications software development costs and time can be achieved.


[0006] Regardless of where the line between operating system and application software is drawn, it is clear that for a useful operating system, the API between the operating system and the computer hardware and application software is as important as efficient internal operation of the operating system itself.


[0007] Over the past few years, the universal adoption of the Internet, and networking technology in general, has changed the landscape for computer software developers. Traditionally, software developers focused on single-site software applications for standalone desktop computers, or LAN-based computers that were connected to a limited number of other computers via a local area network (LAN). Such software applications were typically referred to as “shrink wrapped” products because the software was marketed and sold in a shrink-wrapped package. The applications utilized well-defined APIs to access the underlying operating system of the computer.


[0008] As the Internet evolved and gained widespread acceptance, the industry began to recognize the power of hosting applications at various sites on the World Wide Web (or simply the “Web”). In the networked world, clients from anywhere could submit requests to server-based applications hosted at diverse locations and receive responses back in fractions of a second. These Web applications, however, were typically developed using the same operating system platform that was originally developed for standalone computing machines or locally networked computers. Unfortunately, in some instances, these applications do not adequately transfer to the distributed computing regime. The underlying platform was simply not constructed with the idea of supporting limitless numbers of interconnected computers.


[0009] To accommodate the shift to the distributed computing environment being ushered in by the Internet, Microsoft Corporation is developing a network software platform known as the “.NET” platform (read as “Dot Net”). The platform allows developers to create Web services that will execute over the Internet. Such a dynamic shift requires a new ground-up design of an entirely new API.


[0010] In response to this challenge, the inventors developed a unique set of API functions for Microsoft's .NET™ platform.



SUMMARY

[0011] An application program interface (API) provides a set of functions that make available support for processing XML documents for application developers who build Web applications on a network platform, such as Microsoft Corporation's .NET™ platform.







BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The same numbers are used throughout the drawings to reference like features.


[0013]
FIG. 1 illustrates a network architecture in which clients access Web services over the Internet using conventional protocols.


[0014]
FIG. 2 is a block diagram of a software architecture for Microsoft's .NET™ platform, which includes an application program interface (API).


[0015]
FIG. 3 is a block diagram of unique namespaces supported by the API, as well as function classes of the various API functions.


[0016]
FIG. 4 is a block diagram of an exemplary computer that may execute all or part of the software architecture.







BRIEF DESCRIPTION OF ACCOMPANYING COMPACT DISC

[0017] Accompanying this specification is a compact disc that stores a compiled HTML help file identifying the API (application program interface) for Microsoft's .NET™ network platform. The file is named “cpref.chm” and was created on Jun. 8, 2001. It is 30.81 Mbytes in size. The file can be executed on a Windows®-based computing device (e.g., IBM-PC, or equivalent) that executes a Windows®-brand operating system (e.g., Windows® NT, Windows® 98, Windows® 2000, etc.). The compiled HTML help file stored on the compact disk is hereby incorporated by reference.


[0018] Additionally, the APIs contained in the compiled HTML help file are also provided in approximately 100 separate text files named “NamespaceName.txt”. The text files comply with the ASCII format.


[0019] The compact disc itself is a CD-ROM, and conforms to the ISO 9660 standard.



DETAILED DESCRIPTION

[0020] This disclosure addresses an application program interface (API) for a network platform upon which developers can build Web applications and services. More particularly, an exemplary API is described for the .NET™ platform created by Microsoft Corporation. The .NET™ platform is a software platform for Web services and Web applications implemented in the distributed computing environment. It represents the next generation of Internet computing, using open communication standards to communicate among loosely coupled Web services that are collaborating to perform a particular task.


[0021] In the described implementation, the .NET™ platform utilizes XML (extensible markup language), an open standard for describing data. XML is managed by the World Wide Web Consortium (W3C). XML is used for defining data elements on a Web page and business-to-business documents. XML uses a similar tag structure as HTML; however, whereas HTML defines how elements are displayed, XML defines what those elements contain. HTML uses predefined tags, but XML allows tags to be defined by the developer of the page. Thus, virtually any data items can be identified, allowing Web pages to function like database records. Through the use of XML and other open protocols, such as Simple Object Access Protocol (SOAP), the .NET™ platform allows integration of a wide range of services that can be tailored to the needs of the user. Although the embodiments described herein are described in conjunction with XML and other open standards, such are not required for the operation of the claimed invention. Other equally viable technologies will suffice to implement the inventions described herein.


[0022] Exemplary Network Environment


[0023]
FIG. 1 shows a network environment 100 in which a network platform, such as the .NET™ platform, may be implemented. The network environment 100 includes representative Web services 102(1), . . . , 102(N), which provide services that can be accessed over a network 104 (e.g., Internet). The Web services, referenced generally as number 102, are programmable application components that are reusable and interact programmatically over the network 104, typically through industry standard Web protocols, such as XML, SOAP, WAP (wireless application protocol), HTTP (hypertext transport protocol), and SMTP (simple mail transfer protocol) although other means of interacting with the Web services over the network may also be used, such as Remote Procedure Call (RPC) or object broker type technology. A Web service can be self-describing and is often defined in terms of formats and ordering of messages.


[0024] Web services 102 are accessible directly by other services (as represented by communication link 106) or a software application, such as Web application 110 (as represented by communication links 112 and 114). Each Web service 102 is illustrated as including one or more servers that execute software to handle requests for particular services. Such services often maintain databases that store information to be served back to requesters. Web services may be configured to perform any one of a variety of different services. Examples of Web services include login verification, notification, database storage, stock quoting, location directories, mapping, music, electronic wallet, calendar/scheduler, telephone listings, news and information, games, ticketing, and so on. The Web services can be combined with each other and with other applications to build intelligent interactive experiences.


[0025] The network environment 100 also includes representative client devices 120(1), 120(2), 120(3), 120(4), . . . , 120(M) that utilize the Web services 102 (as represented by communication link 122) and/or the Web application 110 (as represented by communication links 124, 126, and 128). The clients may communicate with one another using standard protocols as well, as represented by an exemplary XML link 130 between clients 120(3) and 120(4).


[0026] The client devices, referenced generally as number 120, can be implemented many different ways. Examples of possible client implementations include, without limitation, portable computers, stationary computers, tablet PCs, televisions/set-top boxes, wireless communication devices, personal digital assistants, gaming consoles, printers, photocopiers, and other smart devices.


[0027] The Web application 110 is an application designed to run on the network platform and may utilize the Web services 102 when handling and servicing requests from clients 120. The Web application 110 is composed of one or more software applications 130 that run atop a programming framework 132, which are executing on one or more servers 134 or other computer systems. Note that a portion of Web application 110 may actually reside on one or more of clients 120. Alternatively, Web application 110 may coordinate with other software on clients 120 to actually accomplish its tasks.


[0028] The programming framework 132 is the structure that supports the applications and services developed by application developers. It permits multi-language development and seamless integration by supporting multiple languages. It supports open protocols, such as SOAP, and encapsulates the underlying operating system and object model services. The framework provides a robust and secure execution environment for the multiple programming languages and offers secure, integrated class libraries.


[0029] The framework 132 is a multi-tiered architecture that includes an application program interface (API) layer 142, a common language runtime (CLR) layer 144, and an operating system/services layer 146. This layered architecture allows updates and modifications to various layers without impacting other portions of the framework. A common language specification (CLS) 140 allows designers of various languages to write code that is able to access underlying library functionality. The specification 140 functions as a contract between language designers and library designers. By adhering to the CLS, libraries written in one language can be directly accessible to code modules written in other languages to achieve seamless integration between code modules written in one language and code modules written in another language.


[0030] The API layer 142 presents groups of functions that the applications 130 can call to access the resources and services provided by layer 146. By exposing the API functions for a network platform, application developers can create Web applications for distributed computing systems that make full use of the network resources and other Web services, without needing to understand the complex interworkings of how those network resources actually operate or are made available. Moreover, the Web applications can be written in any number of programming languages, and translated into an intermediate language supported by the common language runtime 144 and included as part of the common language specification 140. . In this way, the API layer 142 can provide methods for a wide and diverse variety of applications.


[0031] Additionally, the framework 132 can be configured to support API calls placed by remote applications executing remotely from the servers 134 that host the framework. Representative applications 148(1) and 148(2) residing on clients 120(3) and 120(M), respectively, can use the API functions by making calls directly, or indirectly, to the API layer 142 over the network 104.


[0032] The framework may also be implemented at the clients. Client 120(3) represents the situation where a framework 150 is implemented at the client. This framework may be identical to server-based framework 132, or modified for client purposes. Alternatively, the client-based framework may be condensed in the event that the client is a limited or dedicated function device, such as a cellular phone, personal digital assistant, handheld computer, or other communication/computing device.


[0033] Developers's Programming Framework


[0034]
FIG. 2 shows the programming framework 132 in more detail. The common language specification (CLS) layer 140 supports applications written in a variety of languages 130(1), 130(2), 130(3), 130(4), . . . , 130(K). Such application languages include Visual Basic, C++, C#, COBOL, Jscript, Perl, Eiffel, Python, and so on. The common language specification 140 specifies a subset of features or rules about features that, if followed, allow the various languages to communicate. For example, some languages do not support a given type (e.g., an “int*” type) that might otherwise be supported by the common language runtime 144. In this case, the common language specification 140 does not include the type. On the other hand, types that are supported by all or most languages (e.g., the “int[ ]” type) is included in common language specification 140 so library developers are free to use it and are assured that the languages can handle it. This ability to communicate results in seamless integration between code modules written in one language and code modules written in another language. Since different languages are particularly well suited to particular tasks, the seamless integration between languages allows a developer to select a particular language for a particular code module with the ability to use that code module with modules written in different languages. The common language runtime 144 allow seamless multi-language development, with cross language inheritance, and provide a robust and secure execution environment for the multiple programming languages. For more information on the common language specification 140 and the common language runtime 144, the reader is directed to co-pending applications entitled “Method and System for Compiling Multiple Languages”, filed Jun. 21, 2000 (Ser. No. 09/598,105) and “Unified Data Type System and Method” filed Jul. 10, 2000 (Ser. No. 09/613,289), which are incorporated by reference.


[0035] The framework 132 encapsulates the operating system 146(1) (e.g., Windows®-brand operating systems) and object model services 146(2) (e.g., Component Object Model (COM) or Distributed COM). The operating system 146(1) provides conventional functions, such as file management, notification, event handling, user interfaces (e.g., windowing, menus, dialogs, etc.), security, authentication, verification, processes and threads, memory management, and so on. The object model services 146(2) provide interfacing with other objects to perform various tasks. Calls made to the API layer 142 are handed to the common language runtime layer 144 for local execution by the operating system 146(1) and/or object model services 146(2).


[0036] The API 142 groups API functions into multiple namespaces. Namespaces essentially define a collection of classes, interfaces, delegates, enumerations, and structures, which are collectively called “types”, that provide a specific set of related functionality. A class represents managed heap allocated data that has reference assignment semantics. A delegate is an object oriented function pointer. An enumeration is a special kind of value type that represents named constants. A structure represents static allocated data that has value assignment semantics. An interface defines a contract that other types can implement.


[0037] By using namespaces, a designer can organize a set of types into a hierarchical namespace. The designer is able to create multiple groups from the set of types, with each group containing at least one type that exposes logically related functionality. In the exemplary implementation, the API 142 is organized into four root namespaces: a first namespace 200 for Web applications, a second namespace 202 for client applications, a third namespace 204 for data and XML, and a fourth namespace 206 for base class libraries (BCLs). Each group can then be assigned a name. For instance, types in the Web applications namespace 200 are assigned the name “Web”, and types in the data and XML namespace 204 can be assigned names “Data” and “XML” respectively. The named groups can be organized under a single “global root” namespace for system level APIs, such as an overall System namespace. By selecting and prefixing a top level identifier, the types in each group can be easily referenced by a hierarchical name that includes the selected top level identifier prefixed to the name of the group containing the type. For instance, types in the Web applications namespace 200 can be referenced using the hierarchical name “System.Web”. In this way, the individual namespaces 200, 202, 204, and 206 become major branches off of the System namespace and can carry a designation where the individual namespaces are prefixed with a designator, such as a “System.” prefix.


[0038] The Web applications namespace 200 pertains to Web based functionality, such as dynamically generated Web pages (e.g., Microsoft's Active Server Pages (ASP)). It supplies types that enable browser/server communication. The client applications namespace 202 pertains to drawing and client side UI functionality. It supplies types that enable drawing of two-dimensional (2D) and three-dimensional (3D) drawings, imaging, and printing, as well as the ability to construct window forms, menus, boxes, and so on.


[0039] The data and XML namespace 204 relates to connectivity to data sources and XML functionality. It supplies classes, interfaces, delegates, and enumerations that enable security, specify data types, and serialize objects into XML format documents or streams. The base class libraries (BCL) namespace 206 pertains to basic system and runtime functionality. It contains the fundamental types and base classes that define commonly-used value and reference data types, events and event handlers, interfaces, attributes, and processing exceptions.


[0040] In addition to the framework 132, programming tools 210 are provided to assist the developer in building Web services and/or applications. One example of the programming tools 200 is Visual Studio™, a multi-language suite of programming tools offered by Microsoft Corporation.


[0041] Root API Namespaces


[0042]
FIG. 3 shows the API 142 and its four root namespaces in more detail. In one embodiment, the namespaces are identified according to a hierarchical naming convention in which strings of names are concatenated with periods. For instance, the Web applications namespace 200 is identified by the root name “System.Web”. Within the “Sytem.Web” namespace is another namespace for Web services, identified as “System.Web.Services”, which further identifies another namespace for a description known as “System.Web.Services.Description”. With this naming convention in mind, the following provides a general overview of selected namespaces of the API 142, although other naming conventions could be used with equal effect.


[0043] The Web applications namespace 200 (“System.Web”) defines additional namespaces, including:


[0044] A services namespace 300 (“System.Web.Services”) containing classes that enable a developer to build and use Web services. The services namespace 300 defines additional namespaces, including a description namespace 302 (“System.Web.Services.Description”) containing classes that enable a developer to publicly describe a Web service via a service description language (such as WSDL, a specification available from the W3C), a discovery namespace 304 (“System.Web.Services.Discovery”) containing classes that allow Web service consumers to locate available Web Services on a Web server, and a protocols namespace 306 (“System.Web.Services.Protocols”) containing classes that define the protocols used to transmit data across a network during communication between Web service clients and the Web service itself.


[0045] A caching namespace 308 (“System.Web.Caching”) containing classes that enable developers to decrease Web application response time through temporarily caching frequently used resources on the server. This includes ASP.NET pages, web services, and user controls. (ASP.NET is the updated version of Microsoft's ASP technology.) Additionally, a cache dictionary is available for developers to store frequently used resources, such as hash tables and other data structures.


[0046] A configuration namespace 310 (“System.Web.Configuration”) containing classes that are used to read configuration data in for an application.


[0047] A UI namespace 312 (“System.Web.UI”) containing types that allow developers to create controls and pages that will appear in Web applications as user interfaces on a Web page. This namespace includes the control class, which provides all web based controls, whether those encapsulating HTML elements, higher level Web controls, or even custom User controls, with a common set of functionality. Also provided are classes which provide the web forms server controls data binding functionality, the ability to save the view state of a given control or page, as well as parsing functionality for both programmable and literal controls. Within the UI namespace 312 are two additional namespaces: an HTML controls namespace 314 (“System.Web.UI.HtmlControls”) containing classes that permit developers to interact with types that encapsulates html 3.2 elemtents create HTML controls, and a Web controls namespace 316 (“System.Web.UI.WeblControls”) containing classes that allow developers to create higher level Web controls.


[0048] A security namespace 318 (“System.Web.Security”) containing classes used to implement security in web server applications, such as basic authentication, challenge response authentication, and role based authentication.


[0049] A session state namespace 320 (“System.Web.SessionState”) containing classes used to access session state values (i.e., data that lives across requests for the lifetime of the session) as well as session-level settings and lifetime management methods.


[0050] The client applications namespace 202 is composed of two namespaces:


[0051] A windows forms namespace 322 (“System.Windows.Forms”) containing classes for creating Windows®-based client applications that take full advantage of the rich user interface features available in the Microsoft Windows® operating system, such as the ability to drag and drop screen elements. Such classes may include wrapped APIs available in the Microsoft Windows® operating system that are used in a windowing UI environment. Within this namespace are a design namespace 324 (“System.Windows.Forms.Design”) that contains classes to extend design-time support for Windows forms and a component model namespace 326 (“System.Windows.Forms.ComponentModel”) that contains the windows form implementation of the general component model defined in System.ComponentModel. This namespace contains designer tools, such as Visual Studio, which offer a rich experience for developers at design time.


[0052] A drawing namespace 328 (“System.Drawing”) containing classes for graphics functionality. The drawing namespace 328 includes a 2D drawing namespace 330 (“System.Drawing.Drawing2D”) that contains classes and enumerations to provide advanced 2-dimmensional and vector graphics functionality, an imaging namespace 332 (“System.Drawing.Imaging”) that contains classes for advanced imaging functionality, a printing namespace 334 (“System.Drawing.Printing”) that contains classes to permit developers to customize printing, and a text namespace 336 (“System.Drawing.Text”) that contains classes for advanced typography functionality.


[0053] The data and XML namespace 204 is composed of two namespaces:


[0054] A data namespace 340 (“System.Data”) containing classes that enable developers to build components that efficiently manage data from multiple data sources. It implements an architecture that, in a disconnected scenario (such as the Internet), provides tools to request, update, and reconcile data in multiple tier systems. The data namespace 340 includes a common namespace 342 that contains types shared by data providers. A data provider describes a collection of types used to access a data source, such as a database, in the managed space. The data namespace 340 also includes an OLE DB namespace 344 that contains types pertaining to data used in object-oriented databases (e.g., Microsoft's SQL Server), and a SQL client namespace 346 that contains types pertaining to data used by SQL clients. The data namespace also includes a SQL types namespace 348 (“System.Data.SqlTypes”) that contains classes for native data types within Microsoft's SQL Server. The classes provide a safer, faster alternative to other data types. Using the objects within this namespace helps prevent type conversion errors caused in situations where loss of precision could occur. Because other data types are converted to and from SQL types behind the scenes, explicitly creating and using objects within this namespace results in faster code as well.


[0055] An XML namespace 350 (“System.XML”) containing classes that provide standards-based support for processing XML. The supported standards include XML (e.g., version 1.0), XML Namespaces (both stream level and DOM), XML Schemas, XPath expressions, XSL/T transformations, DOM Level 2 Core, and SOAP (e.g., version 1.1). The XML namespace 350 includes an XSLT namespace 352 (“System.XML.Xsl”) that contains classes and enumerations to support XSLT (Extensible Stylesheet Language Transformations), an Xpath namespace 354 (“System.XML.Xpath”) that contains an XPath parser and evaluation engine, and a serialization namespace 356 (“System.XML.Serialization”) that contains classes used to serialize objects into XML format documents or streams.


[0056] The base class library namespace 206 (“System”) includes the following namespaces:


[0057] A collections namespace 360 (“System.Collections”) containing interfaces and classes that define various collections of objects, such as lists, queues, arrays, hash tables and dictionaries.


[0058] A configuration namespace 362 (“System.Configuration”) containing classes and interfaces that allow developers to programmatically access configuration settings and handle errors in configuration files.


[0059] A diagnostics namespace 364 (“System.Diagnostics”) containing classes that are used to debug applications and to trace code execution. The namespace allows developers to start system processes, read and write to event logs, and monitor system performance using performance counters.


[0060] A globalization namespace 366 (“System.Globalization”) containing classes that define culture-related information, including the language, the country/region, the calendars in use, the format patterns for dates, currency and numbers, and the sort order for strings.


[0061] An I/O namespace 368 (“System.IO”) containing the infrastructure pieces to operate with the intput/output of data streams, files, and directories. This namespace includes a model for working with streams of bytes, higher level readers and writers which consume those bytes, various constructions or implementations of the streams (e.g., FileStream and MemoryStream) and, a set of utility classes for working with files and directories.


[0062] A net namespace 370 (“System.Net”) providing an extensive set of classes for building network-enabled application, referred to as the Net Class Libraries (NCL). One element to the design of the Net Class Libraries is an extensible, layered approach to exposing networking functionality. The NCL stack contains three basic layers. A base layer (System.Net.Socket) provides access to an interface to TCP/IP, the communications protocol of UNIX networks and the Internet. One example of such an interface is the “WinSock API” from Microsoft Corporation. The next layer is the Transport Protocol classes, which support such transport protocols as TCP and UDP. Developers may write their own protocol classes to provide support for protocols such as IGMP and ICMP. The third layer is the Web request, which provides an abstract factory pattern for the creation of other protocol classes. The NCL provides implementations for Hyper Text Transport Protocol (HTTP).


[0063] A reflection namespace (“System.Reflection”) 372 containing types that provide a managed view of loaded types, methods, and fields, with the ability to dynamically create and invoke types.


[0064] A resources namespace 374 (“System.Resources”) containing classes and interfaces that allow developers to create, store and manage various culture-specific resources used in an application.


[0065] A security namespace 376 (“System.Security”) supporting the underlying structure of the security system, including interfaces, attributes, exceptions, and base classes for permissions.


[0066] A service process namespace 378 (“System.ServiceProcess”) containing classes that allow developers to install and run services. Services are long-running executables that run without a user interface. They can be installed to run under a system account that enables them to be started at computer reboot. Services whose implementation is derived from processing in one class can define specific behavior for start, stop, pause, and continue commands, as well as behavior to take when the system shuts down.


[0067] A text namespace 380 (“System.Text”) containing classes representing various types of encodings (e.g., ASCII, Unicode, UTF-7, and UTF-8), abstract base classes for converting blocks of characters to and from blocks of bytes, and a helper class that manipulates and formats string objects without creating intermediate instances.


[0068] A threading namespace 382 (“System.Threading”) containing classes and interfaces that enable multi-threaded programming. The threading namespace includes a ThreadPool class that manages groups of threads, a Timer class that enables a delegate to be called after a specified amount of time, and a Mutex class for synchronizing mutually-exclusive threads. This namespace also provides classes for thread scheduling, wait notification, and deadlock resolution.


[0069] A runtime namespace 384 (“System.Runtime”) containing multiple namespaces concerning runtime features, including an interoperation services namespace 386 (“System.Runtime.InteropServices”) that contains a collection of classes useful for accessing COM objects. The types in the InteropServices namespace fall into the following areas of functionality: attributes, exceptions, managed definitions of COM types, wrappers, type converters, and the Marshal class. The runtime namespace 384 further includes a remoting namespace 388 (“System.Runtime.Remoting”) that contains classes and interfaces allowing developers to create and configure distributed applications. Another namespace within the runtime namespace 384 is a serialization namespace 390 (“System.Runtime.Serialization”) that contains classes used for serializing and deserializing objects. Serialization is the process of converting an object or a graph of objects into a linear sequence of bytes for either storage or transmission to another location.


[0070] Portions of the XML namespace 350 (“System.XML”) are discussed in additional detail below.


[0071] System.XML Namespace


[0072] This is the overall namespace for the XML classes that provide standards-based support for processing XML. Various functionality for processing XML documents can be invoked via the XML namespace, such as non-cached forward only access to XML data, read-only random access to a data store, transforming of XML data using an XSLT stylesheet, constructing and editing of schemas, resolving of external XML resources named by a Uniform Resource Identifier (URI), storage and retrieval (as well as manipulation) of structured data through a relational dataset, non-cached forward only generation of streams and files containing XML data, DTD and XDR (as well as XSD) schema validation, and so forth. In one exemplary implementation, the standards supported by the namespace are:


[0073] XML 1.0—http://www.w3.org/TR/1998/REC-xml-19980210—including DTD support (XmlTextReader);


[0074] XML Namespaces—http://www.w3.org/TR/REC-xml-names/—both stream level and DOM;


[0075] XML Schemas—http://www.w3.org/TR/xmlschema-1/—supported for schema mapping and serialization. (see also XmlSchemaCollection which provides XDR schema validation);


[0076] XPath expressions—http://www.w3.org/TR/xpath (XmlNavigator);


[0077] XSL/T transformations—http://www.w3.org/TR/xslt (XslTransform);


[0078] DOM Level 2 Core—http://www.w3.org/TR/DOM-Level-2/—for (XmlDocument);


[0079] SOAP 1.1—http://msdn.microsoft.com/xml/general/soapspec.asp (including the Soap Contract Language and Soap Discovery) used in XML object serialization.


[0080] The System.Xml namespace also includes a System.Xml.Schema namespace that contains XML classes that provide standards-based support for XML schemas. In one exemplary implementation, the supported standards are:


[0081] XML Schemas for Structures—http://www.w3.org/TR/xmlschema-1/—supports for schema mapping and for validation. (see also XmlSchemaCollection which provides XSD and XDR schema validation); and


[0082] XML Schemas for Data Types—http://www.w3.org/TR/xmlschema-2/—supports data types for XML schema definitions. (see also XmlSchemaCollection which provides XSD and XDR schema validation).


[0083] The following is a more detailed description of the System.Xml namespace, identifying various classes, interfaces, enumerations, and so forth contained in the System.Xml namespace (as well as the System.Xml.Schema, System.Xml.Serialization, System.Xml.Xpath, and System.Xml.Xsl namespaces contained therein).


[0084] System.Xml


[0085] This is the overall namespace for the XML classes that provide standards-based support for processing XML. The supported standards are: XML 1.0—http://www.w3.org/TR/1998/REC-xml-19980210—including DTD support (XmlTextReader) XML Namespaces—http://www.w3.org/TR/REC-xml-names/—both stream level and DOM.


[0086] Description


[0087] This is the overall namespace for the XML classes that provide standards-based support for processing XML. The supported standards are: XML 1.0—http://www.w3.org/TR/1998/REC-xml-19980210—including DTD support (XmlTextReader)XML Namespaces—http://www.w3.org/TR/REC-xml-names/—both stream level and DOM.


[0088] XmlDataDocument class (System.Xml)


[0089] Description


[0090] Allows structured data to be stored, retrieved, and manipulated through a relational System.Data.DataSet


[0091] This class extends System.Xml.XmlDocument. It enables you to load either relational data or XML data and manipulate that data using the W3C Document Object Model (DOM). The DOM presents data as a hierarchy of node objects. Because XmlDataDocument implements the System.Xml.XPath.IXPathNavigable interface it can also be used as the source document for the System.Xml.Xsl.XslTransform class.


[0092] Constructors:


[0093] XmlDataDocument


[0094] Example Syntax:


[0095] [C#] public XmlDataDocument( );


[0096] [C++] public: XmlDataDocument( );


[0097] [VB] Public Sub New( )


[0098] [JScript] public function XmlDataDocument( ); Initializes a new instance of the XmlDataDocument class.


[0099] Description


[0100] Initializes a new instance of the XmlDataDocument class.


[0101] The first time the System.Xml.XmlDataDocument.DataSet property is used, a new DataSet is created an associated with the XmlDataDocument.


[0102] XmlDataDocument


[0103] Example Syntax:


[0104] [C#] public XmlDataDocument(DataSet dataset);


[0105] [C++] public: XmlDataDocument(DataSet* dataset);


[0106] [VB] Public Sub New(ByVal dataset As DataSet)


[0107] [JScript] public function XmlDataDocument(dataset : DataSet);


[0108] Description


[0109] Initializes a new instance of the XmlDataDocument class with the specified System.Data.DataSet.


[0110] The XmlDataDocument is synchronized with the specified DataSet. Any data in the DataSet is immediately available through the XmlDataDocument. Any changes in the DataSet are propogated in the XmlDataDocument. Any changes made in the XmlDataDocument, provided they match the DataSet schema, are propogated in the DataSet. The DataSet to load into the XmlDataDocument.


[0111] Properties:


[0112] Attributes


[0113] BaseURI


[0114] ChildNodes


[0115] DataSet


[0116] Description


[0117] Gets a System.Data.DataSet that provides a relational representation of the data in the XmlDataDocument.


[0118] The DataSet enables you to access the data in the XmlDataDocument using a relational model. This means that you can handle the data as tables and views, rows and columns, relations, and so on.


[0119] DocumentElement


[0120] DocumentType


[0121] FirstChild


[0122] HasChildNodes


[0123] Implementation


[0124] InnerText


[0125] InnerXml


[0126] IsReadOnly


[0127] Item


[0128] Item


[0129] LastChild


[0130] LocalName


[0131] Name


[0132] NamespaceURI


[0133] NameTable


[0134] NextSibling


[0135] NodeType


[0136] OuterXml


[0137] OwnerDocument


[0138] ParentNode


[0139] Prefix


[0140] PreserveWhitespace


[0141] PreviousSibling


[0142] Value


[0143] XmlResolver


[0144] Methods:


[0145] CloneNode


[0146] [C#] public override XmlNode CloneNode(bool deep);


[0147] [C++] public: XmlNode* CloneNode(bool deep);


[0148] [VB] Overrides Public Function CloneNode(ByVal deep As Boolean) As XmlNode


[0149] [JScript] public override function CloneNode(deep : Boolean) : XmlNode;


[0150] Description


[0151] Creates a duplicate of the current node.


[0152] Return Value: The cloned node.


[0153] Cloning the XmlDataDocument also clones the System.Data.DataSet schema. true to recursively clone the subtree under the specified node; false to clone only the node itself.


[0154] CreateElement


[0155] [C#] public override XmlElement CreateElement(string prefix, string localName, string namespaceURI);


[0156] [C++] public: XmlElement* CreateElement(String* prefix, String* localName, String* namespaceURI);


[0157] [VB] Overrides Public Function CreateElement(ByVal prefix As String, ByVal localName As String, ByVal namespaceURI As String) As XmlElement


[0158] [JScript] public override function CreateElement(prefix : String, localName : String, namespaceURI : String) : XmlElement; Creates an System.Xml.XmlElement.


[0159] Description


[0160] Creates an element with the specified System.Xml.XmlNode.Prefix, System.Xml.XmlDocument.LocalName, and System.Xml.XmlNode.NamespaceURI.


[0161] Return Value: A new System.Xml.XmlElement.


[0162] Notes to Inheritors If you overload this function, it should not be used for extensibility. Instead, you should return an element created by the base class, XmlDataDocument in this case. See the following example. The prefix of the new element; if String.Empty or null there is no prefix. The local name of the new element. The namespace URI of the new element; if String.Empty or null there is no namespaceURI.


[0163] CreateEntityReference


[0164] [C#] public override XmlEntityReference CreateEntityReference(string name);


[0165] [C++] public: XmlEntityReference* CreateEntityReference(String* name);


[0166] [VB] Overrides Public Function CreateEntityReference(ByVal name As String) As XmlEntityReference


[0167] [JScript] public override function CreateEntityReference(name : String) : XmlEntityReference;


[0168] Description


[0169] Creates an System.Xml.XmlEntityReference with the specified name. Name of the entity reference.


[0170] CreateNavigator


[0171] [C#] protected override XPathNavigator CreateNavigator(XmlNode node);


[0172] [C++] protected: XPathNavigator* CreateNavigator(XmlNode* node);


[0173] [VB] Overrides Protected Function CreateNavigator(ByVal node As XmlNode) As XPathNavigator


[0174] [JScript] protected override function CreateNavigator(node : XmlNode) : XPathNavigator; Creates a new System.Xml.XPath.XPathNavigator object for navigating this document.


[0175] Description


[0176] Creates a new System.Xml.XPath.XPathNavigator object for navigating this document.


[0177] Return Value: An XPathNavigator.


[0178] The XPathNavigator provides read-only, random access to data. Because it is optimized for XSLT transformations, it provides performance benefits when used as an input mechanism to the System.Xml.Xsl.XslTransform.Transform(System.Xml.XPath.IXPathNaviga ble,System.Xml.Xsl.XsltArgumentList) method. The System.Xml.XmlNode you want to navigate.


[0179] GetElementById


[0180] [C#] public override XmlElement GetElementById(string elemId);


[0181] [C++] public: XmlElement* GetElementById(String* elemId);


[0182] [VB] Overrides Public Function GetElementById(ByVal elemId As String) As XmlElement


[0183] [JScript] public override function GetElementById(elemId : String) : XmlElement;


[0184] Description


[0185] Gets the System.Xml.XmlElement with the specified ID. The attribute ID to match.


[0186] GetElementFromRow


[0187] [C#] public XmlElement GetElementFromRow(DataRow r);


[0188] [C++] public: XmlElement* GetElementFromRow(DataRow* r);


[0189] [VB] Public Function GetElementFromRow(ByVal r As DataRow) As XmlElement


[0190] [JScript] public function GetElementFromRow(r : DataRow) : XmlElement;


[0191] Description


[0192] Retrieves the System.Xml.XmlElement associated with the specified System.Data.DataRow.


[0193] Return Value: The XmlElement containing a representation of the specified DataRow. The DataRow whose associated XmlElement you wish to retrieve.


[0194] GetRowFromElement


[0195] [C#] public DataRow GetRowFromElement(XmlElement e);


[0196] [C++] public: DataRow* GetRowFromElement(XmlElement* e);


[0197] [VB] Public Function GetRowFromElement(ByVal e As XmlElement) As DataRow


[0198] [JScript] public function GetRowFromElement(e : XmlElement) : DataRow;


[0199] Description


[0200] Retrieves the System.Data.DataRow associated with the specified System.Xml.XmlElement.


[0201] Return Value: The DataRow containing a representation of the XmlElement. The XmlElement whose associated DataRow you wish to retrieve.


[0202] Load


[0203] [C#] public override void Load(XmlReader reader);


[0204] [C++] public: void Load(XmlReader* reader);


[0205] [VB] Overrides Public Sub Load(ByVal reader As XmlReader)


[0206] [JScript] public override function Load(reader : XmlReader); Loads the XmlDataDocument using the specified data source and synchronizes the System.Data.DataSet with the loaded data.


[0207] Description


[0208] Loads the XmlDataDocument from the specified System.Xml.XmlReader.


[0209] System.Xml.XmlWhitespace nodes are not created unless System.Xml.XmlDocument.PreserveWhitespace is set to true. Also, if the reader has been configured to not return whitespace, then no whitespace nodes will be created. In other words Load does not change the whitespace handling of the given reader. XmlReader containing the XML document to load.


[0210] WriteTo


[0211] [C#] public override void WriteTo(XmlWriter writer);


[0212] [C++] public: void WriteTo(XmlWriter* writer);


[0213] [VB] Overrides Public Sub WriteTo(ByVal writer As XmlWriter)


[0214] [JScript] public override function WriteTo(writer : XmlWriter);


[0215] Description


[0216] Saves the current node to the specified System.Xml.XmlWriter. The XmlWriter to which you want to save.


[0217] EntityHandling enumeration (System.Xml)


[0218] WriteTo


[0219] Description


[0220] Specifies how entities are handled.


[0221] WriteTo


[0222] [C#] public const EntityHandling ExpandCharEntities;


[0223] [C++] public: const EntityHandling ExpandCharEntities;


[0224] [VB] Public Const ExpandCharEntities As EntityHandling


[0225] [JScript] public var ExpandCharEntities : EntityHandling;


[0226] Description


[0227] Expands character entities and returns general entities as nodes (System.Xml.XmlValidatingReader.NodeType=XmlNodeType.EntityReference, System.Xml.XmlValidatingReader.Name=the name of the entity, System.Xml.XmlValidatingReader.HasValue=false).


[0228] WriteTo


[0229] [C#] public const EntityHandling ExpandEntities;


[0230] [C++] public: const EntityHandling ExpandEntities;


[0231] [VB] Public Const ExpandEntities As EntityHandling


[0232] [JScript] public var ExpandEntities : EntityHandling;


[0233] Description


[0234] Expands all entities. This is the default.


[0235] Formatting enumeration (System.Xml)


[0236] ToString


[0237] Description


[0238] Specifies formatting options for the System.Xml.XmlTextWriter.


[0239] ToString


[0240] [C#] public const Formatting Indented;


[0241] [C++] public: const Formatting Indented;


[0242] [VB] Public Const Indented As Formatting


[0243] [JScript] public var Indented : Formatting;


[0244] Description


[0245] Causes child elements to be indented according to the System.Xml.XmlTextWriter.Indentation and System.Xml.XmlTextWriter.IndentChar settings. This option indents element content only; mixed content is not affected. For the XML 1.0 definitions of these terms, see the W3C documentation (http://www.w3.org/TR/1998/REC-xml-19980210#sec-element-content and http://www.w3.org/TR/1998/REC-xml-19980210#sec-mixed-content).


[0246] ToString


[0247] [C#] public const Formatting None;


[0248] [C++] public: const Formatting None;


[0249] [VB] Public Const None As Formatting


[0250] [JScript] public var None : Formatting;


[0251] Description


[0252] No special formatting is applied. This is the default.


[0253] IHasXmlNode interface (System.Xml)


[0254] ToString


[0255] Description


[0256] Enables a class to return an System.Xml.XmlNode from the current context or position.


[0257] This interface is implemented by classes which operate over classes that have System.Xml.XmlNode nodes. For example, if an System.Xml.XPath.XPathNavigator is implemented over an System.Xml.XmlDocument you can use the System.Xml.IHasXmlNode.GetNode method to access the node representing the current position of the navigator.


[0258] GetNode


[0259] [C#] XmlNode GetNode( );


[0260] [C++] XmlNode* GetNode( );


[0261] [VB] Function GetNode( ) As XmlNode


[0262] [JScript] function GetNode( ) : XmlNode;


[0263] Description


[0264] Returns the System.Xml.XmlNode for the current position.


[0265] Return Value: The XmlNode for the current position.


[0266] The following C# code uses GetNode to access a node the System.Xml.XPath.XPathNavigator is currently positioned on.


[0267] IXmlLineInfo interface (System.Xml)


[0268] GetNode


[0269] Description


[0270] Provides an interface to enable a class to return line and position information.


[0271] LineNumber


[0272] GetNode


[0273] [C#] int LineNumber {get;}


[0274] [C++] int get_LineNumber( );


[0275] [VB] ReadOnly Property LineNumber As Integer


[0276] [JScript] abstract function get LineNumber( ) : int;


[0277] Description


[0278] Gets the current line number.


[0279] This property is used primarily for error reporting, but can be called at any time. The starting value is b 1. Combined with System.Xml.IXmlLineInfo.LinePosition, a value of 1,1 indicates the start of a document.


[0280] LinePosition


[0281] GetNode


[0282] [C#] int LinePosition {get;}


[0283] [C++] int get_LinePosition( );


[0284] [VB] ReadOnly Property LinePosition As Integer


[0285] [JScript] abstract function get LinePosition( ) : int;


[0286] Description


[0287] Gets the current line position.


[0288] This property is used primarily for error reporting, but can be called at any time. The starting value is 1. Combined with System.Xml.IXmlLineInfo.LineNumber, a value of 1,1 indicates the start of a document.


[0289] HasLineInfo


[0290] [C#] bool HasLineInfo( );


[0291] [C++] bool HasLineInfo( );


[0292] [VB] Function HasLineInfo( ) As Boolean


[0293] [JScript] function HasLineInfo( ) : Boolean;


[0294] Description


[0295] Gets a value indicating whether the class can return line information.


[0296] Return Value: true if System.Xml.IXmlLineInfo.LineNumber and System.Xml.IXmlLineInfo.LinePosition can be provided; otherwise, false.


[0297] NameTable class (System.Xml)


[0298] HasLineInfo


[0299] Description


[0300] Implements a single-threaded System.Xml.XmlNameTable.


[0301] Several classes, such as System.Xml.XmlDocument and System.Xml.XmlReader use the NameTable class internally, to store attribute and element names. When an element or attribute name occurs multiple times in an XML document it is stored only once in the NameTable. This allows you to do object comparisons on these strings rather than a more expensive string comparison.


[0302] NameTable


[0303] Example Syntax:


[0304] HasLineInfo


[0305] [C#] public NameTable( );


[0306] [C++] public: NameTable( );


[0307] [VB] Public Sub New( )


[0308] [JScript] public function NameTable( );


[0309] Description


[0310] Initializes a new instance of the NameTable class.


[0311] Constructs an empty NameTable.


[0312] Add


[0313] [C#] public override string Add(string key);


[0314] [C++] public: String* Add(String* key);


[0315] [VB] Overrides Public Function Add(ByVal key As String) As String


[0316] [JScript] public override function Add(key : String) : String; Atomizes the specified string and adds it to the NameTable.


[0317] Description


[0318] Atomizes the specified string and adds it to the NameTable.


[0319] Return Value: The atomized string or the existing string if it already exists in the NameTable. The string to add.


[0320] Add


[0321] [C#] public override string Add(char[ ] key, int start, int len);


[0322] [C++] public: String* Add(_wchar_t key_gc[ ], int start, int len);


[0323] [VB] Overrides Public Function Add(ByVal key( ) As Char, ByVal start As Integer, ByVal len As Integer) As String


[0324] [JScript] public override function Add(key : Char[ ], start : int, len : int) : String;


[0325] Description


[0326] Atomizes the specified string and adds it to the NameTable.


[0327] Return Value: The atomized string or the existing atom if one already exists in the NameTable. If len is zero, String.Empty is returned. The character array containing the string to add. The zero-based index into the array specifying the first character of the string. The number of characters in the string.


[0328] Get


[0329] [C#] public override string Get(string value);


[0330] [C++] public: String* Get(String* value);


[0331] [VB] Overrides Public Function Get(ByVal value As String) As String


[0332] [JScript] public override function Get(value : String) : String; Gets the atomized string object.


[0333] Description


[0334] Gets the atomized string object with the specified value.


[0335] Return Value: The atomized string object or null if the string has not already been atomized. The name to find.


[0336] Get


[0337] [C#] public override string Get(char[ ] key, int start, int len);


[0338] [C++] public: String* Get(_wchar_t key_gc[ ], int start, int len);


[0339] [VB] Overrides Public Function Get(ByVal key( ) As Char, ByVal start As Integer, ByVal len As Integer) As String


[0340] [JScript] public override function Get(key : Char[ ], start : int, len : int) : String;


[0341] Description


[0342] Gets the atomized String object containing the same characters as the specified range of characters in the given array.


[0343] Return Value: The atomized string or null if the string has not already been atomized. If len is zero, String.Empty is returned. The character array containing the name to find. The zero-based index into the array specifying the first character of the name. The number of characters in the name.


[0344] ReadState enumeration (System.Xml)


[0345] ToString


[0346] Description


[0347] Specifies the state of the reader.


[0348] ToString


[0349] [C#] public const ReadState Closed;


[0350] [C++] public: const ReadState Closed;


[0351] [VB] Public Const Closed As ReadState


[0352] [JScript] public var Closed : ReadState;


[0353] Description


[0354] The System.Xml.XmlReader.Close method has been called.


[0355] ToString


[0356] [C#] public const ReadState EndOfFile;


[0357] [C++] public: const ReadState EndOfFile;


[0358] [VB] Public Const EndOfFile As ReadState


[0359] [JScript] public var EndOfFile : ReadState;


[0360] Description


[0361] The end of the file has been reached successfully.


[0362] ToString


[0363] [C#] public const ReadState Error;


[0364] [C++] public: const ReadState Error;


[0365] [VB] Public Const Error As ReadState


[0366] [JScript] public var Error : ReadState;


[0367] Description


[0368] An error occurred that prevents the read operation from continuing.


[0369] ToString


[0370] [C#] public const ReadState Initial;


[0371] [C++] public: const ReadState Initial;


[0372] [VB] Public Const Initial As ReadState


[0373] [JScript] public var Initial : ReadState;


[0374] Description


[0375] The Read method has not been called.


[0376] ToString


[0377] [C#] public const ReadState Interactive;


[0378] [C++] public: coust ReadState Interactive;


[0379] [VB] Public Const Interactive As ReadState


[0380] [JScript] public var Interactive : ReadState;


[0381] Description


[0382] The Read method has been called. Additional methods may be called on the reader.


[0383] ValidationType enumeration (System.Xml)


[0384] ToString


[0385] Description


[0386] Specifies the type of validation to perform.


[0387] The validation model has three characteristics, strict, informative, and status. Strict, does not allow the mixing of validation types, informative provides a warning if the schema or DTD cannot be found, and status provides warnings if validation cannot be performed for elements and attributes from schemas.


[0388] ToString


[0389] [C#] public const ValidationType Auto;


[0390] [C++] public: const ValidationType Auto;


[0391] [VB] Public Const Auto As ValidationType


[0392] [JScript] public var Auto : ValidationType;


[0393] Description


[0394] System.Xml.XmlValidatingReader validates if DTD or schema information is found.


[0395] ToString


[0396] [C#] public const ValidationType DTD;


[0397] [C++] public: const ValidationType DTD;


[0398] [VB] Public Const DTD As ValidationType


[0399] [JScript] public var DTD : ValidationType;


[0400] Description


[0401] Validates according to the DTD.


[0402] ToString


[0403] [C#] public const ValidationType None;


[0404] [C++] public: const ValidationType None;


[0405] [VB] Public Const None As ValidationType


[0406] [JScript] public var None : ValidationType;


[0407] Description


[0408] Creates an XML 1.0 compliant non-validating parser. Default attributes are reported and general entities can be resolved by calling System.Xml.XmlValidatingReader.ResolveEntity. The DOCTYPE is not used for validation purposes.


[0409] ToString


[0410] [C#] public const ValidationType Schema;


[0411] [C++] public: const ValidationType Schema;


[0412] [VB] Public Const Schema As ValidationType


[0413] [JScript] public var Schema : ValidationType;


[0414] Description


[0415] Validate according to XSD schemas; including inline schemas. XSD schemas are associated with namespace URIs either by using the schemaLocation attribute or the provided System.Xml.XmlValidatingReader.Schemas property.


[0416] ToString


[0417] [C#] public const ValidationType XDR;


[0418] [C++] public: const ValidationType XDR;


[0419] [VB] Public Const XDR As ValidationType


[0420] [JScript] public var XDR : ValidationType;


[0421] Description


[0422] Validate according to XDR schemas; including inline schemas. XDR schemas are recognized using the x-schema namespace prefix or the System.Xml.XmlValidatingReader.Schemas property.


[0423] WhitespaceHandling enumeration (System.Xml)


[0424] ToString


[0425] Description


[0426] Specifies how whitespace is handled.


[0427] ToString


[0428] [C#] public const WhitespaceHandling All;


[0429] [C++] public: const WhitespaceHandling All;


[0430] [VB] Public Const All As WhitespaceHandling


[0431] [JScript] public var All : WhitespaceHandling;


[0432] Description


[0433] Return Whitespace and SignificantWhitespace nodes. This is the default.


[0434] ToString


[0435] [C#] public const WhitespaceHandling None;


[0436] [C++] public: const WhitespaceHandling None;


[0437] [VB] Public Const None As WhitespaceHandling


[0438] [JScript] public var None : WhitespaceHandling;


[0439] Description


[0440] Return no Whitespace and no SignificantWhitespace nodes.


[0441] ToString


[0442] [C#] public const WhitespaceHandling Significant;


[0443] [C++] public: const WhitespaceHandling Significant;


[0444] [VB] Public Const Significant As WhitespaceHandling


[0445] [JScript] public var Significant : WhitespaceHandling;


[0446] Description


[0447] Return SignificantWhitespace nodes only.


[0448] WriteState enumeration (System.Xml)


[0449] ToString


[0450] Description


[0451] Specifies the state of the System.Xml.XmlWriter.


[0452] ToString


[0453] [C#] public const WriteState Attribute;


[0454] [C++] public: const WriteState Attribute;


[0455] [VB] Public Const Attribute As WriteState


[0456] [JScript] public var Attribute : WriteState;


[0457] Description


[0458] An attribute value is being written.


[0459] ToString


[0460] [C#] public const WriteState Closed;


[0461] [C++] public: const WriteState Closed;


[0462] [VB] Public Const Closed As WriteState


[0463] [JScript] public var Closed : WriteState;


[0464] Description


[0465] The System.Xml.XmlWriter.Close method has been called.


[0466] ToString


[0467] [C#] public const WriteState Content;


[0468] [C++] public: const WriteState Content;


[0469] [VB] Public Const Content As WriteState


[0470] [JScript] public var Content : WriteState;


[0471] Description


[0472] The element content is being written.


[0473] ToString


[0474] [C#] public const WriteState Element;


[0475] [C++] public: const WriteState Element;


[0476] [VB] Public Const Element As WriteState


[0477] [JScript] public var Element : WriteState;


[0478] Description


[0479] An element start tag is being written.


[0480] ToString


[0481] [C#] public const WriteState Prolog;


[0482] [C++] public: const WriteState Prolog;


[0483] [VB] Public Const Prolog As WriteState


[0484] [JScript] public var Prolog : WriteState;


[0485] Description


[0486] The prolog is being written.


[0487] ToString


[0488] [C#] public const WriteState Start;


[0489] [C++] public: const WriteState Start;


[0490] [VB] Public Const Start As WriteState


[0491] [JScript] public var Start : WriteState;


[0492] Description


[0493] A Write method has not been called.


[0494] XmlAttribute class (System.Xml)


[0495] ToString


[0496] Description


[0497] Represents an attribute. Valid and default values for the attribute are defined in a DTD or schema.


[0498] XmlAttribute


[0499] Example Syntax:


[0500] ToString


[0501] [C#] protected internal XmlAttribute(string prefix, string localName, string namespaceURI, XmlDocument doc);


[0502] [C++] internal: XmlAttribute(String* prefix, String* localName, String* namespaceURI, XmlDocument* doc);


[0503] [VB] Protected Friend Sub New(ByVal prefix As String, ByVal localName As String, ByVal namespaceURI As String, ByVal doc As XmlDocument)


[0504] [JScript] package function XmlAttribute(prefix : String, localName : String, namespaceURI : String, doc : XmlDocument);


[0505] Description


[0506] Attributes


[0507] BaseURI


[0508] ToString


[0509] Description


[0510] Gets the base URI of the node.


[0511] A networked XML document is comprised of chunks of data aggregated using various W3C standard inclusion mechanisms and therefore contains nodes that come from different places. The BaseURI tells you where these nodes came from.


[0512] ChildNodes


[0513] FirstChild


[0514] HasChildNodes


[0515] InnerText


[0516] ToString


[0517] Description


[0518] Gets or sets the concatenated values of the node and all its children.


[0519] Setting this property replaces all the children with the parsed contents of the given string.


[0520] InnerXml


[0521] ToString


[0522] [C#] public override string InnerXml {get; set;}


[0523] [C++] public: _property virtual String* get_InnerXml( );public: _property virtual void set_InnerXml(String*);


[0524] [VB] Overrides Public Property InnerXml As String


[0525] [JScript] public function get InnerXml( ) : String;public function set InnerXml(String);


[0526] Description


[0527] Gets or sets the markup representing just the children of this node.


[0528] This is also settable which replaces the children of the node with the parsed contents of the given string. The parsing is done in the current namespace context.


[0529] IsReadOnly


[0530] Item


[0531] Item


[0532] LastChild


[0533] LocalName


[0534] ToString


[0535] Description


[0536] Gets the local name of the node.


[0537] If the node does not have a prefix, LocalName is the same as System.Xml.XmlAttribute.Name.


[0538] Name


[0539] ToString


[0540] [C#] public override string Name {get;}


[0541] [C++] public: _property virtual String* get_Name( );


[0542] [VB] Overrides Public ReadOnly Property Name As String


[0543] [JScript] public function get Name( ) : String;


[0544] Description


[0545] Gets the qualified name of the node.


[0546] NamespaceURI


[0547] ToString


[0548] [C#] public override string NamespaceURI {get;}


[0549] [C++] public: _property virtual String* get_NamespaceURI( );


[0550] [VB] Overrides Public ReadOnly Property NamespaceURI As String


[0551] [JScript] public function get NamespaceURI( ) : String;


[0552] Description


[0553] Gets the namespace URI of this node.


[0554] An attribute does not inherit its namespace from the element it is attached to. If an attribute is not explicitly given a namespace, the namespace URI is considered to be String.Empty.


[0555] NextSibling


[0556] NodeType


[0557] ToString


[0558] Description


[0559] Gets the type of the current node.


[0560] OuterXml


[0561] OwnerDocument


[0562] ToString


[0563] Description


[0564] Gets the System.Xml.XmlDocument to which this node belongs.


[0565] OwnerElement


[0566] ToString


[0567] [C#] public virtual XmlElement OwnerElement {get;}


[0568] [C++] public: _property virtual XmlElement* get_OwnerElement( );


[0569] [VB] Overridable Public ReadOnly Property OwnerElement As XmlElement


[0570] [JScript] public function get OwnerElement( ) : XmlElement;


[0571] Description


[0572] Gets the System.Xml.XmlElement that contains this attribute.


[0573] ParentNode


[0574] ToString


[0575] [C#] public override XmlNode ParentNode {get;}


[0576] [C++] public: _property virtual XmlNode* get_ParentNode( );


[0577] [VB] Overrides Public ReadOnly Property ParentNode As XmlNode


[0578] [JScript] public function get ParentNode( ) : XmlNode;


[0579] Description


[0580] Gets the parent of this node. For XmlAttribute nodes, this property always returns null.


[0581] Prefix


[0582] ToString


[0583] [C#] public override string Prefix {get; set;}


[0584] [C++] public: _property virtual String* get_Prefix( );public: _property virtual void set_Prefix(String*);


[0585] [VB] Overrides Public Property Prefix As String


[0586] [JScript] public function get Prefix( ) : String;public function set Prefix(String);


[0587] Description


[0588] Gets or sets the namespace prefix of this node.


[0589] Changing the prefix of an attribute that is known to have a default value does not create a new attribute with the default value and the original prefix.


[0590] PreviousSibling


[0591] Specified


[0592] ToString


[0593] Description


[0594] Gets a value indicating whether the attribute value was explicitly set.


[0595] The implementation is in charge of this property, not the user. If the user changes the value of the attribute (even if it ends up having the same value as the default/fixed value) then the specified flag is automatically flipped to true. To respecify the attribute as the default/fixed value from the DTD, the user must delete the attribute. The implementation then makes a new attribute available with specified set to false and the default/fixed value (if one exists).


[0596] Value


[0597] ToString


[0598] [C#] public override string Value {get; set;}


[0599] [C++] public: _property virtual String* get_Value( );public: _property virtual void set_Value(String*);


[0600] [VB] Overrides Public Property Value As String


[0601] [JScript] public function get Value( ) : String;public function set Value(String);


[0602] Description


[0603] Gets or sets the value of the node.


[0604] CloneNode


[0605] [C#] public override XmlNode CloneNode(bool deep);


[0606] [C++] public: XmlNode* CloneNode(bool deep);


[0607] [VB] Overrides Public Function CloneNode(ByVal deep As Boolean) As XmlNode


[0608] [JScript] public override function CloneNode(deep : Boolean) : XmlNode;


[0609] Description


[0610] Creates a duplicate of this node.


[0611] Return Value: The duplicate node.


[0612] This method serves as a copy constructor for nodes. The cloned node has no parent (System.Xml.XmlAttribute.ParentNode returns null). true to recursively clone the subtree under the specified node; false to clone only the node itself


[0613] WriteContentTo


[0614] [C#] public override void WriteContentTo(XmlWriter w);


[0615] [C++] public: void WriteContentTo(XmlWriter* w);


[0616] [VB] Overrides Public Sub WriteContentTo(ByVal w As XmlWriter)


[0617] [JScript] public override function WriteContentTo(w : XmlWriter);


[0618] Description


[0619] Saves all the children of the node to the specified XmlWriter. The XmlWriter where you want to save the current node.


[0620] WriteTo


[0621] [C#] public override void WriteTo(XmlWriter w);


[0622] [C++] public: void WriteTo(XmlWriter* w);


[0623] [VB] Overrides Public Sub WriteTo(ByVal w As XmlWriter)


[0624] [JScript] public override function WriteTo(w : XmlWriter);


[0625] Description


[0626] Saves the node to the specified XmlWriter. The XmlWriter where you want to save the node.


[0627] XmlAttributeCollection class (System.Xml)


[0628] WriteTo


[0629] Description


[0630] Represents a collection of attributes that can be accessed by name or index.


[0631] Count


[0632] ItemOf


[0633] WriteTo


[0634] Description


[0635] Gets the attribute with the specified name.


[0636] This method is the same as calling System.Xml.XmlNamedNodeMap.GetNamedItem(System.String). The qualified name of the attribute.


[0637] ItemOf


[0638] WriteTo


[0639] [C#] public virtual XmlAttribute this[int i] {get;}


[0640] [C++] public: _property virtual XmlAttribute* get_ItemOf(int i);


[0641] [VB] Overridable Public Default ReadOnly Property ItemOf(ByVal i As Integer) As XmlAttribute


[0642] [JScript] returnValue=XmlAttributeCollectionObject.ItemOf(i); Gets the attribute with the specified name or index.


[0643] Description


[0644] Gets the attribute with the specified index.


[0645] This method is the same as calling System.Xml.XmlNamedNodeMap.Item(System.Int32). The index of the attribute.


[0646] ItemOf


[0647] WriteTo


[0648] [C#] public virtual XmlAttribute this[string localName, string namespaceURI] {get;}


[0649] [C++] public: _property virtual XmlAttribute* get_ItemOf(String* localName, String* namespaceURI);


[0650] [VB] Overridable Public Default ReadOnly Property ItemOf(ByVal localName As String, ByVal namespaceURI As String) As XmlAttribute


[0651] [JScript] returnValue=XmlAttributeCollectionObject.ItemOf(localName, namespaceURI);


[0652] Description


[0653] Gets the attribute with the specified local name and namespace URI.


[0654] This method is the same as calling System.Xml.XmlNamedNodeMap.GetNamedItem(System.String). The local name of the attribute. The namespace URI of the attribute.


[0655] Append


[0656] [C#] public virtual XmlAttribute Append(XmlAttribute node);


[0657] [C++] public: virtual XmlAttribute* Append(XmlAttribute* node);


[0658] [VB] Overridable Public Function Append(ByVal node As XmlAttribute) As XmlAttribute


[0659] [JScript] public function Append(node : XmlAttribute) : XmlAttribute;


[0660] Description


[0661] Inserts the specified attribute as the last node in the collection.


[0662] If node is already in the collection, it is moved to the last position. If an attribute with the same name is already present in the collection, the original attribute is removed from the collection and node is added to the end of the collection. The System.Xml.XmlAttribute to insert.


[0663] CopyTo


[0664] [C#] public void CopyTo(XmlAttribute[ ] array, int index);


[0665] [C++] public: void CopyTo(XmlAttribute* array[ ], int index);


[0666] [VB] Public Sub CopyTo(ByVal array( ) As XmlAttribute, ByVal index As Integer)


[0667] [JScript] public function CopyTo(array : XmlAttribute[ ], index : int);


[0668] Description


[0669] Copies all the System.Xml.XmlAttribute objects from this collection into the given array. The array that is the destination of the objects copied from this collection. The index in array where copying begins.


[0670] InsertAfter


[0671] [C#] public virtual XmlAttribute InsertAfter(XmlAttribute newNode, XmlAttribute refNode);


[0672] [C++] public: virtual XmlAttribute* InsertAfter(XmlAttribute* newNode, XmlAttribute* refNode);


[0673] [VB] Overridable Public Function InsertAfter(ByVal newNode As XmlAttribute, ByVal refNode As XmlAttribute) As XmlAttribute


[0674] [JScript] public function InsertAfter(newNode : XmlAttribute, refNode : XmlAttribute) : XmlAttribute;


[0675] Description


[0676] Inserts the specified attribute immediately after the specified reference attribute.


[0677] If an attribute with the same name is already present in the collection, the original attribute is removed from the collection and newNode is inserted into the collection. The System.Xml.XmlAttribute to insert. The System.Xml.XmlAttribute that is the reference attribute.


[0678] InsertBefore


[0679] [C#] public virtual XmlAttribute InsertBefore(XmlAttribute newNode, XmlAttribute refNode);


[0680] [C++] public: virtual XmlAttribute* InsertBefore(XmlAttribute* newNode, XmlAttribute* refNode);


[0681] [VB] Overridable Public Function InsertBefore(ByVal newNode As XmlAttribute, ByVal refNode As XmlAttribute) As XmlAttribute


[0682] [JScript] public function InsertBefore(newNode : XmlAttribute, refNode : XmlAttribute) : XmlAttribute;


[0683] Description


[0684] Inserts the specified attribute immediately before the specified reference attribute.


[0685] If an attribute with the same name is already present in the collection, the original attribute is removed from the collection and newNode is inserted into the collection. The System.Xml.XmlAttribute to insert. The System.Xml.XmlAttribute that is the reference attribute.


[0686] Prepend


[0687] [C#] public virtual XmlAttribute Prepend(XmlAttribute node);


[0688] [C++] public: virtual XmlAttribute* Prepend(XmlAttribute* node);


[0689] [VB] Overridable Public Function Prepend(ByVal node As XmlAttribute) As XmlAttribute


[0690] [JScript] public function Prepend(node : XmlAttribute) : XmlAttribute;


[0691] Description


[0692] Inserts the specified attribute as the first node in the collection.


[0693] If node is already in the collection, it is moved to the first position. If an attribute with the same name is already present in the collection, the original attribute is removed from the collection and node is added to the beginning of the collection. The System.Xml.XmlAttribute to insert.


[0694] Remove


[0695] [C#] public virtual XmlAttribute Remove(XmlAttribute node);


[0696] [C++] public: virtual XmlAttribute* Remove(XmlAttribute* node);


[0697] [VB] Overridable Public Function Remove(ByVal node As XmlAttribute) As XmlAttribute


[0698] [JScript] public function Remove(node : XmlAttribute) : XmlAttribute;


[0699] Description


[0700] Removes the specified attribute from the collection.


[0701] Return Value: The node removed or null if it is not found in the collection. The System.Xml.XmlAttribute to remove.


[0702] RemoveAll


[0703] [C#] public virtual void RemoveAll( );


[0704] [C++] public: virtual void RemoveAll( );


[0705] [VB] Overridable Public Sub RemoveAll( )


[0706] [JScript] public function RemoveAll( );


[0707] Description


[0708] Removes all attributes from the collection.


[0709] RemoveAt


[0710] [C#] public virtual XmlAttribute RemoveAt(int i);


[0711] [C++] public: virtual XmlAttribute* RemoveAt(int i);


[0712] [VB] Overridable Public Function RemoveAt(ByVal i As Integer) As XmlAttribute


[0713] [JScript] public function RemoveAt(i : int) : XmlAttribute;


[0714] Description


[0715] Removes the attribute corresponding to the specified index from the collection.


[0716] Return Value: Returns null if there is no attribute at the specified index. The index of the node to remove. The first node has index 0.


[0717] SetNamedItem


[0718] [C#] public override XmlNode SetNamedItem(XmlNode node);


[0719] [C++] public: XmlNode* SetNamedItem(XmlNode* node);


[0720] [VB] Overrides Public Function SetNamedItem(ByVal node As XmlNode) As XmlNode


[0721] [JScript] public override function SetNamedItem(node : XmlNode) : XmlNode;


[0722] Description


[0723] Adds a System.Xml.XmlNode using its System.Xml.XmlNode.Name property


[0724] Return Value: If the node replaces an existing node with the same name, the old node is returned; otherwise, null is returned. An attribute node to store in this collection. The node will later be accessible using the name of the node. If a node with that name is already present in the collection, it is replaced by the new one.


[0725] ICollection.CopyTo


[0726] [C#] void ICollection.CopyTo(Array array, int index);


[0727] [C++] void ICollection::CopyTo(Array* array, int index);


[0728] [VB] Sub CopyTo(ByVal array As Array, ByVal index As Integer) Implements ICollection.CopyTo


[0729] [JScript] function ICollection.CopyTo(array : Array, index : int);


[0730] XmlCDataSection class (System.Xml)


[0731] ToString


[0732] Description


[0733] Represents a CDATA section.


[0734] CDATA sections are used to quote or escape blocks of text to keep that text from being interpreted as markup language.


[0735] XmlCDataSection


[0736] Example Syntax:


[0737] ToString


[0738] [C#] protected internal XmlCDataSection(string data, XmlDocument doc);


[0739] [C++] internal: XmlCDataSection(String* data, XmlDocument* doc);


[0740] [VB] Protected Friend Sub New(ByVal data As String, ByVal doc As XmlDocument)


[0741] [JScript] package function XmlCDataSection(data : String, doc : XmlDocument);


[0742] Description


[0743] Attributes


[0744] BaseURI


[0745] ChildNodes


[0746] Data


[0747] FirstChild


[0748] HasChildNodes


[0749] InnerText


[0750] InnerXml


[0751] IsReadOnly


[0752] Item


[0753] Item


[0754] LastChild


[0755] Length


[0756] LocalName


[0757] ToString


[0758] Description


[0759] Gets the local name of the node.


[0760] Name


[0761] ToString


[0762] [C#] public override string Name {get;}


[0763] [C++] public: _property virtual String* get_Name( );


[0764] [VB] Overrides Public ReadOnly Property Name As String


[0765] [JScript] public function get Name( ) : String;


[0766] Description


[0767] Gets the qualified name of the node.


[0768] NamespaceURI


[0769] NextSibling


[0770] NodeType


[0771] ToString


[0772] Description


[0773] Gets the type of the current node.


[0774] OuterXml


[0775] OwnerDocument


[0776] ParentNode


[0777] Prefix


[0778] PreviousSibling


[0779] Value


[0780] CloneNode


[0781] [C#] public override XmlNode CloneNode(bool deep);


[0782] [C++] public: XmlNode* CloneNode(bool deep);


[0783] [VB] Overrides Public Function CloneNode(ByVal deep As Boolean) As XmlNode


[0784] [JScript] public override function CloneNode(deep : Boolean) : XmlNode;


[0785] Description


[0786] Creates a duplicate of this node.


[0787] Return Value: The cloned node.


[0788] CloneNode serves as a copy constructor for nodes. For CDATA nodes, the cloned node always includes the data content. To see how this method behaves with other node types, see System.Xml.XmlNode.CloneNode(System.Boolean) method in the XmlNode class. true to recursively clone the subtree under the specified node; false to clone only the node itself.


[0789] WriteContentTo


[0790] [C#] public override void WriteContentTo(XmlWriter w);


[0791] [C++] public: void WriteContentTo(XmlWriter* w);


[0792] [VB] Overrides Public Sub WriteContentTo(ByVal w As XmlWriter)


[0793] [JScript] public override function WriteContentTo(w : XmlWriter);


[0794] Description


[0795] Saves the node to the specified System.Xml.XmlWriter. The XmlWriter to which you want to save.


[0796] WriteTo


[0797] [C#] public override void WriteTo(XmlWriter w);


[0798] [C++] public: void WriteTo(XmlWriter* w);


[0799] [VB] Overrides Public Sub WriteTo(ByVal w As XmlWriter)


[0800] [JScript] public override function WriteTo(w : XmlWriter);


[0801] Description


[0802] Saves the node to the specified System.Xml.XmlWriter. The XmlWriter to which you want to save.


[0803] XmlCharacterData class (System.Xml)


[0804] WriteTo


[0805] Description


[0806] Provides text-manipulation methods that are used by several classes. This class is abstract.


[0807] XmlCharacterData


[0808] Example Syntax:


[0809] WriteTo


[0810] [C#] protected internal XmlCharacterData(string data, XmlDocument doc);


[0811] [C++] internal: XmlCharacterData(String* data, XmlDocument* doc);


[0812] [VB] Protected Friend Sub New(ByVal data As String, ByVal doc As XmlDocument)


[0813] [JScript] package function XmlCharacterData(data : String, doc : XmlDocument);


[0814] Description


[0815] Attributes


[0816] BaseURI


[0817] ChildNodes


[0818] Data


[0819] WriteTo


[0820] Description


[0821] Contains this node's data.


[0822] FirstChild


[0823] HasChildNodes


[0824] InnerText


[0825] WriteTo


[0826] Description


[0827] Gets or sets the concatenated values of the node and all its children.


[0828] InnerXml


[0829] IsReadOnly


[0830] Item


[0831] Item


[0832] LastChild


[0833] Length


[0834] WriteTo


[0835] Description


[0836] Gets the length of the data, in characters.


[0837] LocalName


[0838] Name


[0839] NamespaceURI


[0840] NextSibling


[0841] NodeType


[0842] OuterXml


[0843] OwnerDocument


[0844] ParentNode


[0845] Prefix


[0846] PreviousSibling


[0847] Value


[0848] WriteTo


[0849] Description


[0850] Gets or sets the value of the node.


[0851] AppendData


[0852] [C#] public virtual void AppendData(string strData);


[0853] [C++] public: virtual void AppendData(String* strData);


[0854] [VB] Overridable Public Sub AppendData(ByVal strData As String)


[0855] [JScript] public function AppendData(strData : String);


[0856] Description


[0857] Appends the specified string to the end of the character data of the node.


[0858] When overriding AppendData in a derived class, in order for events to be fired correctly, you must call the base class's AppendData method. String data that is to be inserted into the existing string.


[0859] DecideXPNodeTypeForTextNodes


[0860] [C#] protected internal bool DecideXPNodeTypeForTextNodes(XmlNode node, ref XPathNodeType xnt);


[0861] [C++] protected public: bool DecideXPNodeTypeForTextNodes(XmlNode* node, XPathNodeType* xnt);


[0862] [VB] Protected Friend Dim Function DecideXPNodeTypeForTextNodes(ByVal node As XmlNode, ByRef xnt As XPathNodeType) As Boolean


[0863] [JScript] package function DecideXPNodeTypeForTextNodes(node : XmlNode, xnt : XPathNodeType) : Boolean;


[0864] Description


[0865] DeleteData


[0866] [C#] public virtual void DeleteData(int offset, int count);


[0867] [C++] public: virtual void DeleteData(int offset, int count);


[0868] [VB] Overridable Public Sub DeleteData(ByVal offset As Integer, ByVal count As Integer)


[0869] [JScript] public function DeleteData(offset : int, count : int);


[0870] Description


[0871] Remove a range of characters from the node.


[0872] When overriding DeleteData in a derived class, in order for events to be fired correctly, you must call the base class's DeleteData method. Offset, in characters, at which to start deleting string data. Number of characters to delete.


[0873] InsertData


[0874] [C#] public virtual void InsertData(int offset, string strData);


[0875] [C++] public: virtual void InsertData(int offset, String* strdata);


[0876] [VB] Overridable Public Sub InsertData(ByVal offset As Integer, ByVal strData As String)


[0877] [JScript] public function InsertData(offset : int, strData : String);


[0878] Description


[0879] Insert the specified string at the specified character offset.


[0880] When overriding InsertData in a derived class, in order for events to be fired correctly, you must call the base class's InsertData method. Offset, in characters, at which to insert the supplied string data. String data that is to be inserted into the existing string.


[0881] ReplaceData


[0882] [C+] public virtual void ReplaceData(int offset, int count, string strData);


[0883] [C++] public: virtual void ReplaceData(int offset, int count, String* strdata);


[0884] [VB] Overridable Public Sub ReplaceData(ByVal offset As Integer, ByVal count As Integer, ByVal strData As String)


[0885] [JScript] public function ReplaceData(offset : int, count : int, strData : String);


[0886] Description


[0887] Replace the specified number of characters starting at the specified offset with the specified string.


[0888] When overriding ReplaceData in a derived class, in order for events to be fired correctly, you must call the base class's ReplaceData method. Offset, in characters, at which to start replacing string data. Number of characters to replace. New data that replaces the old string data.


[0889] Substring


[0890] [C#] public virtual string Substring(int offset, int count);


[0891] [C++] public: virtual String* Substring(int offset, int count);


[0892] [VB] Overridable Public Function Substring(ByVal offset As Integer, ByVal count As Integer) As String


[0893] [JScript] public function Substring(offset : int, count : int) : String;


[0894] Description


[0895] Retrieves a substring of the full string from the specified range. Offset, in characters, from the beginning of the string. An offset of zero indicates copying from the start of the data. Number of characters to retrieve from the specified offset.


[0896] XmlComment class (System.Xml)


[0897] WriteTo


[0898] Description


[0899] Represents the content of an XML comment.


[0900] XmlComment


[0901] Example Syntax:


[0902] WriteTo


[0903] [C#] protected internal XmlComment(string comment, XmlDocument doc);


[0904] [C++] internal: XmlComment(String* comment, XmlDocument* doc);


[0905] [VB] Protected Friend Sub New(ByVal comment As String, ByVal doc As XmlDocument)


[0906] [JScript] package function XmlComment(comment : String, doc : XmlDocument);


[0907] Description


[0908] Attributes


[0909] BaseURI


[0910] ChildNodes


[0911] Data


[0912] FirstChild


[0913] HasChildNodes


[0914] InnerText


[0915] InnerXml


[0916] IsReadOnly


[0917] Item


[0918] Item


[0919] LastChild


[0920] Length


[0921] LocalName


[0922] WriteTo


[0923] Description


[0924] Gets the local name of the node.


[0925] Name


[0926] WriteTo


[0927] [C#] public override string Name {get;}


[0928] [C++] public: _property virtual String* get_Name( );


[0929] [VB] Overrides Public ReadOnly Property Name As String


[0930] [JScript] public function get Name( ) : String;


[0931] Description


[0932] Gets the qualified name of the node.


[0933] NamespaceURI


[0934] NextSibling


[0935] NodeType


[0936] WriteTo


[0937] Description


[0938] Gets the type of the current node.


[0939] OuterXml


[0940] OwnerDocument


[0941] ParentNode


[0942] Prefix


[0943] PreviousSibling


[0944] Value


[0945] CloneNode


[0946] [C#] public override XmlNode CloneNode(bool deep);


[0947] [C+] public: Xml Node* CloneNode(bool deep);


[0948] [VB] Overrides Public Function CloneNode(ByVal deep As Boolean) As XmlNode


[0949] [JScript] public override function CloneNode(deep : Boolean) : XmlNode;


[0950] Description


[0951] Creates a duplicate of this node.


[0952] Return Value: The cloned node.


[0953] CloneNode serves as a copy constructor for nodes. For comment nodes, the cloned node always includes the text content. To see how this method behaves with other node types, see System.Xml.XmlNode.CloneNode(System.Boolean) method in the XmlNode class. true to recursively clone the subtree under the specified node; false to clone only the node itself.


[0954] WriteContentTo


[0955] [C#] public override void WriteContentTo(XmlWriter w);


[0956] [C++] public: void WriteContentTo(XmlWriter* w);


[0957] [VB] Overrides Public Sub WriteContentTo(ByVal w As XmlWriter)


[0958] [JScript] public override function WriteContentTo(w : XmlWriter);


[0959] Description


[0960] Saves all the children of the node to the specified System.Xml.XmlWriter. The XmlWriter to which you want to save.


[0961] WriteTo


[0962] [C#] public override void WriteTo(XmlWriter w);


[0963] [C++] public: void WriteTo(XmlWriter* w);


[0964] [VB] Overrides Public Sub WriteTo(ByVal w As XmlWriter)


[0965] [JScript] public override function WriteTo(w : XmlWriter);


[0966] Description


[0967] Saves the node to the specified System.Xml.XmlWriter. The XmlWriter to which you want to save.


[0968] XmlConvert class (System.Xml)


[0969] WriteTo


[0970] Description


[0971] Encodes and decodes XML names and provides methods for converting between CLR types and XSD types.


[0972] XmlConvert


[0973] Example Syntax:


[0974] WriteTo


[0975] [C#] public XmlConvert( );


[0976] [C++] public: XmlConvert( );


[0977] [VB] Public Sub New( )


[0978] [JScript] public function XmlConvert( );


[0979] DecodeName


[0980] [C#] public static string DecodeName(string name);


[0981] [C++] public: static String* DecodeName(String* name);


[0982] [VB] Public Shared Function DecodeName(ByVal name As String) As String


[0983] [JScript] public static function DecodeName(name : String) : String;


[0984] Description


[0985] Transforms an XML name into an ADO.NET object name (such as DataTable or DataColumn).


[0986] Decoding: When the method transforms an XML name into an ADO.NET object name, the decoding step follows the following rules: Names are decoded from left to right. The name to be transformed.


[0987] EncodeLocalName


[0988] [C#] public static string EncodeLocalName(string name);


[0989] [C++] public: static String* EncodeLocalName(String* name);


[0990] [VB] Public Shared Function EncodeLocalName(ByVal name As String) As String


[0991] [JScript] public static function EncodeLocalName(name : String) : String;


[0992] Description


[0993] Converts names, such as DataTable or DataColumn names, that contain characters that are not permitted in XML names to valid names.


[0994] Return Value: The encoded name.


[0995] This method is the same as System.Xml.XmlConvert.EncodeName(System.String) except it also encodes the colon character, guaranteeing that this can be used as the LocalName part of a namespace qualified name. The name to be encoded.


[0996] EncodeName


[0997] [C+] public static string EncodeName(string name);


[0998] [C++] public: static String* EncodeName(String* name);


[0999] [VB] Public Shared Function EncodeName(ByVal name As String) As String


[1000] [JScript] public static function EncodeName(name : String) : String;


[1001] Description


[1002] Converts names, such as DataTable or DataColumn names, that contain characters that are not permitted in XML names to valid names.


[1003] Return Value: Returns the name with any invalid characters replaced by an escape string.


[1004] This method translates invalid characters, such as spaces or half-width Katakana, that need to be mapped to XML names without the support or presence of schemas. The invalid characters are translated into escaped numeric entity encodings. A name to be translated.


[1005] EncodeNmToken


[1006] [C#] public static string EncodeNmToken(string name);


[1007] [C++] public: static String* EncodeNmToken(String* name);


[1008] [VB] Public Shared Function EncodeNmToken(ByVal name As String) As String


[1009] [JScript] public static function EncodeNmToken(name : String) : String;


[1010] Description


[1011] Verifies the name is valid according to the XML spec.


[1012] Return Value: The encoded name.


[1013] This method guarantees the name is valid according to the XML spec. For example, if you passed this method the invalid name “70+”, it would return “a_x003a_b” which is a valid XML name. The name to be encoded.


[1014] ToBoolean


[1015] [C#] public static bool ToBoolean(string s);


[1016] [C++] public: static bool ToBoolean(String* s);


[1017] [VB] Public Shared Function ToBoolean(ByVal s As String) As Boolean


[1018] [JScript] public static function ToBoolean(s : String) : Boolean;


[1019] Description


[1020] Converts the System.String to a System.Boolean equivalent.


[1021] Return Value: A Boolean value (i.e true or false).


[1022] Valid strings are “1” or “true” for true and “0” or “false” for false. The string to convert.


[1023] ToByte


[1024] [C#] public static byte ToByte(string s);


[1025] [C++] public: static unsigned char ToByte(String* s);


[1026] [VB] Public Shared Function ToByte(ByVal s As String) As Byte


[1027] [JScript] public static function ToByte(s : String) : Byte;


[1028] Description


[1029] Converts the System.String to a System.Byte equivalent.


[1030] Return Value: A Byte equivalent of the string. The string to convert.


[1031] ToChar


[1032] [C#] public static char ToChar(string s);


[1033] [C++] public: static _wchar_t ToChar(String* s);


[1034] [VB] Public Shared Function ToChar(ByVal s As String) As Char


[1035] [JScript] public static function ToChar(s : String) : Char;


[1036] Description


[1037] Converts the System.String to a System.Char equivalent.


[1038] Return Value: A Char representing the first character in the string. The string to convert.


[1039] ToDateTime


[1040] [C#] public static DateTime ToDateTime(string s);


[1041] [C++] public: static DateTime ToDateTime(String* s);


[1042] [VB] Public Shared Function ToDateTime(ByVal s As String) As DateTime


[1043] [JScript] public static function ToDateTime(s : String) : DateTime; Converts the System.String to a System.DateTime equivalent.


[1044] Description


[1045] Converts the System.String to a System.DateTime equivalent.


[1046] Return Value: A DateTime equivalent of the string. The string to convert.


[1047] ToDateTime


[1048] [C#] public static DateTime ToDateTime(string s, string format);


[1049] [C++] public: static DateTime ToDateTime(String* s, String* format);


[1050] [VB] Public Shared Function ToDateTime(ByVal s As String, ByVal format As String) As DateTime


[1051] [JScript] public static function ToDateTime(s : String, format : String) : DateTime;


[1052] Description


[1053] Converts the System.String to a System.DateTime equivalent.


[1054] Return Value: A DateTime equivalent of the string. The string to convert. The format structure to apply to the converted DateTime. Valid formats include “yyyy-MM-ddTHH:mm:sszzzzzz” and its subsets. The string is validated against this format.


[1055] ToDateTime


[1056] [C#] public static DateTime ToDateTime(string s, string[ ] formats);


[1057] [C++] public: static DateTime ToDateTime(String* s, String* formats _gc[ ]);


[1058] [VB] Public Shared Function ToDateTime(ByVal S As String, ByVal formats( ) As String) As DateTime


[1059] [JScript] public static function ToDateTime(s : String, formats : String[ ]) : DateTime;


[1060] Description


[1061] Converts the System.String to a System.DateTime equivalent.


[1062] Return Value: A DateTime equivalent of the string.


[1063] This method allows multiple formats for the string to be validated against. The string to convert. An array containing the format structures to apply to the converted DateTime. Valid formats include “yyyy-MM-ddTHH:mm:sszzzzzz” and its subsets.


[1064] ToDecimal


[1065] [C#] public static decimal ToDecimal(string s);


[1066] [C++] public: static Decimal ToDecimal(String* s);


[1067] [VB] Public Shared Function ToDecimal(ByVal s As String) As Decimal


[1068] [JScript] public static function ToDecimal(s : String) : Decimal;


[1069] Description


[1070] Converts the System.String to a System.Decimal equivalent.


[1071] Return Value: A Decimal equivalent of the string. The string to convert.


[1072] ToDouble


[1073] [C#] public static double ToDouble(string s);


[1074] [C++] public: static double ToDouble(String* s);


[1075] [VB] Public Shared Function ToDouble(ByVal s As String) As Double


[1076] [JScript] public static function ToDouble(s : String) : double;


[1077] Description


[1078] Converts the System.String to a System.Double equivalent.


[1079] Return Value: A Double equivalent of the string.


[1080] If s is INF or -INF, this method returns Double.PositiveInfinity or Double.NegativeInfinity respectively. The string to convert.


[1081] ToGuid


[1082] [C#] public static Guid ToGuid(string s);


[1083] [C++] public: static Guid ToGuid(String* s);


[1084] [VB] Public Shared Function ToGuid(ByVal s As String) As Guid


[1085] [JScript] public static function ToGuid(s : String) : Guid;


[1086] Description


[1087] Converts the System.String to a System.Guid equivalent.


[1088] Return Value: A Guid equivalent of the string. The string to convert.


[1089] ToInt16


[1090] [C#] public static short ToInt16(string s);


[1091] [C++] public: static short ToInt16(String* s);


[1092] [VB] Public Shared Function ToInt16(ByVal s As String) As Short


[1093] [JScript] public static function ToInt16(s : String) : Int16;


[1094] Description


[1095] Converts the System.String to a System.Int16 equivalent.


[1096] Return Value: A Int16 equivalent of the string. The string to convert.


[1097] ToInt32


[1098] [C#] public static int ToInt32(string s);


[1099] [C++] public: static int ToInt32(String* s);


[1100] [VB] Public Shared Function ToInt32(ByVal s As String) As Integer


[1101] [JScript] public static function ToInt32(s : String) : int;


[1102] Description


[1103] Converts the System.String to a System.Int32 equivalent.


[1104] Return Value: A Int32 equivalent of the string. The string to convert.


[1105] ToInt64


[1106] [C#] public static long ToInt64(string s);


[1107] [C++] public: static _int64 ToInt64(String* s);


[1108] [VB] Public Shared Function ToInt64(ByVal s As String) As Long


[1109] [JScript] public static function ToInt64(s : String) : long;


[1110] Description


[1111] Converts the System.String to a System.Int64 equivalent.


[1112] Return Value: A Int64 equivalent of the string. The string to convert.


[1113] ToSByte


[1114] [C#] public static sbyte ToSByte(string s);


[1115] [C++] public: static char ToSByte(String* s);


[1116] [VB] Public Shared Function ToSByte(ByVal s As String) As SByte


[1117] [JScript] public static function ToSByte(s : String) : SByte;


[1118] Description


[1119] Converts the System.String to a System.SByte equivalent.


[1120] Return Value: A SByte equivalent of the string. The string to convert.


[1121] ToSingle


[1122] [C#] public static float ToSingle(string s);


[1123] [C++] public: static float ToSingle(String* s);


[1124] [VB] Public Shared Function ToSingle(ByVal s As String) As Single


[1125] [JScript] public static function ToSingle(s : String) : float;


[1126] Description


[1127] Converts the System.String to a System.Single equivalent.


[1128] Return Value: A Single equivalent of the string.


[1129] If s is INF or -INF, this method returns Single.PositiveInfinity or Single.NegativeInfinity respectively. The string to convert.


[1130] ToString


[1131] [C#] public static string ToString(bool value);


[1132] [C++] public: static String* ToString(bool value);


[1133] [VB] Public Shared Function ToString(ByVal value As Boolean) As String


[1134] [JScript] public static function ToString(value : Boolean) : String; Converts strongly typed data to an equivalent System.String representation.


[1135] Description


[1136] Converts the System.Boolean to a System.String.


[1137] Return Value: A string representation of the Boolean (i.e “true” or “false”). The value to convert.


[1138] ToString


[1139] [C#] public static string ToString(byte value);


[1140] [C++] public: static String* ToString(unsigned char value);


[1141] [VB] Public Shared Function ToString(ByVal value As Byte) As String


[1142] [JScript] public static function ToString(value : Byte) : String;


[1143] Description


[1144] Converts the System.Byte to a System.String.


[1145] Return Value: A string representation of the Byte. The value to convert.


[1146] ToString


[1147] [C#] public static string ToString(char value);


[1148] [C++] public: static String* ToString(_wchar_t value);


[1149] [VB] Public Shared Function ToString(ByVal value As Char) As String


[1150] [JScript] public static function ToString(value : Char) : String;


[1151] Description


[1152] Converts the System.Char to a System.String.


[1153] Return Value: A string representation of the Char. The value to convert.


[1154] ToString


[1155] [C#] public static string ToString(DateTime value);


[1156] [C++] public: static String* ToString(DateTime value);


[1157] [VB] Public Shared Function ToString(ByVal value As DateTime) As String


[1158] [JScript] public static function ToString(value : DateTime) : String;


[1159] Description


[1160] Converts the System.DateTime to a System.String.


[1161] Return Value: A string representation of the DateTime in the format yyyy-MM-ddTHH:mm:ss where ‘T’ is a constant literal. The value to convert.


[1162] ToString


[1163] [C#] public static string ToString(decimal value);


[1164] [C++] public: static String* ToString(Decimal value);


[1165] [VB] Public Shared Function ToString(ByVal value As Decimal) As String


[1166] [JScript] public static function ToString(value : Decimal) : String;


[1167] Description


[1168] Converts the System.Decimal to a System.String.


[1169] Return Value: A string representation of the Decimal. The value to convert.


[1170] ToString


[1171] [C#] public static string ToString(double value);


[1172] [C++] public: static String* ToString(double value);


[1173] [VB] Public Shared Function ToString(ByVal value As Double) As String


[1174] [JScript] public static function ToString(value : double) : String;


[1175] Description


[1176] Converts the System.Double to a System.String.


[1177] Return Value: A string representation of the Double.


[1178] If value is Double.PositiveInfinity or Double.NegativeInfinity, this method returns the string INF or -INF respectively. The value to convert.


[1179] ToString


[1180] [C#] public static string ToString(Guid value);


[1181] [C++] public: static String* ToString(Guid value);


[1182] [VB] Public Shared Function ToString(ByVal value As Guid) As String


[1183] [JScript] public static function ToString(value : Guid) : String;


[1184] Description


[1185] Converts the System.Guid to a System.String.


[1186] Return Value: A string representation of the Guid. The value to convert.


[1187] ToString


[1188] [C#] public static string ToString(short value);


[1189] [C++] public: static String* ToString(short value);


[1190] [VB] Public Shared Function ToString(ByVal value As Short) As String


[1191] [JScript] public static function ToString(value : Int16) : String;


[1192] Description


[1193] Converts the System.Int16 to a System.String.


[1194] Return Value: A string representation of the Int16. The value to convert.


[1195] ToString


[1196] [C#] public static string ToString(int value);


[1197] [C++] public: static String* ToString(int value);


[1198] [VB] Public Shared Function ToString(ByVal value As Integer) As String


[1199] [JScript] public static function ToString(value : int) : String;


[1200] Description


[1201] Converts the System.Int32 to a System.String.


[1202] Return Value: A string representation of the Int32. The value to convert.


[1203] ToString


[1204] [C#] public static string ToString(long value);


[1205] [C++] public: static String* ToString(_int64 value);


[1206] [VB] Public Shared Function ToString(ByVal value As Long) As String


[1207] [JScript] public static function ToString(value : long) : String;


[1208] Description


[1209] Converts the System.Int64 to a System.String.


[1210] Return Value: A string representation of the Int64. The value to convert.


[1211] ToString


[1212] [C#] public static string ToString(sbyte value);


[1213] [C++] public: static String* ToString(char value);


[1214] [VB] Public Shared Function ToString(ByVal value As SByte) As String


[1215] [JScript] public static function ToString(value : SByte) : String;


[1216] Description


[1217] Converts the System.SByte to a System.String.


[1218] Return Value: A string representation of the SByte. The value to convert.


[1219] ToString


[1220] [C#] public static string ToString(float value);


[1221] [C++] public: static String* ToString(float value);


[1222] [VB] Public Shared Function ToString(ByVal value As Single) As String


[1223] [JScript] public static function ToString(value : float) : String;


[1224] Description


[1225] Converts the System.Single to a System.String.


[1226] Return Value: A string representation of the Single.


[1227] If value is Single.PositiveInfinity or Single.NegativeInfinity, this method returns the string INF or -INF respectively. The value to convert.


[1228] ToString


[1229] [C#] public static string ToString(TimeSpan value);


[1230] [C++] public: static String* ToString(TimeSpan value);


[1231] [VB] Public Shared Function ToString(ByVal value As TimeSpan) As String


[1232] [JScript] public static function ToString(value : TimeSpan) : String;


[1233] Description


[1234] Converts the System.TimeSpan to a System.String.


[1235] Return Value: A string representation of the TimeSpan. The value to convert.


[1236] ToString


[1237] [C#] public static string ToString(ushort value);


[1238] [C++] public: static String* ToString(unsigned short value);


[1239] [VB] Public Shared Function ToString(ByVal value As UInt16) As String


[1240] [JScript] public static function ToString(value : UInt16) : String;


[1241] Description


[1242] Converts the System.UInt16 to a System.String.


[1243] Return Value: A string representation of the UInt16. The value to convert.


[1244] ToString


[1245] [C#] public static string ToString(ulong value);


[1246] [C++] public: static String* ToString(unsigned int value);


[1247] [VB] Public Shared Function ToString(ByVal value As UInt32) As String


[1248] [JScript] public static function ToString(value : UInt32) : String;


[1249] Description


[1250] Converts the System.UInt32 to a System.String.


[1251] Return Value: A string representation of the UInt32. The value to convert.


[1252] ToString


[1253] [C#] public static string ToString(ulong value);


[1254] [C++] public: static String* ToString(unsigned _int64 value);


[1255] [VB] Public Shared Function ToString(ByVal value As UInt64) As String


[1256] [JScript] public static function ToString(value : UInt64) : String;


[1257] Description


[1258] Converts the System.UInt64 to a System.String.


[1259] Return Value: A string representation of the UInt64. The value to convert.


[1260] ToString


[1261] [C++] public static string ToString(DateTime value, string format);


[1262] [C++] public: static String* ToString(DateTime value, String* format);


[1263] [VB] Public Shared Function ToString(ByVal value As DateTime, ByVal format As String) As String


[1264] [JScript] public static function ToString(value : DateTime, format : String) : String;


[1265] Description


[1266] Converts the System.DateTime to a System.String.


[1267] Return Value: A string representation of the DateTime in the specified format. The value to convert. The format structure that defines how to display the converted string. Valid formats include “yyyy-MM-ddTHH:mm:sszzzzzz” and its subsets.


[1268] ToTimeSpan


[1269] [C#] public static TimeSpan ToTimeSpan(string s);


[1270] [C++] public: static TimeSpan ToTimeSpan(String* s);


[1271] [VB] Public Shared Function ToTimeSpan(ByVal s As String) As TimeSpan


[1272] [JScript] public static function ToTimeSpan(s : String) : TimeSpan;


[1273] Description


[1274] Converts the System.String to a System.TimeSpan equivalent.


[1275] Return Value: A TimeSpan equivalent of the string. The string to convert.


[1276] ToUInt16


[1277] [C#] public static ushort ToUInt16(string s);


[1278] [C++] public: static unsigned short ToUInt16(String* s);


[1279] [VB] Public Shared Function ToUInt16(ByVal s As String) As UInt16


[1280] [JScript] public static function ToUInt16(s : String) : UInt16;


[1281] Description


[1282] Converts the System.String to a System.UInt16 equivalent.


[1283] Return Value: A UInt16 equivalent of the string. The string to convert.


[1284] ToUInt32


[1285] [C#] public static uint ToUInt32(string s);


[1286] [C++] public: static unsigned int ToUInt32(String* s);


[1287] [VB] Public Shared Function ToUInt32(ByVal s As String) As UInt32


[1288] [JScript] public static function ToUInt32(s : String) : UInt32;


[1289] Description


[1290] Converts the System.String to a System.UInt32 equivalent.


[1291] Return Value: A UInt32 equivalent of the string. The string to convert.


[1292] ToUInt64


[1293] [C#] public static ulong ToUInt64(string s);


[1294] [C++] public: static unsigned _int64 ToUInt64(String* s);


[1295] [VB] Public Shared Function ToUInt64(ByVal s As String) As UInt64


[1296] [JScript] public static function ToUInt64(s : String) : UInt64;


[1297] Description


[1298] Converts the System.String to a System.UInt64 equivalent.


[1299] Return Value: A UInt64 equivalent of the string. The string to convert.


[1300] XmlDeclaration class (System.Xml)


[1301] ToUInt64


[1302] Description


[1303] Represents the XML declaration node:.


[1304] XmlDeclaration


[1305] Example Syntax:


[1306] ToUInt64


[1307] [C#] protected internal XmlDeclaration(string version, string encoding, string standalone, XmlDocument doc);


[1308] [C++] internal: XmlDeclaration(String* version, String* encoding, String* standalone, XmlDocument* doc);


[1309] [VB] Protected Friend Sub New(ByVal version As String, ByVal encoding As String, ByVal standalone As String, ByVal doc As XmlDocument)


[1310] [JScript] package function XmlDeclaration(version : String, encoding : String, standalone : String, doc : XmlDocument);


[1311] Description


[1312] Attributes


[1313] BaseURI


[1314] ChildNodes


[1315] Encoding


[1316] ToUInt64


[1317] Description


[1318] Gets or sets the encoding level of the XML document.


[1319] Unlike most XML attributes, encoding attribute values are not case sensitive. This is because encoding character names follow ISO and Internet Assigned Numbers Authority (IANA) standards.


[1320] FirstChild


[1321] HasChildNodes


[1322] InnerText


[1323] ToUInt64


[1324] Description


[1325] Gets or sets the concatenated values of the XmlDeclaration.


[1326] InnerXml


[1327] IsReadOnly


[1328] Item


[1329] Item


[1330] LastChild


[1331] LocalName


[1332] ToUInt64


[1333] Description


[1334] Gets the local name of the node.


[1335] Name


[1336] ToUInt64


[1337] [C#] public override string Name {get;}


[1338] [C++] public: _property virtual String* get_Name( );


[1339] [VB] Overrides Public ReadOnly Property Name As String


[1340] [JScript] public function get Name( ) : String;


[1341] Description


[1342] Gets the qualified name of the node.


[1343] NamespaceURI


[1344] NextSibling


[1345] NodeType


[1346] ToUInt64


[1347] Description


[1348] Gets the type of the current node.


[1349] OuterXml


[1350] OwnerDocument


[1351] ParentNode


[1352] Prefix


[1353] PreviousSibling


[1354] Standalone


[1355] ToUInt64


[1356] Description


[1357] Gets or sets the value of the standalone attribute.


[1358] Value


[1359] ToUInt64


[1360] [C#] public override string Value {get; set;}


[1361] [C++] public: _property virtual String* get_Value( );public: _property virtual void set_Value(String*);


[1362] [VB] Overrides Public Property Value As String


[1363] [JScript] public function get Value( ) : String;public function set Value(String);


[1364] Description


[1365] Gets or sets the value of the XmlDeclaration.


[1366] Version


[1367] ToUInt64


[1368] [C#] public string Version {get;}


[1369] [C++] public: _property String* get_Version( );


[1370] [VB] Public ReadOnly Property Version As String


[1371] [JScript] public function get Version( ) : String;


[1372] Description


[1373] Gets the XML version of the document.


[1374] CloneNode


[1375] [C#] public override XmlNode CloneNode(bool deep);


[1376] [C++] public: XmlNode* CloneNode(bool deep);


[1377] [VB] Overrides Public Function CloneNode(ByVal deep As Boolean) As XmlNode


[1378] [JScript] public override function CloneNode(deep : Boolean) : XmlNode;


[1379] Description


[1380] Creates a duplicate of this node.


[1381] Return Value: The cloned node.


[1382] CloneNode serves as a copy constructor for nodes. For XmlDeclaration nodes, the cloned node always includes the data value. To see how this method behaves with other node types, see System.Xml.XmlNode.CloneNode(System.Boolean) method in the XmlNode class. true to recursively clone the subtree under the specified node; false to clone only the node itself.


[1383] WriteContentTo


[1384] [C#] public override void WriteContentTo(XmlWriter w);


[1385] [C++] public: void WriteContentTo(XmlWriter* w);


[1386] [VB] Overrides Public Sub WriteContentTo(ByVal w As XmlWriter)


[1387] [JScript] public override function WriteContentTo(w : XmlWriter);


[1388] Description


[1389] Saves the children of the node to the specified System.Xml.XmlWriter. The XmlWriter to which you want to save.


[1390] WriteTo


[1391] [C#] public override void WriteTo(XmlWriter w);


[1392] [C++] public: void WriteTo(XmlWriter* w);


[1393] [VB] Overrides Public Sub WriteTo(ByVal w As XmlWriter)


[1394] [JScript] public override function WriteTo(w : XmlWriter);


[1395] Description


[1396] Saves the node to the specified System.Xml.XmlWriter. The XmlWriter to which you want to save.


[1397] XmlDocument class (System.Xml)


[1398] WriteTo


[1399] Description


[1400] Represents an XML document.


[1401] This class implements the W3C Document Object Model (DOM) Level 1 Core and the Core DOM Level 2. The DOM is an in-memory (cache) tree representation of an XML document and enables the navigation and editing of this document. Because XmlDocument implements the System.Xml.XPath.IXPathNavigable interface it can also be used as the source document for the System.Xml.Xsl.XslTransform class.


[1402] XmlDocument


[1403] Example Syntax:


[1404] WriteTo


[1405] [C#] public XmlDocument( );


[1406] [C++] public: XmlDocument( );


[1407] [VB] Public Sub New( )


[1408] [JScript] public function XmlDocument( ); Initializes a new instance of the XmlDocument class.


[1409] Description


[1410] Initializes a new instance of the XmlDocument class.


[1411] XmlDocument


[1412] Example Syntax:


[1413] WriteTo


[1414] [C+] protected internal XmlDocument(XmlImplementation imp);


[1415] [C++] internal: XmlDocument(XmlImplementation* imp);


[1416] [VB] Protected Friend Sub New(ByVal imp As XmlImplementation)


[1417] [JScript] package function XmlDocument(imp : XmlImplementation);


[1418] Description


[1419] Initializes a new instance of the XmlDocument class with the specified System.Xml.XmlImplementation. The XmlImplementation to use.


[1420] XmlDocument


[1421] Example Syntax:


[1422] WriteTo


[1423] [C#] public XmlDocument(XmlNameTable nt);


[1424] [C++] public: XmlDocument(XmlNameTable* nt);


[1425] [VB] Public Sub New(ByVal nt As XmlNameTable)


[1426] [JScript] public function XmlDocument(nt : XmlNameTable);


[1427] Description


[1428] Initializes a new instance of the XmlDocument class with the specified System.Xml.XmlNameTable. The XmlNameTable to use.


[1429] Attributes


[1430] BaseURI


[1431] WriteTo


[1432] Description


[1433] Gets the base URI of the current node.


[1434] A networked XML document is comprised of chunks of data aggregated using various W3C standard inclusion mechanisms and therefore contains nodes that come from different places. The BaseURI tells you where these nodes came from.


[1435] ChildNodes


[1436] DocumentElement


[1437] WriteTo


[1438] Description


[1439] Gets the root System.Xml.XmlElement for the document.


[1440] DocumentType


[1441] WriteTo


[1442] [C#] public virtual XmlDocumentType DocumentType {get;}


[1443] [C++] public: _property virtual XmlDocumentType* get_DocumentType( );


[1444] [VB] Overridable Public ReadOnly Property DocumentType As XmlDocumentType


[1445] [JScript] public function get DocumentType( ) : XmlDocumentType;


[1446] Description


[1447] Gets the node containing the DOCTYPE declaration.


[1448] An XmlDocument may have one and only one child with System.Xml.XmlNodeType equal to DocumentType.


[1449] FirstChild


[1450] HasChildNodes


[1451] Implementation


[1452] WriteTo


[1453] Description


[1454] Gets the System.Xml.XmlImplementation object for the current document.


[1455] XmlDocument objects created from the same XmlImplementation share the same System.Xml.XmlNameTable. This allows users to compare attribute and element names as objects rather than strings.


[1456] InnerText


[1457] InnerXml


[1458] WriteTo


[1459] Description


[1460] Gets or sets the markup representing just the children of this node.


[1461] This is also settable which replaces the children of the node with the parsed contents of the given string. The parsing is done in the current namespace context.


[1462] IsReadOnly


[1463] WriteTo


[1464] [C#] public override bool IsReadOnly {get;}


[1465] [C++] public: _property virtual bool get_IsReadOnly( );


[1466] [VB] Overrides Public ReadOnly Property IsReadOnly As Boolean


[1467] [JScript] public function get IsReadOnly( ) : Boolean;


[1468] Description


[1469] Gets a value indicating whether the current node is read-only.


[1470] A read-only node is one whose properties, attributes, or children cannot be changed. You can remove a read-only node from the tree and insert it somewhere else.


[1471] Item


[1472] Item


[1473] LastChild


[1474] LocalName


[1475] WriteTo


[1476] Description


[1477] Gets the local name of the node.


[1478] The local name returned depends on the System.Xml.XmlDocument.NodeType of the node. To see a table describing the local name returned for each of the node types, see the System.Xml.XmlNode.LocalName property in the System.Xml.XmlNode class.


[1479] Name


[1480] WriteTo


[1481] [C#] public override string Name {get;}


[1482] [C++] public: _property virtual String* get_Name( );


[1483] [VB] Overrides Public ReadOnly Property Name As String


[1484] [JScript] public function get Name( ) : String;


[1485] Description


[1486] Gets the qualified name of the node.


[1487] The name returned depends on the System.Xml.XmlDocument.NodeType of the node. To see a table describing the name returned for each of the node types, see the System.Xml.XmlNode.Name property in the System.Xml.XmlNode class.


[1488] NamespaceURI


[1489] NameTable


[1490] WriteTo


[1491] Description


[1492] Gets the System.Xml.XmlNameTable associated with this implementation.


[1493] Each XmlDocument object has a System.Xml.NameTable object. Element and attribute names are stored in the NameTable as atomized strings. This means that even if a name is referenced in the document multiple times it is stored only once in the NameTable. For example, if the document had multiple elements with the name “Customer”, NameTable returns the same object whenever it receives a request for that name. As a result, users can write code using object pointer comparisons on these strings rather than the more expensive string comparisons.


[1494] NextSibling


[1495] NodeType


[1496] WriteTo


[1497] Description


[1498] Gets the type of the current node.


[1499] OuterXml


[1500] OwnerDocument


[1501] WriteTo


[1502] Description


[1503] Gets the System.Xml.XmlDocument to which the current node belongs.


[1504] ParentNode


[1505] Prefix


[1506] PreserveWhitespace


[1507] WriteTo


[1508] Description


[1509] Gets or sets a value indicating whether to preserve whitespace.


[1510] PreviousSibling


[1511] Value


[1512] XmlResolver


[1513] WriteTo


[1514] Description


[1515] Sets the System.Xml.XmlResolver to use for resolving external resources.


[1516] The XmlResolver can be used to load DTDs or expand entity references. Using the System.Xml.XmlResolver.Credentials property, you can set credentials on the XmlResolver to access resources stored on a secure network resource.


[1517] WriteTo


[1518] [C#] public event XmlNodeChangedEventHandler NodeChanged;


[1519] [C++] public: _event XmlNodeChangedEventHandler* NodeChanged;


[1520] [VB] Public Event NodeChanged As XmlNodeChangedEventHandler


[1521] Description


[1522] Occurs when the System.Xml.XmlNode.Value of a node belonging to this document has been changed.


[1523] This event only applies to nodes that have a value.


[1524] WriteTo


[1525] [C#] public event XmlNodeChangedEventHandler NodeChanging;


[1526] [C++] public: _event XmlNodeChangedEventHandler* NodeChanging;


[1527] [VB] Public Event NodeChanging As XmlNodeChangedEventHandler


[1528] Description


[1529] Occurs when the System.Xml.XmlNode.Value of a node belonging to this document is about to be changed.


[1530] This event allows the user to do extra checking and, if necessary, throw an exception to stop the operation. If an exception is thrown the XmlDocument returns to its original state. This event only applies to nodes that have a value.


[1531] WriteTo


[1532] [C#] public event XmlNodeChangedEventHandler NodeInserted;


[1533] [C++] public: _event XmlNodeChangedEventHandler* NodeInserted;


[1534] [VB] Public Event NodeInserted As XmlNodeChangedEventHandler


[1535] Description


[1536] Occurs when a node belonging to this document has been inserted into another node.


[1537] All nodes created by this document, whether or not they have been inserted into the document, are included in this event.


[1538] WriteTo


[1539] [C#] public event XmlNodeChangedEventHandler NodeInserting;


[1540] [C++] public: _event XmlNodeChangedEventHandler* NodeInserting;


[1541] [VB] Public Event NodeInserting As XmlNodeChangedEventHandler


[1542] Description


[1543] Occurs when a node belonging to this document is about to be inserted into another node.


[1544] This event allows the user to do extra checking and, if necessary, throw an exception to stop the operation. If an exception is thrown the XmlDocument returns to its original state.


[1545] WriteTo


[1546] [C#] public event XmlNodeChangedEventHandler NodeRemoved;


[1547] [C++] public: _event XmlNodeChangedEventHandler* NodeRemoved;


[1548] [VB] Public Event NodeRemoved As XmlNodeChangedEventHandler


[1549] Description


[1550] Occurs when a node belonging to this document has been removed from its parent.


[1551] All nodes created by this document, whether or not they have been inserted into the document, are included in this event.


[1552] WriteTo


[1553] [C#] public event XmlNodeChangedEventHandler NodeRemoving;


[1554] [C++] public: _event XmlNodeChangedEventHandler* NodeRemoving;


[1555] [VB] Public Event NodeRemoving As XmlNodeChangedEventHandler


[1556] Description


[1557] Occurs when a node belonging to this document is about to be removed from the document.


[1558] This event allows the user to do extra checking and, if necessary, throw an exception to stop the operation. If an exception is thrown the XmlDocument returns to its original state.


[1559] CloneNode


[1560] [C#] public override XmlNode CloneNode(bool deep);


[1561] [C++] public: XmlNode* CloneNode(bool deep);


[1562] [VB] Overrides Public Function CloneNode(ByVal deep As Boolean) As XmlNode


[1563] [JScript] public override function CloneNode(deep : Boolean) : XmlNode;


[1564] Description


[1565] Creates a duplicate of this node.


[1566] Return Value: The cloned XmlDocument node.


[1567] This method serves as a copy constructor for nodes. The cloned node has no parent (System.Xml.XmlNode.ParentNode returns null). trueto recursively clone the subtree under the specified node; false to clone only the node itself.


[1568] CreateAttribute


[1569] [C#] public XmlAttribute CreateAttribute(string name);


[1570] [C++] public: XmlAttribute* CreateAttribute(String* name);


[1571] [VB] Public Function CreateAttribute(ByVal name As String) As XmlAttribute


[1572] [JScript] public function CreateAttribute(name : String) : XmlAttribute; Creates an System.Xml.XmlAttribute with the specified name.


[1573] Description


[1574] Creates an System.Xml.XmlAttribute with the specified System.Xml.XmlDocument.Name.


[1575] Return Value: The new XmlAttribute.


[1576] The XmlAttribute can be added to an System.Xml.XmlElement using the System.Xml.XmlElement.SetAttributeNode(System.Xml.XmlAttribute) method. The qualified name of the attribute. If the name contains a colon, the System.Xml.XmlNode.Prefix property reflects the part of the name preceding the first colon and the System.Xml.XmlDocument.LocalName property reflects the part of the name following the first colon. The System.Xml.XmlNode.NamespaceURI remains empty unless the prefix is a recognized built-in prefix such as xmlns. In this case NamespaceURI has a value of http://www.w3.org/2000/xmlns/.


[1577] CreateAttribute


[1578] [C#] public XmlAttribute CreateAttribute(string qualifiedName, string namespaceURI);


[1579] [C++] public: XmlAttribute* CreateAttribute(String* qualifiedName, String* namespaceURI);


[1580] [VB] Public Function CreateAttribute(ByVal qualifiedName As String, ByVal namespaceURI As String) As XmlAttribute


[1581] [JScript] public function CreateAttribute(qualifiedName : String, namespaceURI : String) : XmlAttribute;


[1582] Description


[1583] Creates an System.Xml.XmlAttribute with the specified qualified name and System.Xml.XmlNode.NamespaceURI.


[1584] Return Value: The new XmlAttribute.


[1585] The XmlAttribute can be added to an System.Xml.XmlElement using the System.Xml.XmlElement.SetAttributeNode(System.Xml.XmlAttribute) method. The qualified name of the attribute. If the name contains a colon then the System.Xml.XmlNode.Prefix property will reflect the part of the name preceding the colon and the System.Xml.XmlDocument.LocalName property will reflect the part of the name after the colon. The namespaceURI of the attribute. If the qualified name includes a prefix of xmlns, then this parameter must be http://www.w3.org/2000/xmlns/.


[1586] CreateAttribute


[1587] [C#] public virtual XmlAttribute CreateAttribute(string prefix, string localName, string namespaceURI);


[1588] [C++] public: virtual XmlAttribute* CreateAttribute(String* prefix, String* localName, String* namespaceURI);


[1589] [VB] Overridable Public Function CreateAttribute(ByVal prefix As String, ByVal localName As String, ByVal namespaceURI As String) As XmlAttribute


[1590] [JScript] public function CreateAttribute(prefix : String, localName : String, namespaceURI : String) : XmlAttribute;


[1591] Description


[1592] Creates an System.Xml.XmlAttribute with the specified System.Xml.XmlNode.Prefix, System.Xml.XmlDocument.LocalName, and System.Xml.XmlNode.NamespaceURI.


[1593] Return Value: The new XmlAttribute.


[1594] The XmlAttribute can be added to an System.Xml.XmlElement using the System.Xml.XmlElement.SetAttributeNode(System.Xml.XmlAttribute) method. The prefix of the attribute (if any). String.Empty and null are equivalent. The local name of the attribute. The namespace URI of the attribute (if any). String.Empty and null are equivalent. If prefix is xmlns, then this parameter must be http://www.w3.org/2000/xmlns/; otherwise an exception is thrown.


[1595] CreateCDataSection


[1596] [C#] public virtual XmlCDataSection CreateCDataSection(string data);


[1597] [C++] public: virtual XmlCDataSection* CreateCDataSection(String* data);


[1598] [VB] Overridable Public Function CreateCDataSection(ByVal data As String) As XmlCDataSection


[1599] [JScript] public function CreateCDataSection(data : String) : XmlCDataSection;


[1600] Description


[1601] Creates an System.Xml.XmlCDataSection containing the specified data.


[1602] Return Value: The new XmlCDataSection.


[1603] Although this method creates the new object in the context of the document, it does not automatically add the new object to the document tree. To add the new object, you must explicitly call one of the node insert methods. The content of the new XmlCDataSection.


[1604] CreateComment


[1605] [C#] public virtual XmlComment CreateComment(string data);


[1606] [C++] public: virtual XmlComment* CreateComment(String* data);


[1607] [VB] Overridable Public Function CreateComment(ByVal data As String) As XmlComment


[1608] [JScript] public function CreateComment(data : String) : XmlComment;


[1609] Description


[1610] Creates an System.Xml.XmlComment containing the specified data.


[1611] Return Value: The new XmlComment.


[1612] Although this method creates the new object in the context of the document, it does not automatically add the new object to the document tree. To add the new object, you must explicitly call one of the node insert methods. The content of the new XmlComment.


[1613] CreateDefaultAttribute


[1614] [C#] protected internal virtual XmlAttribute CreateDefaultAttribute(string prefix, string localName, string namespaceURI);


[1615] [C++] protected public: virtual XmlAttribute* CreateDefaultAttribute(String* prefix, String* localName, String* namespaceURI);


[1616] [VB] Overridable Protected Friend Dim Function CreateDefaultAttribute(ByVal prefix As String, ByVal localName As String, ByVal namespaceURI As String) As XmlAttribute


[1617] [JScript] package function CreateDefaultAttribute(prefix : String, localName : String, namespaceURI : String) : XmlAttribute;


[1618] Description


[1619] Creates a default attribute with the specified prefix, local name and namespace URI.


[1620] Return Value: The new System.Xml.XmlAttribute. The prefix of the attribute (if any). The local name of the attribute. The namespace URI of the attribute (if any).


[1621] CreateDocumentFragment


[1622] [C#] public virtual XmlDocumentFragment CreateDocumentFragment( );


[1623] [C++] public: virtual XmlDocumentFragment* CreateDocumentFragment( );


[1624] [VB] Overridable Public Function CreateDocumentFragment( ) As XmlDocumentFragment


[1625] [JScript] public function CreateDocumentFragment( ) : XmlDocumentFragment;


[1626] Description


[1627] Creates an System.Xml.XmlDocumentFragment.


[1628] Return Value: The new XmlDocumentFragment.


[1629] DocumentFragment nodes cannot be inserted into a document. However, you can insert children of the DocumentFragment node into a document.


[1630] CreateDocumentType


[1631] [C#] public virtual XmlDocumentType CreateDocumentType(string name, string publicId, string systemId, string internalSubset);


[1632] [C++] public: virtual XmlDocumentType* CreateDocumentType(String* name, String* publicId, String* systemId, String* internalSubset);


[1633] [VB] Overridable Public Function CreateDocumentType(ByVal name As String, ByVal publicId As String, ByVal systemId As String, ByVal internalSubset As String) As XmlDocumentType


[1634] [JScript] public function CreateDocumentType(name : String, publicId : String, systemId : String, internalSubset : String) : XmlDocumentType;


[1635] Description


[1636] Returns a new System.Xml.XmlDocumentType object.


[1637] Return Value: The new XmlDocumentType.


[1638] The returned node will have parsed System.Xml.XmlDocumentType.Entities and System.Xml.XmlDocumentType.Notations collections. Name of the document type. The public identifier of the document type or null. The system identifier of the document type or null. The DTD internal subset of the document type or null.


[1639] CreateElement


[1640] [C#] public XmlElement CreateElement(string name);


[1641] [C++] public: XmlElement* CreateElement(String* name);


[1642] [VB] Public Function CreateElement(ByVal name As String) As XmlElement


[1643] [JScript] public function CreateElement(name : String) : XmlElement; Creates an System.Xml.XmlElement.


[1644] Description


[1645] Creates an element with the specified name.


[1646] Return Value: The new XmlElement.


[1647] Note that the instance returned implements the XmlElement interface, so default attributes would be created directly on the returned object. The qualified name of the element. If the name contains a colon then the System.Xml.XmlNode.Prefix property reflects the part of the name preceding the colon and the System.Xml.XmlDocument.LocalName property reflects the part of the name after the colon. The qualified name cannot include a prefix of‘xmlns’.


[1648] CreateElement


[1649] [C#] public XmlElement CreateElement(string qualifiedName, string namespaceURI);


[1650] [C++] public: XmlElement* CreateElement(String* qualifiedName, String* namespaceURI);


[1651] [VB] Public Function CreateElement(ByVal qualifiedName As String, ByVal namespaceURI As String) As XmlElement


[1652] [JScript] public function CreateElement(qualifiedName : String, namespaceURI : String) : XmlElement;


[1653] Description


[1654] Creates an System.Xml.XmlElement with the qualified name and System.Xml.XmlNode.NamespaceURI.


[1655] Return Value: The new XmlElement.


[1656] The following C# code XmlElement elem; elem=doc.CreateElement(“item:bar”, “urn:abc”); results in an XmlElement that is equivalent to the following XML text. The qualified name of the element. If the name contains a colon then the System.Xml.XmlNode.Prefix property will reflect the part of the name preceding the colon and the System.Xml.XmlDocument.LocalName property will reflect the part of the name after the colon. The qualified name cannot include a prefix of‘xmlns’. The namespace URI of the element.


[1657] CreateElement


[1658] [C#] public virtual XmlElement CreateElement(string prefix, string localName, string namespaceURI);


[1659] [C++] public: virtual XmlElement* CreateElement(String* prefix, String* localName, String* namespaceURI);


[1660] [VB] Overridable Public Function CreateElement(ByVal prefix As String, ByVal localName As String, ByVal namespaceURI As String) As XmlElement


[1661] [JScript] public function CreateElement(prefix : String, localName : String, namespaceURI : String) : XmlElement;


[1662] Description


[1663] Creates an element with the specified System.Xml.XmlNode.Prefix, System.Xml.XmlDocument.LocalName, and System.Xml.XmlNode.NamespaceURI.


[1664] Return Value: The new System.Xml.XmlElement.


[1665] The following C# code XmlElement elem; elem=doc.CreateElement(“item”, “bar”, “urn:abc”); creates an element equivalent to the following XML text: Although this method creates the new object in the context of the document, it does not automatically add the new object to the document tree. To add the new object, you must explicitly call one of the node insert methods. The prefix of the new element (if any). String.Empty and null are equivalent. The local ame of the new element. The namespace URI of the new element (if any). String.Empty and null are equivalent.


[1666] CreateEntityReference


[1667] [C#] public virtual XmlEntityReference CreateEntityReference(string name);


[1668] [C++] public: virtual XmlEntityReference* CreateEntityReference(String* name);


[1669] [VB] Overridable Public Function CreateEntityReference(ByVal name As String) As XmlEntityReference


[1670] [JScript] public function CreateEntityReference(name : String) : XmlEntityReference;


[1671] Description


[1672] Creates an System.Xml.XmlEntityReference with the specified name.


[1673] Return Value: The new XmlEntityReference.


[1674] If the referenced entity is known, the child list of the XmlEntityReference node is made the same as that of the corresponding System.Xml.XmlEntity node. The name of the entity reference.


[1675] CreateNavigator


[1676] [C#] protected internal virtual XPathNavigator CreateNavigator(XmlNode node);


[1677] [C++] protected public: virtual XPathNavigator* CreateNavigator(XmlNode* node);


[1678] [VB] Overridable Protected Friend Dim Function CreateNavigator(ByVal node As XmlNode) As XPathNavigator


[1679] [JScript] package function CreateNavigator(node : XmlNode) : XPathNavigator; Creates a new System.Xml.XPath.XPathNavigator object for navigating this document.


[1680] Description


[1681] Creates an System.Xml.XPath.XPathNavigator object for navigating this document.


[1682] Return Value: An System.Xml.XPath.XPathNavigator object. The System.Xml.XmlNode to navigate.


[1683] CreateNode


[1684] [C#] public virtual XmlNode CreateNode(string nodeTypeString, string name, string namespaceURI);


[1685] [C++] public: virtual XmlNode* CreateNode(String* nodeTypeString, String* name, String* namespaceURI);


[1686] [VB] Overridable Public Function CreateNode(ByVal nodeTypeString As String, ByVal name As String, ByVal namespaceURI As String) As XmlNode


[1687] [JScript] public function CreateNode(nodeTypeString : String, name : String, namespaceURI : String) : XmlNode;


[1688] Description


[1689] Creates an System.Xml.XmlNode with the specified node type, System.Xml.XmlDocument.Name, and System.Xml.XmlNode.NamespaceURI


[1690] Return Value: The new XmlNode.


[1691] The nodeTypeString is case sensitive and must be one of the following: string XmlNodeType element Element attribute Attribute text Text cdatasection CDATA entityreference EntityReference processinginstruction ProcessingInstruction comment Comment document Document documenttype DocumentType documentfragment DocumentFragment Although this method creates the new object in the context of the document, it does not automatically add the new object to the document tree. To add the new object, you must explicitly call one of the node insert methods. String version of the System.Xml.XmlNodeType of the new node. This parameter must be one of the values listed below. The qualified name of the new node. If the name contains a colon, it is parsed into System.Xml.XmlNode.Prefix and System.Xml.XmlDocument.LocalName components. The namespace URI of the new node.


[1692] CreateNode


[1693] [C#] public virtual XmlNode CreateNode(XmlNodeType type, string name, string namespaceURI);


[1694] [C++] public: virtual XmlNode* CreateNode(XmlNodeType type, String* name, String* namespaceURI);


[1695] [VB] Overridable Public Function CreateNode(ByVal type As XmlNodeType, ByVal name As String, ByVal namespaceURI As String) As XmlNode


[1696] [JScript] public function CreateNode(type : XmlNodeType, name : String, namespaceURI : String) : XmlNode;


[1697] Description


[1698] Creates an XmlNode with the specified System.Xml.XmlNodeType, System.Xml.XmlDocument.Name, and System.Xml.XmlNode.NamespaceURI.


[1699] Return Value: The new XmlNode.


[1700] Although this method creates the new object in the context of the document, it does not automatically add the new object to the document tree. To add the new object, you must explicitly call one of the node insert methods. The XmlNodeType of the new node. The qualified name of the new node. If the name contains a colon then it is parsed into System.Xml.XmlNode.Prefix and System.Xml.XmlDocument.LocalName components. The namespace URI of the new node.


[1701] CreateNode


[1702] [C#] public virtual XmlNode CreateNode(XmlNodeType type, string prefix, string name, string namespaceURI);


[1703] [C++] public: virtual XmlNode* CreateNode(XmlNodeType type, String* prefix, String* name, String* namespaceURI);


[1704] [VB] Overridable Public Function CreateNode(ByVal type As XmlNodeType, ByVal prefix As String, ByVal name As String, ByVal namespaceURI As String) As XmlNode


[1705] [JScript] public function CreateNode(type : XmlNodeType, prefix : String, name : String, namespaceURI : String) : XmlNode; Creates an System.Xml.XmlNode.


[1706] Description


[1707] Creates a System.Xml.XmlNode with the specified System.Xml.XmlNodeType, System.Xml.XmlNode.Prefix, System.Xml.XmlDocument.Name, and System.Xml.XmlNode.NamespaceURI


[1708] Return Value: The new XmlNode.


[1709] Although this method creates the new object in the context of the document, it does not automatically add the new object to the document tree. To add the new object, you must explicitly call one of the node insert methods. The XmlNodeType of the new node. The prefix of the new node. The local name of the new node. The namespace URI of the new node.


[1710] CreateProcessingInstruction


[1711] [C#] public virtual XmlProcessingInstruction CreateProcessingInstruction(string target, string data);


[1712] [C++] public: virtual XmlProcessingInstruction* CreateProcessingInstruction(String* target, String* data);


[1713] [VB] Overridable Public Function CreateProcessingInstruction(ByVal target As String, ByVal data As String) As XmlProcessingInstruction


[1714] [JScript] public function CreateProcessingInstruction(target : String, data : String) : XmlProcessingInstruction;


[1715] Description


[1716] Creates an System.Xml.XmlProcessingInstruction with the specified name and data.


[1717] Return Value: The new XmlProcessingInstruction.


[1718] Although this method creates the new object in the context of the document, it does not automatically add the new object to the document tree. To add the new object, you must explicitly call one of the node insert methods. The name of the processing instruction. The data for the processing instruction.


[1719] CreateSignificantWhitespace


[1720] [C#] public virtual XmlSignificantWhitespace CreateSignificantWhitespace(string text);


[1721] [C++] public: virtual XmlSignificantWhitespace* CreateSignificantWhitespace(String* text);


[1722] [VB] Overridable Public Function CreateSignificantWhitespace(ByVal text As String) As XmlSignificantWhitespace


[1723] [JScript] public function CreateSignificantWhitespace(text : String) : XmlSignificantWhitespace;


[1724] Description


[1725] Creates an System.Xml.XmlSignificantWhitespace node.


[1726] Return Value: A new XmlSignificantWhitespace node.


[1727] This is used when you want to manually format your document. The string must contain only the following characters and


[1728] CreateTextNode


[1729] [C#] public virtual XmlText CreateTextNode(string text);


[1730] [C++] public: virtual XmlText* CreateTextNode(String* text);


[1731] [VB] Overridable Public Function CreateTextNode(ByVal text As String) As XmlText


[1732] [JScript] public function CreateTextNode(text : String) : XmlText;


[1733] Description


[1734] Creates an System.Xml.XmlText with the specified text.


[1735] Return Value: The new XmlText node.


[1736] Although this method creates the new object in the context of the document, it does not automatically add the new object to the document tree. To add the new object, you must explicitly call one of the node insert methods. The text for the Text node.


[1737] CreateWhitespace


[1738] [C#] public virtual XmlWhitespace CreateWhitespace(string text);


[1739] [C++] public: virtual XmlWlhitespace* CreateWhitespace(String* text);


[1740] [VB] Overridable Public Function CreateWhitespace(ByVal text As String) As XmlWhitespace


[1741] [JScript] public function CreateWhitespace(text : String) : XmlWhitespace;


[1742] Description


[1743] Creates an System.Xml.XmlWhitespace node.


[1744] Return Value: A new XmlWhitespace node.


[1745] This is used when you want to manually format your document. The string must contain only the following characters and


[1746] CreateXmlDeclaration


[1747] [C#] public virtual XmlDeclaration CreateXmlDeclaration(string version, string encoding, string standalone);


[1748] [C++] public: virtual XmlDeclaration* CreateXmlDeclaration(String* version, String* encoding, String* standalone);


[1749] [VB] Overridable Public Function CreateXmlDeclaration(ByVal version As String, ByVal encoding As String, ByVal standalone As String) As XmlDeclaration


[1750] [JScript] public function CreateXmlDeclaration(version : String, encoding : String, standalone : String) : XmlDeclaration;


[1751] Description


[1752] Creates an System.Xml.XmlDeclaration node with the specified values.


[1753] Return Value: The new XmlDeclaration node.


[1754] The attributes are exposed as special properties on the XmlDeclaration node, and not as System.Xml.XmlAttribute nodes. The version must be “1.0”. The value of the encoding attribute. This is the encoding that is used when you save the System.Xml.XmlDocument; therefore, it must be set to a string supported by the System.Text.Encoding class, otherwise System.Xml.XmlDocument.Save(System.String) fails. If this is null or String.Empty, the Save method does not write an encoding attribute on the XML declaration and therefore the default encoding, UTF-8, is used. The value must be either “yes” or “no”. If this is null or String.Empty, the Save method does not write a standalone attribute on the XML declaration.


[1755] GetElementById


[1756] [C#] public virtual XmlElement GetElementById(string elementId);


[1757] [C++] public: virtual XmlElement* GetElementById(String* elementId);


[1758] [VB] Overridable Public Function GetElementById(ByVal elementId As String) As XmlElement


[1759] [JScript] public function GetElementById(elementId : String) : XmlElement;


[1760] Description


[1761] Gets the System.Xml.XmlElement with the specified ID.


[1762] Return Value: The XmlElement with the matching ID or null if no matching element is found.


[1763] If the document has multiple elements with the matching ID, this method returns the first matching element in the document. The attribute ID to match.


[1764] GetElementsByTagName


[1765] [C+] public virtual XmlNodeList GetElementsByTagName(string name);


[1766] [C++] public: virtual XmlNodeList* GetElementsByTagName(String* name);


[1767] [VB] Overridable Public Function GetElementsByTagName(ByVal name As String) As XmlNodeList


[1768] [JScript] public function GetElementsByTagName(name : String) : XmlNodeList; Returns an System.Xml.XmlNodeList containing a list of all descendant elements that match the specified name.


[1769] Description


[1770] Returns an System.Xml.XmlNodeList containing a list of all descendant elements that match the specified System.Xml.XmlDocument.Name.


[1771] Return Value: An System.Xml.XmlNodeList containing a list of all matching nodes.


[1772] The nodes are placed in the order in which they would be encountered in the document. The qualified name to match. It is matched against the Name property of the matching node. The special value “*” matches all tags.


[1773] GetElementsByTagName


[1774] [C#] public virtual XmlNodeList GetElementsByTagName(string localName, string namespaceURI);


[1775] [C++] public: virtual XmlNodeList* GetElementsByTagName(String* localName, String* namespaceURI);


[1776] [VB] Overridable Public Function GetElementsByTagName(ByVal localName As String, ByVal namespaceURI As String) As XmlNodeList


[1777] [JScript] public function GetElementsByTagName(localName : String, namespaceURI : String) : XmlNodeList;


[1778] Description


[1779] Returns an System.Xml.XmlNodeList containing a list of all descendant elements that match the specified System.Xml.XmlDocument.LocalName and System.Xml.XmlNode.NamespaceURI.


[1780] Return Value: An System.Xml.XmlNodeList containing a list of all matching nodes.


[1781] The nodes are placed in the order in which they would be encountered in the document tree. The LocalName to match. The special value “*” matches all tags. NamespaceURI to match.


[1782] ImportNode


[1783] [C#] public virtual XmlNode ImportNode(XmlNode node, bool deep);


[1784] [C++] public: virtual XmlNode* ImportNode(XmlNode* node, bool deep);


[1785] [VB] Overridable Public Function ImportNode(ByVal node As XmlNode, ByVal deep As Boolean) As XmlNode


[1786] [JScript] public function ImportNode(node : XmlNode, deep : Boolean) : XmlNode;


[1787] Description


[1788] Imports a node from another document to the current document.


[1789] Return Value: The imported System.Xml.XmlNode.


[1790] The returned node has no parent. The source node is not altered or removed from the original document; ImportNode creates a copy of the source node. The node being imported. trueto perform a deep clone; otherwise, false.


[1791] Load


[1792] [C#] public virtual void Load(Stream instream);


[1793] [C++] public: virtual void Load(Stream* inStream);


[1794] [VB] Overridable Public Sub Load(ByVal inStream As Stream)


[1795] [JScript] public function Load(inStream : Stream);


[1796] Description


[1797] Loads the XML document from the specified stream.


[1798] System.Xml.XmlWhitespace nodes are not created unless System.Xml.XmlDocument.PreserveWhitespace is set to true. Also, if the reader has been configured to not return whitespace, then no whitespace nodes will be created. In other words Load does not change the whitespace handling of the given reader. The stream containing the XML document to load.


[1799] Load


[1800] [C#] public virtual void Load(string filename);


[1801] [C++] public: virtual void Load(String* filename);


[1802] [VB] Overridable Public Sub Load(ByVal filename As String)


[1803] [JScript] public function Load(filename : String); Loads the specified XML data.


[1804] Description


[1805] Loads the XML document from the specified URL.


[1806] System.Xml.XmlWhitespace nodes are not created unless System.Xml.XmlDocument.PreserveWhitespace is set to true. URL for the file containing the XML document to load.


[1807] Load


[1808] [C#] public virtual void Load(TextReader txtReader);


[1809] [C++] public: virtual void Load(TextReader* txtreader);


[1810] [VB] Overridable Public Sub Load(ByVal txtReader As TextReader)


[1811] [JScript] public function Load(txtReader : TextReader);


[1812] Description


[1813] Loads the XML document from the specified System.IO.TextReader.


[1814] System.Xml.XmlWhitespace nodes are not created unless System.Xml.XmlDocument.PreserveWhitespace is set to true. The TextReader used to feed the XML data into the document.


[1815] Load


[1816] [C#] public virtual void Load(XmlReader reader);


[1817] [C++] public: virtual void Load(XmlReader* reader);


[1818] [VB] Overridable Public Sub Load(ByVal reader As XmlReader)


[1819] [JScript] public function Load(reader : XmlReader);


[1820] Description


[1821] Loads the XML document from the specified System.Xml.XmlReader.


[1822] Whitespace nodes are not created unless System.Xml.XmlDocument.PreserveWhitespace is set to true. Also, if the reader has been configured to not return whitespace, then no whitespace nodes will be created. In other words Load does not change the whitespace handling of the given reader. The XmlReader used to feed the XML data into the document.


[1823] LoadXml


[1824] [C#] public virtual void LoadXml(string xml);


[1825] [C++] public: virtual void LoadXml(String* xml);


[1826] [VB] Overridable Public Sub LoadXml(ByVal xml As String)


[1827] [JScript] public function LoadXml(xml : String);


[1828] Description


[1829] Loads the XML document from the specified string.


[1830] By default the LoadXml method does not preserve whitespace nor significant whitespace. String containing the XML document to load.


[1831] ReadNode


[1832] [C#] public virtual XmNode ReadNode(XmlReader reader);


[1833] [C++] public: virtual XmlNode* ReadNode(XmlReader* reader);


[1834] [VB] Overridable Public Function ReadNode(ByVal reader As XmlReader) As XmlNode


[1835] [JScript] public function ReadNode(reader : XmlReader) : XmlNode;


[1836] Description


[1837] Creates an System.Xml.XmlNode object based on the information in the System.Xml.XmlReader. The reader must be positioned on a node or attribute.


[1838] Return Value: The new XmlNode or null if no more nodes exist.


[1839] Reads one XmlNode from the given reader and positions the reader on the next node. This method creates the type of XmlNode matching the System.Xml.XmlNode.NodeType on which the reader is currently positioned. (If the reader is in the initial state, ReadNode advances the reader to the first node and then operates on that node.) If the reader is positioned on the start of an element, ReadNode reads all the attributes and any child nodes, up to and including the end tag of the current node. The XmlNode returned contains the subtree representing everything read. The reader is positioned immediately after the end tag. The Xml source


[1840] Save


[1841] [C#] public virtual void Save(Stream outStream);


[1842] [C++] public: virtual void Save(Stream* outStream);


[1843] [VB] Overridable Public Sub Save(ByVal outStream As Stream)


[1844] [JScript] public function Save(outStream : Stream);


[1845] Description


[1846] Saves the XML document to the specified stream.


[1847] Whitespace is preserved only if System.Xml.XmlDocument.PreserveWhitespace is set to true. The stream to which you want to save.


[1848] Save


[1849] [C#] public virtual void Save(string filename);


[1850] [C++] public: virtual void Save(String* filename);


[1851] [VB] Overridable Public Sub Save(ByVal filename As String)


[1852] [JScript] public function Save(filename : String); Saves the XML document to the specified location.


[1853] Description


[1854] Saves the XML document to the specified file.


[1855] Whitespace is preserved in the output file only if System.Xml.XmlDocument.PreserveWhitespace is set to true. The location of the file where you want to save the document.


[1856] Save


[1857] [C#] public virtual void Save(TextWriter writer);


[1858] [C++] public: virtual void Save(TextWriter* writer);


[1859] [VB] Overridable Public Sub Save(ByVal writer As TextWriter)


[1860] [JScript] public function Save(writer : TextWriter);


[1861] Description


[1862] Saves the XML document to the specified System.IO.TextWriter. The TextWriter to which you want to save.


[1863] Save


[1864] [C#] public virtual void Save(XmlWriter writer);


[1865] [C++] public: virtual void Save(XmlWriter* writer);


[1866] [VB] Overridable Public Sub Save(ByVal writer As XmlWriter)


[1867] [JScript] public function Save(writer : XmlWriter);


[1868] Description


[1869] Saves the XML document to the specified System.Xml.XmlWriter.


[1870] Whitespace is preserved only if System.Xml.XmlDocument.PreserveWhitespace is set to true. The XmlWriter to which you want to save.


[1871] WriteContentTo


[1872] [C#] public override void WriteContentTo(XmlWriter w);


[1873] [C++] public: void WriteContentTo(XmlWriter* w);


[1874] [VB] Overrides Public Sub WriteContentTo(ByVal w As XmlWriter)


[1875] [JScript] public override function WriteContentTo(w : XmlWriter);


[1876] Description


[1877] Saves all the children of the XmlDocument node to the specified System.Xml.XmlWriter.


[1878] This method is functionally equivalent to the System.Xml.XmlDocument.InnerXml property. The XmlWriter to which you want to save.


[1879] WriteTo


[1880] [C#] public override void WriteTo(XmlWriter w);


[1881] [C++] public: void WriteTo(XmlWriter* w);


[1882] [VB] Overrides Public Sub WriteTo(ByVal w As XmlWriter)


[1883] [JScript] public override function WriteTo(w : XmlWriter);


[1884] Description


[1885] Saves the XmlDocument node to the specified System.Xml.XmlWriter.


[1886] This method is functionally equivalent to the System.Xml.XmlNode.OuterXml property. The XmlWriter to which you want to save.


[1887] XmlDocumentFragment class (System.Xml)


[1888] WriteTo


[1889] Description


[1890] Represents a lightweight object that is useful for tree insert operations.


[1891] XmlDocumentFragment


[1892] Example Syntax:


[1893] WriteTo


[1894] [C#] protected internal XmlDocumentFragment(XmlDocument ownerDocument);


[1895] [C++] internal: XmlDocumentFragment(XmlDocument* ownerDocument);


[1896] [VB] Protected Friend Sub New(ByVal ownerDocument As XmlDocument)


[1897] [JScript] package function XmlDocumentFragment(ownerDocument : XmlDocument);


[1898] Description


[1899] Attributes


[1900] BaseURI


[1901] ChildNodes


[1902] FirstChild


[1903] HasChildNodes


[1904] InnerText


[1905] InnerXml


[1906] WriteTo


[1907] Description


[1908] Gets or sets the markup representing the children of this node.


[1909] Setting this property replaces the children of the node with the parsed contents of the given string. The parsing is done in the current namespace context.


[1910] IsReadOnly


[1911] Item


[1912] Item


[1913] LastChild


[1914] LocalName


[1915] WriteTo


[1916] Description


[1917] Gets the local name of the node.


[1918] Name


[1919] WriteTo


[1920] [C#] public override string Name {get;}


[1921] [C++] public: _property virtual String* get_Name( );


[1922] [VB] Overrides Public ReadOnly Property Name As String


[1923] [JScript] public function get Name( ) : String;


[1924] Description


[1925] Gets the qualified name of the node.


[1926] NamespaceURI


[1927] NextSibling


[1928] NodeType


[1929] WriteTo


[1930] Description


[1931] Gets the type of the current node.


[1932] OuterXml


[1933] OwnerDocument


[1934] WriteTo


[1935] Description


[1936] Gets the System.Xml.XmlDocument that contains this node.


[1937] When adding nodes to the current node, use the XmlDocument returned by the OwnerDocument property to create the node.


[1938] ParentNode


[1939] WriteTo


[1940] [C#] public override XmlNode ParentNode {get;}


[1941] [C++] public: Property virtual XmlNode* get_ParentNode( );


[1942] [VB] Overrides Public ReadOnly Property ParentNode As XmlNode


[1943] [JScript] public function get ParentNode( ) : XmlNode;


[1944] Description


[1945] Gets the parent of this node (for nodes that can have parents).


[1946] Prefix


[1947] PreviousSibling


[1948] Value


[1949] CloneNode


[1950] [C#] public override XmlNode CloneNode(bool deep);


[1951] [C++] public: XmlNode* CloneNode(bool deep);


[1952] [VB] Overrides Public Function CloneNode(ByVal deep As Boolean) As XmlNode


[1953] [JScript] public override function CloneNode(deep : Boolean) : XmlNode;


[1954] Description


[1955] Creates a duplicate of this node.


[1956] Return Value: The cloned node.


[1957] CloneNode serves as a copy constructor for nodes. To see how this method behaves with other node types, see System.Xml.XmlNode.CloneNode(System.Boolean) method in the XmlNode class. true to recursively clone the subtree under the specified node; false to clone only the node itself.


[1958] WriteContentTo


[1959] [C#] public override void WriteContentTo(XmlWriter w);


[1960] [C++] public: void WriteContentTo(XmlWriter* w);


[1961] [VB] Overrides Public Sub WriteContentTo(ByVal w As XmlWriter)


[1962] [JScript] public override function WriteContentTo(w : XmlWriter);


[1963] Description


[1964] Saves all the children of the node to the specified XmlWriter. The XmlWriter where you want to save the current node.


[1965] WriteTo


[1966] [C#] public override void WriteTo(XmlWriter w);


[1967] [C++] public: void WriteTo(XmlWriter* w);


[1968] [VB] Overrides Public Sub WriteTo(ByVal w As XmlWriter)


[1969] [JScript] public override function WriteTo(w: XmlWriter);


[1970] Description


[1971] Saves the node to the specified XmlWriter. The XmlWriter where you want to save the node.


[1972] XmlDocumentType class (System.Xml)


[1973] WriteTo


[1974] Description


[1975] Represents the document type declaration.


[1976] XmlDocumentType


[1977] Example Syntax:


[1978] WriteTo


[1979] [C#] protected internal XmlDocumentType(string name, string publicId, string systemId, string internalSubset, XmlDocument doc);


[1980] [C++] internal: XmlDocumentType(String* name, String* publicId, String* systemId, String* internalSubset, XmlDocument* doc);


[1981] [VB] Protected Friend Sub New(ByVal name As String, ByVal publicId As String, ByVal systemId As String, ByVal internalSubset As String, ByVal doc As XmlDocument)


[1982] [JScript] package function XmlDocumentType(name : String, publicId : String, systemId : String, internalSubset : String, doc : XmlDocument);


[1983] Description


[1984] Attributes


[1985] BaseURI


[1986] ChildNodes


[1987] Entities


[1988] WriteTo


[1989] Description


[1990] Gets the collection of System.Xml.XmlEntity nodes declared in the document type declaration.


[1991] FirstChild


[1992] HasChildNodes


[1993] InnerText


[1994] InnerXml


[1995] InternalSubset


[1996] WriteTo


[1997] Description


[1998] Gets the value of the DTD internal subset on the DOCTYPE declaration.


[1999] IsReadOnly


[2000] WriteTo


[2001] [C#] public override bool IsReadOnly {get;}


[2002] [C++] public: _property virtual bool get_IsReadOnly( );


[2003] [VB] Overrides Public ReadOnly Property IsReadOnly As Boolean


[2004] [JScript] public function get IsReadOnly( ) : Boolean;


[2005] Description


[2006] Gets a value indicating whether the node is read-only.


[2007] A read-only node is one whose properties, attributes, or children cannot be changed. However, you can remove a read-only node from the tree and insert it somewhere else.


[2008] Item


[2009] Item


[2010] LastChild


[2011] LocalName


[2012] WriteTo


[2013] Description


[2014] Gets the local name of the node.


[2015] Name


[2016] WriteTo


[2017] [C#] public override string Name {get;}


[2018] [C++] public: _property virtual String* get_Name( );


[2019] [VB] Overrides Public ReadOnly Property Name As String


[2020] [JScript] public function get Name( ) : String;


[2021] Description


[2022] Gets the qualified name of the node.


[2023] NamespaceURI


[2024] NextSibling


[2025] NodeType


[2026] WriteTo


[2027] Description


[2028] Gets the type of the current node.


[2029] Notations


[2030] WriteTo


[2031] [C#] public XmlNamedNodeMap Notations {get;}


[2032] [C++] public: _property XmlNamedNodeMap* get_Notations( );


[2033] [VB] Public ReadOnly Property Notations As XmlNamedNodeMap


[2034] [JScript] public function get Notations( ) : XmlNamedNodeMap;


[2035] Description


[2036] Gets the collection of System.Xml.XmlNotation nodes present in the document type declaration.


[2037] OuterXml


[2038] OwnerDocument


[2039] ParentNode


[2040] Prefix


[2041] Previous Sibling


[2042] publicId


[2043] WriteTo


[2044] Description


[2045] Gets the value of the public identifier on the DOCTYPE declaration.


[2046] SystemId


[2047] WriteTo


[2048] [C#] public string SystemId {get;}


[2049] [C++] public: _property String* get_SystemId( );


[2050] [VB] Public ReadOnly Property SystemId As String


[2051] [JScript] public function get SystemId( ) : String;


[2052] Description


[2053] Gets the value of the system identifier on the DOCTYPE declaration.


[2054] Value


[2055] CloneNode


[2056] [C#] public override XmlNode CloneNode(bool deep);


[2057] [C++] public: XmlNode* CloneNode(bool deep);


[2058] [VB] Overrides Public Function CloneNode(ByVal deep As Boolean) As XmlNode


[2059] [JScript] public override function CloneNode(deep : Boolean) : XmlNode;


[2060] Description


[2061] Creates a duplicate of this node.


[2062] Return Value: The duplicate node.


[2063] This method serves as a generic copy constructor for nodes. The duplicate node has no parent (ParentNode returns null). true to recursively clone the subtree under the specified node; false to clone only the node itself (and its attributes if the node is an XmlElement).


[2064] WriteContentTo


[2065] [C++] public override void WriteContentTo(XmlWriter w);


[2066] [C++] public: void WriteContentTo(XmlWriter* w);


[2067] [VB] Overrides Public Sub WriteContentTo(ByVal w As XmlWriter)


[2068] [JScript] public override function WriteContentTo(w : XmlWriter);


[2069] Description


[2070] Saves all the children of the node to the specified XmlWriter. The XmlWriter where you want to save the current node.


[2071] WriteTo


[2072] [C#] public override void WriteTo(XmlWriter w);


[2073] [C++] public: void WriteTo(XmlWriter* w);


[2074] [VB] Overrides Public Sub WriteTo(ByVal w As XmlWriter)


[2075] [JScript] public override function WriteTo(w : XmlWriter);


[2076] Description


[2077] Saves the node to the specified XmlWriter. The XmlWriter where you want to save the node.


[2078] XmlElement class (System.Xml)


[2079] WriteTo


[2080] Description


[2081] Represents an element.


[2082] XmlElement


[2083] Example Syntax:


[2084] WriteTo


[2085] [C#] protected internal XmlElement(string prefix, string localName, string namespaceURI, XmlDocument doc);


[2086] [C++] internal: XmlElement(String* prefix, String* localName, String* namespaceURI, XmlDocument* doc);


[2087] [VB] Protected Friend Sub New(ByVal prefix As String, ByVal localName As String, ByVal namespaceURI As String, ByVal doc As XmlDocument)


[2088] [JScript] package function XmlElement(prefix : String, localName : String, namespaceURI : String, doc : XmlDocument);


[2089] Description


[2090] Attributes


[2091] WriteTo


[2092] [C#] public override XmlAttributeCollection Attributes {get;}


[2093] [C++] public: _property virtual XmlAttributeCollection* get_Attributes( );


[2094] [VB] Overrides Public ReadOnly Property Attributes As XmlAttributeCollection


[2095] [JScript] public function get Attributes( ) : XmlAttributeCollection;


[2096] Description


[2097] Gets an System.Xml.XmlAttributeCollection containing the list of attributes for this node.


[2098] BaseURI


[2099] ChildNodes


[2100] FirstChild


[2101] HasAttributes


[2102] WriteTo


[2103] Description


[2104] Gets a value indicating whether the current node has any attributes.


[2105] HasChildNodes


[2106] InnerText


[2107] WriteTo


[2108] Description


[2109] Gets or sets the concatenated values of the node and all its children.


[2110] Setting this property replaces all the children with the parsed contents of the given string.


[2111] InnerXml


[2112] WriteTo


[2113] [C#] public override string InnerXml {get; set;}


[2114] [C++] public: _property virtual String* get_InnerXml( );public: _property virtual void set_InnerXml(String*);


[2115] [VB] Overrides Public Property InnerXml As String


[2116] [JScript] public function get InnerXml( ) : String;public function set InnerXml(String);


[2117] Description


[2118] Gets or sets the markup representing just the children of this node.


[2119] Setting this property replaces the children of the node with the parsed contents of the given string. The parsing is done in the current namespace context.


[2120] IsEmpty


[2121] WriteTo


[2122] [C#] public bool IsEmpty {get; set;}


[2123] [C++] public: _property bool get_IsEmpty( );public: _property void set_IsEmpty(bool);


[2124] [VB] Public Property IsEmpty As Boolean


[2125] [JScript] public function get IsEmpty( ) : Boolean;public function set IsEmpty(Boolean);


[2126] Description


[2127] Gets or sets the tag format of the element.


[2128] IsReadOnly


[2129] Item


[2130] Item


[2131] LastChild


[2132] LocalName


[2133] WriteTo


[2134] Description


[2135] Gets the local name of the current node.


[2136] If the node does not have a prefix, LocalName is the same as System.Xml.XmlElement.Name.


[2137] Name


[2138] WriteTo


[2139] [C#] public override string Name {get;}


[2140] [C++] public: _property virtual String* get_Name( );


[2141] [VB] Overrides Public ReadOnly Property Name As String


[2142] [JScript] public function get Name( ) : String;


[2143] Description


[2144] Gets the qualified name of the node.


[2145] NamespaceURI


[2146] WriteTo


[2147] [C#] public override string NamespaceURI {get;}


[2148] [C++] public: _property virtual String* get_NamespaceURI( );


[2149] [VB] Overrides Public ReadOnly Property NamespaceURI As String


[2150] [JScript] public function get NamespaceURI( ) : String;


[2151] Description


[2152] Gets the namespace URI of this node.


[2153] This is the namespace URI specified at creation time. For example, NamespaceURI is urn:samples for the element The following example displays information on the ISBN element.


[2154] NextSibling


[2155] WriteTo


[2156] [C#] public override XmlNode NextSibling {get;}


[2157] [C++] public: _property virtual XmlNode* get_NextSibling( );


[2158] [VB] Overrides Public ReadOnly Property NextSibling As XmlNode


[2159] [JScript] public function get NextSibling( ) : XmlNode;


[2160] Description


[2161] Gets the System.Xml.XmlNode immediately following this element.


[2162] NodeType


[2163] WriteTo


[2164] [C#] public override XmlNodeType NodeType {get;}


[2165] [C++] public: _property virtual XmlNodeType get_NodeType( );


[2166] [VB] Overrides Public ReadOnly Property NodeType As XmlNodeType


[2167] [JScript] public function get NodeType( ) : XmlNodeType;


[2168] Description


[2169] Gets the type of the current node.


[2170] OuterXml


[2171] OwnerDocument


[2172] WriteTo


[2173] Description


[2174] Gets the System.Xml.XmlDocument to which this node belongs.


[2175] When adding nodes to the current node, use the XmlDocument returned by the OwnerDocument property to create the node.


[2176] ParentNode


[2177] Prefix


[2178] WriteTo


[2179] Description


[2180] Gets or sets the namespace prefix of this node.


[2181] Setting this property changes the System.Xml.XmlElement.Name property, which holds the qualified name for an XmlElement.


[2182] PreviousSibling


[2183] Value


[2184] CloneNode


[2185] [C#] public override XmlNode CloneNode(bool deep);


[2186] [C++] public: XmlNode* CloneNode(bool deep);


[2187] [VB] Overrides Public Function CloneNode(ByVal deep As Boolean) As XmlNode


[2188] [JScript] public override function CloneNode(deep : Boolean) : XmlNode;


[2189] Description


[2190] Creates a duplicate of this node.


[2191] Return Value: The cloned node.


[2192] This method serves as a copy constructor for nodes. The duplicate node has no parent (System.Xml.XmlNode.ParentNode returns null). true to recursively clone the subtree under the specified node; false to clone only the node itself (and its attributes if the node is an XmlElement).


[2193] GetAttribute


[2194] [C#] public virtual string GetAttribute(string name);


[2195] [C++] public: virtual String* GetAttribute(String* name);


[2196] [VB] Overridable Public Function GetAttribute(ByVal name As String) As String


[2197] [JScript] public function GetAttribute(name : String) : String; Returns the attribute value for the specified attribute.


[2198] Description


[2199] Returns the value for the attribute with the specified name.


[2200] Return Value: The value of the specified System.Xml.XmlAttribute as a string. Empty string is returned if that attribute does not have a specified or default value. The name of the attribute to retrieve. This is a qualified name. It is matched against the Name property of the matching node.


[2201] GetAttribute


[2202] [C#] public virtual string GetAttribute(string localName, string namespaceURI);


[2203] [C++] public: virtual String* GetAttribute(String* localName, String* namespaceURI);


[2204] [VB] Overridable Public Function GetAttribute(ByVal localName As String, ByVal namespaceURI As String) As String


[2205] [JScript] public function GetAttribute(localName : String, namespaceURI : String) : String;


[2206] Description


[2207] Returns the value for the attribute with the specified local name and namespace URI.


[2208] Return Value: The value of the specified attribute node as a string. Empty string is returned if that attribute does not have a specified or default value. The local name of the attribute to retrieve. The namespace URI of the attribute to retrieve.


[2209] GetAttributeNode


[2210] [C#] public virtual XmlAttribute GetAttributeNode(string name);


[2211] [C++] public: virtual XmlAttribute* GetAttributeNode(String* name);


[2212] [VB] Overridable Public Function GetAttributeNode(ByVal name As String) As XmlAttribute


[2213] [JScript] public function GetAttributeNode(name : String) : XmlAttribute; Return the specified System.Xml.XmlAttribute.


[2214] Description


[2215] Returns the XmlAttribute with the specified name.


[2216] Return Value: The specified XmlAttribute or null if a matching attribute was not found. The name of the attribute to retrieve. This is a qualified name. It is matched against the Name property of the matching node.


[2217] GetAttributeNode


[2218] [C#] public virtual XmlAttribute GetAttributeNode(string localName, string namespaceURI);


[2219] [C++] public: virtual XmlAttribute* GetAttributeNode(String* localName, String* namespaceURI);


[2220] [VB] Overridable Public Function GetAttributeNode(ByVal localName As String, ByVal namespaceURI As String) As XmlAttribute


[2221] [JScript] public function GetAttributeNode(localName : String, namespaceURI : String) : XmlAttribute;


[2222] Description


[2223] Returns the System.Xml.XmlAttribute with the specified local name and namespace URI.


[2224] Return Value: The specified XmlAttribute or null if a matching attribute was not found. The local name of the attribute. The namespace URI of the attribute.


[2225] GetElementsByTagName


[2226] [C#] public virtual XmlNodeList GetElementsByTagName(string name);


[2227] [C++] public: virtual XmlNodeList* GetElementsByTagName(String* name);


[2228] [VB] Overridable Public Function GetElementsByTagName(ByVal name As String) As XmlNodeList


[2229] [JScript] public function GetElementsByTagName(name : String) : XmlNodeList; Returns an System.Xml.XmlNodeList containing a list of all descendant elements that match the specified name.


[2230] Description


[2231] Returns an System.Xml.XmlNodeList containing a list of all descendant elements that match the specified System.Xml.XmlElement.Name.


[2232] Return Value: An System.Xml.XmlNodeList containing a list of all matching nodes.


[2233] The nodes are placed in the order in which they would be encountered in a preorder traversal of the System.Xml.XmlElement tree. The name tag to match. This is a qualified name. It is matched against the Name property of the matching node. The asterik (*) is a special value that matches all tags.


[2234] GetElementsByTagName


[2235] [C#] public virtual XmlNodeList GetElementsByTagName(string localName, string namespaceURI);


[2236] [C++] public: virtual XmlNodeList* GetElementsByTagName(String* localName, String* namespaceURI);


[2237] [VB] Overridable Public Function GetElementsByTagName(ByVal localName As String, ByVal namespaceURI As String) As XmlNodeList


[2238] [JScript] public function GetElementsByTagName(localName : String, namespaceURI : String) : XmlNodeList;


[2239] Description


[2240] Returns an System.Xml.XmlNodeList containing a list of all descendant elements that match the specified System.Xml.XmlElement.LocalName and System.Xml.XmlElement.NamespaceURI.


[2241] Return Value: An System.Xml.XmlNodeList containing a list of all matching nodes.


[2242] The nodes are placed in the order in which they would be encountered in a preorder traversal of the XmlElement tree. The local name to match. The asterik (*) is a special value that matches all tags. The namespace URI to match.


[2243] HasAttribute


[2244] [C#] public virtual bool HasAttribute(string name);


[2245] [C++] public: virtual bool HasAttribute(String* name);


[2246] [VB] Overridable Public Function HasAttribute(ByVal name As String) As Boolean


[2247] [JScript] public function HasAttribute(name: String) : Boolean; Determines whether the current node has the specified attribute.


[2248] Description


[2249] Determines whether the current node has the specified attribute.


[2250] Return Value: true if the current node has the specified attribute; otherwise, false. The name of the attribute to find. This is a qualified name. It is matched against the Name property of the matching node.


[2251] HasAttribute


[2252] [C#] public virtual bool HasAttribute(string localName, string namespaceURI);


[2253] [C++] public: virtual bool HasAttribute(String* localName, String* namespaceURI);


[2254] [VB] Overridable Public Function HasAttribute(ByVal localName As String, ByVal namespaceURI As String) As Boolean


[2255] [JScript] public function HasAttribute(localName : String, namespaceURI : String) : Boolean;


[2256] Description


[2257] Determines whether the current node has an attribute with the specified local name and namespace URI.


[2258] Return Value: true if the current node has the specified attribute; otherwise, false. The local name of the attribute to find. The namespace URI of the attribute to find.


[2259] RemoveAll


[2260] [C#] public override void RemoveAll( );


[2261] [C++] public: void RemoveAll( );


[2262] [VB] Overrides Public Sub RemoveAll( )


[2263] [Jscript] public override function RemoveAll( );


[2264] Description


[2265] Removes all the attributes and children of the current node.


[2266] RemoveAllAttributes


[2267] [C#] public virtual void RemoveAllAttributes( );


[2268] [C++] public: virtual void RemoveAllAttributes( );


[2269] [VB] Overridable Public Sub RemoveAllAttributes( )


[2270] [JScript] public function RemoveAllAttributes( );


[2271] Description


[2272] Removes all attributes from the element.


[2273] RemoveAttribute


[2274] [C#] public virtual void RemoveAttribute(string name);


[2275] [C++] public: virtual void RemoveAttribute(String* name);


[2276] [VB] Overridable Public Sub RemoveAttribute(ByVal name As String)


[2277] [JScript] public function RemoveAttribute(name : String); Removes the specified attribute.


[2278] Description


[2279] Removes an attribute by name.


[2280] If the removed attribute is known to have a default value, an attribute immediately appears containing the default value and, if applicable, the corresponding namespace URI, local name, and prefix. The name of the attribute to remove.This is a qualified name. It is matched against the Name property of the matching node.


[2281] RemoveAttribute


[2282] [C#] public virtual void RemoveAttribute(string localName, string namespaceURI);


[2283] [C++] public: virtual void RemoveAttribute(String* localName, String* namespaceURI);


[2284] [VB] Overridable Public Sub RemoveAttribute(ByVal localName As String, ByVal namespaceURI As String)


[2285] [JScript] public function RemoveAttribute(localName : String, namespaceURI : String);


[2286] Description


[2287] Removes an attribute with the specified local name and namespace URI.


[2288] If the removed attribute is known to have a default value, an attribute immediately appears containing the default value and, if applicable, the corresponding namespace URI, local name, and prefix. The local name of the attribute to remove. The namespace URI of the attribute to remove.


[2289] RemoveAttributeAt


[2290] [C#] public virtual XmlNode RemoveAttributeAt(int i);


[2291] [C++] public: virtual XmlNode* RemoveAttributeAt(int i);


[2292] [VB] Overridable Public Function RemoveAttributeAt(ByVal i As Integer) As XmlNode


[2293] [JScript] public function RemoveAttributeAt(i : int) : XmlNode;


[2294] Description


[2295] Removes the attribute node with the specified index from the element. The index of the node to remove. The first node has index 0.


[2296] RemoveAttributeNode


[2297] [C#] public virtual XmlAttribute RemoveAttributeNode(XmlAttribute oldAttr);


[2298] [C++] public: virtual XmlAttribute* RemoveAttributeNode(XmlAttribute* oldAttr);


[2299] [VB] Overridable Public Function RemoveAttributeNode(ByVal oldAttr As XmlAttribute) As XmlAttribute


[2300] [JScript] public function RemoveAttributeNode(oldAttr : XmlAttribute) : XmlAttribute; Removes an System.Xml.XmlAttribute.


[2301] Description


[2302] Removes the specified System.Xml.XmlAttribute.


[2303] Return Value: The removed XmlAttribute or null if oldAttr is not an attribute node of the XmlElement. The XmlAttribute node to remove. If the removed attribute has a default value, it is immediately replaced.


[2304] RemoveAttributeNode


[2305] [C#] public virtual XmlAttribute RemoveAttributeNode(string localName, string namespaceURI);


[2306] [C++] public: virtual XmlAttribute* RemoveAttributeNode(String* localName, String* namespaceURI);


[2307] [VB] Overridable Public Function RemoveAttributeNode(ByVal localName As String, ByVal namespaceURI As String) As XmlAttribute


[2308] [JScript] public function RemoveAttributeNode(localName : String, namespaceURI : String) : XmlAttribute;


[2309] Description


[2310] Removes the System.Xml.XmlAttribute specified by the local name and namespace URI.


[2311] Return Value: The removed XmlAttribute or null if the XmlElement does not have a matching attribute node. The local name of the attribute. The namespace URI of the attribute.


[2312] SetAttribute


[2313] [C#] public virtual void SetAttribute(string name, string value);


[2314] [C++] public: virtual void SetAttribute(String* name, String* value);


[2315] [VB] Overridable Public Sub SetAttribute(ByVal name As String, ByVal value As String)


[2316] [JScript] public function SetAttribute(name : String, value : String); Sets the value of the specified attribute.


[2317] Description


[2318] Sets the value of the attribute with the specified name.


[2319] If an attribute with the same name is already present in the element, its value is changed to that of value. The name of the attribute to create or alter. This is a qualified name. If the name contains a colon it is parsed into prefix and local name components. The value to set for the attribute.


[2320] SetAttribute


[2321] [C#] public virtual string SetAttribute(string localName, string namespaceURI, string value);


[2322] [C++] public: virtual String* SetAttribute(String* localName, String* namespaceURI, String* value);


[2323] [VB] Overridable Public Function SetAttribute(ByVal localName As String, ByVal namespaceURI As String, ByVal value As String) As String


[2324] [JScript] public function SetAttribute(localName : String, namespaceURI : String, value : String) : String;


[2325] Description


[2326] Sets the value of the attribute with the specified local name and namespace URI. The local name of the attribute. The namespace URI of the attribute. The value to set for the attribute.


[2327] SetAttributeNode


[2328] [C#] public virtual XmlAttribute SetAttributeNode(XmlAttribute newAttr);


[2329] [C++] public: virtual XmlAttribute* SetAttributeNode(XmlAttribute* newAttr);


[2330] [VB] Overridable Public Function SetAttributeNode(ByVal newAttr As XmlAttribute) As XmlAttribute


[2331] [JScript] public function SetAttributeNode(newAttr : XmlAttribute) : XmlAttribute; Adds a new System.Xml.XmlAttribute.


[2332] Description


[2333] Adds the specified System.Xml.XmlAttribute.


[2334] Return Value: If the attribute replaces an existing attribute with the same name, the old XmlAttribute is returned; otherwise, null is returned.


[2335] If an attribute with that name is already present in the element, it is replaced by the new one. The XmlAttribute node to add to the attribute collection for this element.


[2336] SetAttributeNode


[2337] [C#] public virtual XmlAttribute SetAttributeNode(string localName, string namespaceURI);


[2338] [C++] public: virtual XmlAttribute* SetAttributeNode(String* localName, String* namespaceURI);


[2339] [VB] Overridable Public Function SetAttributeNode(ByVal localName As String, ByVal namespaceURI As String) As XmlAttribute


[2340] [JScript] public function SetAttributeNode(localName : String, namespaceURI : String) : XmlAttribute;


[2341] Description


[2342] Adds the specified System.Xml.XmlAttribute.


[2343] Return Value: The XmlAttribute to add.


[2344] The XmlAttribute does not have any children. Use System.Xml.XmlAttribute.Value to assign a text value to the attribute or use System.Xml.XmlNode.AppendChild(System.Xml.XmlNode) (or a similar method) to add children to the attribute. The local name of the attribute. The namespace URI of the attribute.


[2345] WriteContentTo


[2346] [C#] public override void WriteContentTo(XmlWriter w);


[2347] [C++] public: void WriteContentTo(XmlWriter* w);


[2348] [VB] Overrides Public Sub WriteContentTo(ByVal w As XmlWriter)


[2349] [JScript] public override function WriteContentTo(w : XmlWriter);


[2350] Description


[2351] Saves all the children of the node to the specified System.Xml.XmlWriter. The XmlWriter to which you want to save.


[2352] WriteTo


[2353] [C#] public override void WriteTo(XmlWriter w);


[2354] [C++] public: void WriteTo(XmlWriter* w);


[2355] [VB] Overrides Public Sub WriteTo(ByVal w As XmlWriter)


[2356] [JScript] public override function WriteTo(w : XmlWriter);


[2357] Description


[2358] Saves the current node to the specified System.Xml.XmlWriter. The XmlWriter to which you want to save.


[2359] XmlEntity class (System.Xml)


[2360] WriteTo


[2361] Description


[2362] Represents an entity declaration:.


[2363] Attributes


[2364] BaseURI


[2365] WriteTo


[2366] Description


[2367] Gets the base URI of the current node.


[2368] A networked XML document is comprised of chunks of data aggregated using various W3C standard inclusion mechanisms and therefore contains nodes that come from different places. The BaseURI tells you where these nodes came from.


[2369] ChildNodes


[2370] FirstChild


[2371] HasChildNodes


[2372] InnerText


[2373] WriteTo


[2374] Description


[2375] Gets the concatenated values of the entity node and all its children.


[2376] XmlEntity nodes are read-only. Setting this property throws an exception.


[2377] InnerXml


[2378] WriteTo


[2379] [C#] public override string InnerXml {get; set;}


[2380] [C++] public: _property virtual String* get_InnerXml( );public: _property virtual void set_InnerXml(String*);


[2381] [VB] Overrides Public Property InnerXml As String


[2382] [JScript] public function get InnerXml( ) : String;public function set InnerXml(String);


[2383] Description


[2384] Gets the markup representing the children of this node.


[2385] XmlEntity nodes are read-only. Setting this property throws an exception.


[2386] IsReadOnly


[2387] WriteTo


[2388] [C#] public override bool IsReadOnly {get;}


[2389] [C++] public: _property virtual bool get_IsReadOnly( );


[2390] [VB] Overrides Public ReadOnly Property IsReadOnly As Boolean


[2391] [JScript] public function get IsReadOnly( ) : Boolean;


[2392] Description


[2393] Gets a value indicating whether the node is read-only.


[2394] A read-only node is one whose properties, attributes, or children cannot be changed. You can remove a read-only node from the tree and insert it somewhere else.


[2395] Item


[2396] Item


[2397] LastChild


[2398] LocalName


[2399] WriteTo


[2400] Description


[2401] Gets the name of the node without the namespace prefix.


[2402] Name


[2403] WriteTo


[2404] [C#] public override string Name {get;}


[2405] [C++] public: _property virtual String* get_Name( );


[2406] [VB] Overrides Public ReadOnly Property Name As String


[2407] [JScript] public function get Name( ) : String;


[2408] Description


[2409] Gets the name of the node.


[2410] NamespaceURI


[2411] NextSibling


[2412] NodeType


[2413] WriteTo


[2414] Description


[2415] Gets the type of the node.


[2416] NotationName


[2417] WriteTo


[2418] [C#] public string NotationName {get;}


[2419] [C++] public: _property String* get_NotationName( );


[2420] [VB] Public ReadOnly Property NotationName As String


[2421] [JScript] public function get NotationName( ) : String;


[2422] Description


[2423] Gets the name of the optional NDATA attribute on the entity declaration.


[2424] OuterXml


[2425] WriteTo


[2426] [C#] public override string OuterXml {get;}


[2427] [C++] public: _property virtual String* get_OuterXml( );


[2428] [VB] Overrides Public ReadOnly Property OuterXml As String


[2429] [JScript] public function get OuterXml( ) : String;


[2430] Description


[2431] Gets the markup representing this node and all its children.


[2432] OwnerDocument


[2433] ParentNode


[2434] Prefix


[2435] PreviousSibling


[2436] PublicId


[2437] WriteTo


[2438] Description


[2439] Gets the value of the public identifier on the entity declaration.


[2440] SystemId


[2441] WriteTo


[2442] [C#] public string SystemId {get;}


[2443] [C++] public: _property String* get_SystemId( );


[2444] [VB] Public ReadOnly Property SystemId As String


[2445] [JScript] public function get SystemId( ) : String;


[2446] Description


[2447] Gets the value of the system identifier on the entity declaration.


[2448] Value


[2449] CloneNode


[2450] [C#] public override XmlNode CloneNode(bool deep);


[2451] [C++] public: XmlNode* CloneNode(bool deep);


[2452] [VB] Overrides Public Function CloneNode(ByVal deep As Boolean) As XmlNode


[2453] [JScript] public override function CloneNode(deep : Boolean) : XmlNode;


[2454] Description


[2455] Creates a duplicate of this node. Entity nodes cannot be cloned. Calling this method on an XmlEntity object throws an exception. true to recursively clone the subtree under the specified node; false to clone only the node itself


[2456] WriteContentTo


[2457] [C#]public*overridevoidWriteContentTo(XmlWriterw);


[2458] [C++] public: void Write ContentTo(XmlWriter* w);


[2459] [VB] Overrides Public Sub WriteContentTo(ByVal w As XmlWriter)


[2460] [JScript] public override function WriteContentTo(w : XmlWriter);


[2461] Description


[2462] Saves all the children of the node to the specified System.Xml.XmlWriter. The XmlWriter to which you want to save.


[2463] WriteTo


[2464] [C#] public override void WriteTo(XmlWriter w);


[2465] [C++] public: void WriteTo(XmlWriter* w);


[2466] [VB] Overrides Public Sub WriteTo(ByVal w As XmlWriter)


[2467] [JScript] public override function WriteTo(w : XmlWriter);


[2468] Description


[2469] Saves the node to the specified System.Xml.XmlWriter. The XmlWriter to which you want to save.


[2470] XmlEntityReference class (System.Xml)


[2471] WriteTo


[2472] Description


[2473] Represents an entity reference node.


[2474] XmlEntityReference


[2475] Example Syntax:


[2476] WriteTo


[2477] [C#] protected internal XmlEntityReference(string name, XmlDocument doc);


[2478] [C++] internal: XmlEntityReference(String* name, XmlDocument* doc);


[2479] [VB] Protected Friend Sub New(ByVal name As String, ByVal doc As XmlDocument)


[2480] [JScript] package function XmlEntityReference(name : String, doc : XmlDocument);


[2481] Description


[2482] Attributes


[2483] BaseURI


[2484] WriteTo


[2485] Description


[2486] Gets the base URI of the current node.


[2487] A networked XML document is comprised of chunks of data aggregated using various W3C standard inclusion mechanisms and therefore contains nodes that come from different places. The BaseURI tells you where these nodes came from. If there is no base URI for the nodes being returned (maybe they were parsed from an in-memory string), String.Empty is returned.


[2488] ChildNodes


[2489] FirstChild


[2490] HasChildNodes


[2491] InnerText


[2492] InnerXml


[2493] IsReadOnly


[2494] WriteTo


[2495] Description


[2496] Gets a value indicating whether the node is read-only.


[2497] A read-only node is one whose properties, attributes, or children cannot be changed. However, you can remove a read-only node from the tree and insert it somewhere else.


[2498] Item


[2499] Item


[2500] LastChild


[2501] LocalName


[2502] WriteTo


[2503] Description


[2504] Gets the local name of the node.


[2505] Name


[2506] WriteTo


[2507] [C#] public override string Name {get;}


[2508] [C++] public: _property virtual String* get_Name( );


[2509] [VB] Overrides Public ReadOnly Property Name As String


[2510] [JScript] public function get Name( ) : String;


[2511] Description


[2512] Gets the name of the node.


[2513] NamespaceURI


[2514] NextSibling


[2515] NodeType


[2516] WriteTo


[2517] Description


[2518] Gets the type of the node.


[2519] OuterXml


[2520] OwnerDocument


[2521] ParentNode


[2522] Prefix


[2523] PreviousSibling


[2524] Value


[2525] WriteTo


[2526] Description


[2527] Gets or sets the value of the node.


[2528] CloneNode


[2529] [C#] public override XmlNode CloneNode(bool deep);


[2530] [C++] public: XmlNode* CloneNode(bool deep);


[2531] [VB] Overrides Public Function CloneNode(ByVal deep As Boolean) As XmlNode


[2532] [JScript] public override function CloneNode(deep : Boolean) : XmlNode;


[2533] Description


[2534] Creates a duplicate of this node.


[2535] Return Value: The cloned node.


[2536] This method serves as a copy constructor for nodes. The cloned node has no parent (System.Xml.XmlNode.ParentNode returns null). true to recursively clone the subtree under the specified node; false to clone only the node itself. For XmlEntityReference nodes, this method always returns an entity reference node with no children. The replacement text is set when the node is inserted into a parent.


[2537] WriteContentTo


[2538] [C#] public override void WriteContentTo(XmlWriter w);


[2539] [C++] public: void WriteContentTo(XmlWriter* w);


[2540] [VB] Overrides Public Sub WriteContentTo(ByVal w As XmlWriter)


[2541] [JScript] public override function WriteContentTo(w : XmlWriter);


[2542] Description


[2543] Saves all the children of the node to the specified XmlWriter. The XmlWriter where you want to save the current node.


[2544] WriteTo


[2545] [C#] public override void WriteTo(XmlWriter w);


[2546] [C++] public: void WriteTo(XmlWriter* w);


[2547] [VB] Overrides Public Sub WriteTo(ByVal w As XmlWriter)


[2548] [JScript] public override function WriteTo(w : XmlWriter);


[2549] Description


[2550] Saves the node to the specified XmlWriter. The XmlWriter where you want to save the node.


[2551] XmlException class (System.Xml)


[2552] WriteTo


[2553] Description


[2554] Returns detailed information about the last exception.


[2555] XmlException


[2556] Example Syntax:


[2557] WriteTo


[2558] [C#] public XmlException(SerializationInfo info, StreamingContext context);


[2559] [C++] public: XmlException(SerializationInfo* info, StreamingContext context);


[2560] [VB] Public Sub New(ByVal info As SerializationInfo, ByVal context As StreamingContext)


[2561] [JScript] public function XmlException(info : SerializationInfo, context : StreamingContext); Initializes a new instance of the XmlException class.


[2562] Description


[2563] Initializes a new instance of the XmlException class using the information in the System.Runtime.Serialization.SerializationInfo and System.Runtime.Serialization.StreamingContext objects. The SerializationInfo object containing all the properties of an XmlException. The StreamingContext object containing the context information.


[2564] XmlException


[2565] Example Syntax:


[2566] WriteTo


[2567] [C#] public XmlException(string message, Exception innerException);


[2568] [C++] public: XmlException(String* message, Exception* innerException);


[2569] [VB] Public Sub New(ByVal message As String, ByVal innerException As Exception)


[2570] [JScript] public function XmlException(message : String, innerException : Exception);


[2571] Description


[2572] Initializes a new instance of the XmlException class. The description of the error condition. The System.Exception that threw the XmlException, if any. This value can be null.


[2573] HelpLink


[2574] HResult


[2575] InnerException


[2576] LineNumber


[2577] WriteTo


[2578] Description


[2579] Gets the line number indicating where the error occurred.


[2580] LinePosition


[2581] WriteTo


[2582] [C#] public int LinePosition {get;}


[2583] [C++] public: _property int get_LinePosition( );


[2584] [VB] Public ReadOnly Property LinePosition As Integer


[2585] [JScript] public function get LinePosition( ) : int;


[2586] Description


[2587] Gets the line position indicating where the error occurred.


[2588] Message


[2589] WriteTo


[2590] [C#] public override string Message {get;}


[2591] [C++] public: _property virtual String* get_Message( );


[2592] [VB] Overrides Public ReadOnly Property Message As String


[2593] [JScript] public function get Message( ) : String;


[2594] Description


[2595] Gets the error message describing the exception.


[2596] Source


[2597] StackTrace


[2598] TargetSite


[2599] GetObjectData


[2600] [C#] public override void GetObjectData(SerializationInfo info, StreamingContext context);


[2601] [C++] public: void GetObjectData(SerializationInfo* info, StreamingContext context);


[2602] [VB] Overrides Public Sub GetObjectData(ByVal info As SerializationInfo, ByVal context As StreamingContext)


[2603] [JScript] public override function GetObjectData(info : SerializationInfo, context : StreamingContext);


[2604] Description


[2605] Streams all the XmlException properties into the System.Runtime.Serialization.SerializationInfo class for the given System.Runtime.Serialization.StreamingContext. The SerializationInfo object. The StreamingContext object.


[2606] XmlImplementation class (System.Xml)


[2607] ToString


[2608] Description


[2609] Defines the context for a set of System.Xml.XmlDocument objects.


[2610] XmlDocument objects that are created from the same implementation share the same System.Xml.XmlNameTable. This enables users to compare attribute and element names between the objects more efficiently.


[2611] XmlImplementation


[2612] Example Syntax:


[2613] ToString


[2614] [C#] public XmlImplementation( );


[2615] [C++] public: XmlImplementation( );


[2616] [VB] Public Sub New( )


[2617] [JScript] public function XmlImplementation( );


[2618] Description


[2619] Initializes a new instance of the XmlImplementation class.


[2620] CreateDocument


[2621] [C#] public virtual XmlDocument CreateDocument( );


[2622] [C++] public: virtual XmlDocument* CreateDocument( );


[2623] [VB] Overridable Public Function CreateDocument( ) As XmlDocument


[2624] [JScript] public function CreateDocument( ) : XmlDocument;


[2625] Description


[2626] Creates a new System.Xml.XmlDocument.


[2627] Return Value: The new XmlDocument object.


[2628] XmlDocument objects created from the same implementation share the same name table. This enables users to compare attribute and element names between the objects more efficiently.


[2629] HasFeature


[2630] [C#] public bool HasFeature(string strFeature, string strVersion);


[2631] [C++] public: bool HasFeature(String* strFeature, String* strVersion);


[2632] [VB] Public Function HasFeature(ByVal strFeature As String, ByVal strVersion As String) As Boolean


[2633] [JScript] public function HasFeature(strFeature : String, strVersion : String) : Boolean;


[2634] Description


[2635] Tests if the DOM implementation implements a specific feature.


[2636] Return Value: true if the feature is implemented in the specified version; otherwise, false. The package name of the feature to test. This name is not case-sensitive. This is the version number of the package name to test. If the version is not specified (null), supporting any version of the feature causes the method to return true.


[2637] XmlLinkedNode class (System.Xml)


[2638] ToString


[2639] Description


[2640] Gets the node immediately preceding or following this node.


[2641] Attributes


[2642] BaseURI


[2643] ChildNodes


[2644] FirstChild


[2645] HasChildNodes


[2646] InnerText


[2647] InnerXml


[2648] IsReadOnly


[2649] Item


[2650] Item


[2651] LastChild


[2652] LocalName


[2653] Name


[2654] NamespaceURI


[2655] NextSibling


[2656] ToString


[2657] Description


[2658] Gets the node immediately following this node.


[2659] NodeType


[2660] OuterXml


[2661] OwnerDocument


[2662] ParentNode


[2663] Prefix


[2664] PreviousSibling


[2665] ToString


[2666] Description


[2667] Gets the node immediately preceding this node.


[2668] Value


[2669] XmlNamedNodeMap class (System.Xml)


[2670] WriteTo


[2671] Description


[2672] Represents a collection of nodes that can be accessed by name or index.


[2673] Count


[2674] WriteTo


[2675] [C#] public virtual int Count {get;}


[2676] [C++] public: _property virtual int get_Count( );


[2677] [VB] Overridable Public ReadOnly Property Count As Integer


[2678] [JScript] public function get Count( ) : int;


[2679] Description


[2680] Gets the number of nodes in the XmlNamedNodeMap.


[2681] GetEnumerator


[2682] [C#] public virtual IEnumerator GetEnumerator( );


[2683] [C++] public: virtual Ienumerator* GetEnumerator( );


[2684] [VB] Overridable Public Function GetEnumerator( ) As IEnumerator


[2685] [J Script] public function GetEnumerator( ) : IEnumerator;


[2686] Description


[2687] Provides support for the “foreach” style iteration over the collection of nodes in the XmlNamedNodeMap.


[2688] Return Value: An System.Collections.IEnumerator.


[2689] GetNamedItem


[2690] [C#] public virtual XmlNode GetNamedItem(string name);


[2691] [C++] public: virtual XmlNode* GetNamedItem(String* name);


[2692] [VB] Overridable Public Function GetNamedItem(ByVal name As String) As XmlNode


[2693] [JScript] public function GetNamedItem(name : String) : XmlNode; Retrieves the specified System.Xml.XmlNode from the collection of nodes in the System.Xml.XmlNamedNodeMap.


[2694] Description


[2695] Retrieves an System.Xml.XmlNode specified by name.


[2696] Return Value: An XmlNode with the specified name or null if a matching node is not found. The qualified name of the node to retrieve. It is matched against the System.Xml.XmlNode.Name property of the matching node.


[2697] GetNamedItem


[2698] [C#] public virtual XmlNode GetNamedItem(string localName, string namespaceURI);


[2699] [C++] public: virtual XmlNode* GetNamedItem(String* localName, String* namespaceURI);


[2700] [VB] Overridable Public Function GetNamedItem(ByVal localName As String, ByVal namespaceURI As String) As XmlNode


[2701] [JScript] public function GetNamedItem(localName : String, namespaceURI : String) : XmlNode;


[2702] Description


[2703] Retrieves a node with the matching System.Xml.XmlNode.LocalName and System.Xml.XmlNode.NamespaceURI.


[2704] Return Value: An System.Xml.XmlNode with the matching local name and namespace URI or null if a matching node was not found. The local name of the node to retrieve. The namespace URI of the node to retrieve.


[2705] Item


[2706] [C#] public virtual XmlNode Item(int index);


[2707] [C++] public: virtual XmlNode* Item(int index);


[2708] [VB] Overridable Public Function Item(ByVal index As Integer) As XmlNode


[2709] [JScript] public function Item(index : int) : XmlNode;


[2710] Description


[2711] Retrieves the node at the specified index in the XmlNamedNodeMap.


[2712] Return Value: The System.Xml.XmlNode at the specified index. If index is greater than or equal to the System.Xml.XmlNamedNodeMap.Count property, null is returned. The index position of the node to retrieve from the XmlNamedNodeMap. The index is zero-based; therefore, the first node's index is 0 and the last node's index is System.Xml.XmlNamedNodeMap.Count −1.


[2713] RemoveNamedItem


[2714] [C#] public virtual XmlNode RemoveNamedItem(string name);


[2715] [C++] public: virtual XmlNode* RemoveNamedItem(String* name);


[2716] [VB] Overridable Public Function RemoveNamedItem(ByVal name As String) As XmlNode


[2717] [JScript] public function RemoveNamedItem(name : String) : XmlNode; Removes the specified node from the XmlNamedNodeMap.


[2718] Description


[2719] Removes the node from the XmlNamedNodeMap.


[2720] Return Value: The XmlNode removed from this XmlNamedNodeMap or null if a matching node was not found.


[2721] If the removed node is an System.Xml.XmlAttribute that contains a default value, it is immediately replaced in the XmlNamedNodeMap. The qualified name of the node to remove. The name is matched against the System.Xml.XmlNode.Name property of the matching node.


[2722] RemoveNamedItem


[2723] [C#] public virtual XmlNode RemoveNamedItem(string localName, string namespaceURI);


[2724] [C++] public: virtual XmlNode* RemoveNamedItem(String* localName, String* namespaceURI);


[2725] [VB] Overridable Public Function RemoveNamedItem(ByVal localName As String, ByVal namespaceURI As String) As XmlNode


[2726] [JScript] public function RemoveNamedItem(locaIName : String, namespaceURI : String) : XmlNode;


[2727] Description


[2728] Removes a node with the matching System.Xml.XmlNode.LocalName and System.Xml.XmlNode.NamespaceURI.


[2729] Return Value: The System.Xml.XmlNode removed or null if a matching node was not found.


[2730] If the removed node is an System.Xml.XmlAttribute that contains a default value, it is immediately replaced in this XmlNamedNodeMap. The local name of the node to remove. The namespace URI of the node to remove.


[2731] SetNamedItem


[2732] [C#] public virtual XmlNode SetNamedItem(XmlNode node);


[2733] [C++] public: virtual XmlNode* SetNamedItem(XmlNode* node);


[2734] [VB] Overridable Public Function SetNamedItem(ByVal node As XmlNode) As XmlNode


[2735] [JScript] public function SetNamedItem(node : XmlNode) : XmlNode;


[2736] Description


[2737] Adds an System.Xml.XmlNode using its System.Xml.XmlNode.Name property


[2738] Return Value: If the node replaces an existing node with the same name, the old node is returned; otherwise, null is returned. An XmlNode to store in the XmlNamedNodeMap. If a node with that name is already present in the map, it is replaced by the new one.


[2739] XmlNamespaceManager class (System.Xml)


[2740] ToString


[2741] Description


[2742] Resolves, adds and removes namespaces to a collection and provide scope management for these namespaces. This class is used by the System.Xml.Xsl.XsltContext and System.Xml.XmlReader classes.


[2743] XmlNamespaceManager stores prefixes and namespaces as strings.


[2744] XmlName spaceManager


[2745] Example Syntax:


[2746] ToString


[2747] [C#] public XmlNamespaceManager(XmlNameTable nameTable);


[2748] [C++] public: XmlNamespaceManager(XmlNameTable* nameTable);


[2749] [VB] Public Sub New(ByVal nameTable As XmlNameTable)


[2750] [JScript] public function XmlNamespaceManager(nameTable : XmlNameTable);


[2751] Description


[2752] Initializes a new instance of the XmlNamespaceManager class with the specified System.Xml.XmlNameTable.


[2753] The name table is used to look up prefixes and namespaces. An existing name table with pre-atomized strings can be specified in the constructor. There are several advantages in doing so. If a XmlReader's name table is used, after each read any namespace and prefix strings pushed into the name table can be re-used by XmlNamespaceManager. Also, because XmlNamespaceManager is used internally by the XmlReader, it can take advantage of the reader's ability to atomize strings. The XmlNameTable to use.


[2754] DefaultNamespace


[2755] ToString


[2756] [C#] public virtual string DefaultNamespace {get;}


[2757] [C++] public: _property virtual String* get_DefaultNamespace( );


[2758] [VB] Overridable Public ReadOnly Property DefaultNamespace As String


[2759] [JScript] public function get DefaultNamespace( ) : String;


[2760] Description


[2761] Gets the namespace URI for the default namespace.


[2762] This method is equivalent to calling LookupNamespace(String.Empty).


[2763] NameTable


[2764] ToString


[2765] [C#] public XmlNameTable NameTable {get;}


[2766] [C++] public: _property XmlNameTable* get_NameTable( );


[2767] [VB] Public ReadOnly Property NameTable As XmlNameTable


[2768] [JScript] public function get NameTable( ) : XmlNameTable;


[2769] Description


[2770] Gets the System.Xml.XmlNameTable associated with this object.


[2771] The name table is used to look up prefixes and namespace URIs.


[2772] AddNamespace


[2773] [C#] public virtual void AddNamespace(string prefix, string uri);


[2774] [C++] public: virtual void AddNamespace(String* prefix, String* uri);


[2775] [VB] Overridable Public Sub AddNamespace(ByVal prefix As String, ByVal uri As String)


[2776] [JScript] public function AddNamespace(prefix : String, uri : String);


[2777] Description


[2778] Adds the given namespace to the collection.


[2779] XmlNamespaceManager does not check prefix and uri for conformance. The prefix to associate with the namespace being added. Use String.Empty to add a default namespace. The namespace to add.


[2780] GetEnumerator


[2781] [C#] public virtual IEnumerator GetEnumerator( );


[2782] [C++] public: virtual IEnumerator* GetEnumerator( );


[2783] [VB] Overridable Public Function GetEnumerator( ) As IEnumerator


[2784] [JScript] public function GetEnumerator( ) : IEnumerator;


[2785] Description


[2786] Provides support for the “foreach” style iteration over the collection of namespaces in the XmlNamespaceManager.


[2787] Return Value: An System.Collections.IEnumerator.


[2788] HasNamespace


[2789] [C#] public virtual bool HasNamespace(string prefix);


[2790] [C++] public: virtual bool HasNamespace(String* prefix);


[2791] [VB] Overridable Public Function HasNamespace(ByVal prefix As String) As Boolean


[2792] [JScript] public function HasNamespace(prefix : String) : Boolean;


[2793] Description


[2794] Gets a value indicating whether the supplied prefix has a namespace defined for the current pushed scope.


[2795] Return Value: true if there is a namespace defined; otherwise, false.


[2796] To determine whether there is a default empty namespace defined, set prefix to String.Empty (or null). If the method returns true, this indicates that xmlns=“”. Returning false indicates that no default namespace is defined. Note that xmlns:x=“” is illegal (the default namespace cannot be prefixed). The prefix of the namespace you want to find.


[2797] LookupNamespace


[2798] [C#] public virtual string LookupNamespace(string prefix);


[2799] [C++] public: virtual String* LookupNamespace(String* prefix);


[2800] [VB] Overridable Public Function LookupNamespace(ByVal prefix As String) As String


[2801] [JScript] public function LookupNamespace(prefix : String) : String;


[2802] Description


[2803] Gets the namespace URI for the specified prefix.


[2804] Return Value: Returns the namespace URI for prefix or null if there is no mapped namespace. The returned string is atomized. The prefix whose namespace URI you want to resolve. To match the default namespace, pass String.Empty.


[2805] LookupPrefix


[2806] [C#] public virtual string LookupPrefix(string uri);


[2807] [C++] public: virtual String* LookupPrefix(String* uri);


[2808] [VB] Overridable Public Function LookupPrefix(ByVal uri As String) As String


[2809] [JScript] public function LookupPrefix(uri : String) : String;


[2810] Description


[2811] Finds the prefix declared for the given namespace URI.


[2812] Return Value: The matching prefix. If there is no mapped prefix, the method returns String.Empty. If a null value is supplied then null is returned.


[2813] This method finds the mapped prefix by walking the stack (i.e. it looks globally). The supplied string must be atomized for the lookup to succeed. In other words the supplied string object must exist in the XmlNamespaceManager's System.Xml.XmlNamespaceManager.NameTable. The namespace to resolve for the prefix.


[2814] PopScope


[2815] [C#] public virtual bool PopScope( );


[2816] [C++] public: virtual bool PopScope( );


[2817] [VB] Overridable Public Function PopScope( ) As Boolean


[2818] [JScript] public function PopScope( ) : Boolean;


[2819] Description


[2820] Pops a namespace scope off the stack.


[2821] Return Value: true if there are namespace scopes left on the stack; false if there are no more namespaces to pop.


[2822] When you call this method, all of the namespaces which were added to XmlNamespaceManager (by calling System.Xml.XmlNamespaceManager.AddNamespace(System.String,System. String)) since the last call to PopScope, are removed.


[2823] PushScope


[2824] [C#] public virtual void PushScope( );


[2825] [C++] public: virtual void PushScope( );


[2826] [VB] Overridable Public Sub PushScope( )


[2827] [JScript] public function PushScope( );


[2828] Description


[2829] Pushes a namespace scope onto the stack.


[2830] After a call to this method all of the namespaces, which are added to XmlNamespaceManager (by calling System.Xml.XmlNamespaceManager.AddNamespace(System.String,System. String) ), belong to the pushed namespace scope.


[2831] RemoveNamespace


[2832] [C#] public virtual void RemoveNamespace(string prefix, string uri);


[2833] [C++] public: virtual void RemoveNamespace(String* prefix, String* uri);


[2834] [VB] Overridable Public Sub RemoveNamespace(ByVal prefix As String, ByVal uri As String)


[2835] [JScript] public function RemoveNamespace(prefix : String, uri : String);


[2836] Description


[2837] Removes the given namespace for the given prefix. The prefix for the namespace The namespace to remove for the given prefix. The namespace removed is from the current namespace scope. Namespaces outside the current scope are ignored. Exceptions are never thrown.


[2838] XmlNameTable class (System.Xml)


[2839] ToString


[2840] Description


[2841] Table of atomized string objects.


[2842] Several classes, such as System.Xml.XmlDocument and System.Xml.XmlReader use the XmlNameTable class internally, to store attribute and element names. When an element or attribute name occurs multiple times in an XML document it is stored only once in the XmlNameTable. This enables you to do object comparisons on these strings rather than a more expensive string comparison.


[2843] XmlNameTable


[2844] Example Syntax:


[2845] ToString


[2846] [C#] protected XmlNameTable( );


[2847] [C++] protected: XmlNameTable( );


[2848] [VB] Protected Sub New( )


[2849] [JScript] protected function XmlNameTable( );


[2850] Add


[2851] [C#] public abstract string Add(string array);


[2852] [C++] public: virtual String* Add(String* array)=0;


[2853] [VB] MustOverride Public Function Add(ByVal array As String) As String


[2854] [JScript] public abstract function Add(array : String) : String;


[2855] Description


[2856] When overridden in a derived class, atomizes the specified string and adds it to the XmlNameTable.


[2857] Return Value: The atomized string or the existing atom if one already exists. The name to add.


[2858] Add


[2859] [C#] public abstract string Add(char[ ] array, int offset, int length);


[2860] [C++] public: virtual String* Add(_wchar_t array _gc[ ], int offset, int length)=0;


[2861] [VB] MustOverride Public Function Add(ByVal array( ) As Char, ByVal offset As Integer, ByVal length As Integer) As String


[2862] [JScript] public abstract function Add(array : Char[ ], offset : int, length : int) : String; When overridden in a derived class, atomizes the specified string and adds it to the XmlNameTable.


[2863] Description


[2864] When overridden in a derived class, atomizes the specified string and adds it to the XmlNameTable


[2865] Return Value: The atomized string or the existing atom if one already exists. If length is zero, String.Empty is returned. The character array containing the name to add. Zero based index into the array specifying the first character of the name. The number of characters in the name.


[2866] Get


[2867] [C#] public abstract string Get(string array);


[2868] [C++] public: virtual String* Get(String* array)=0;


[2869] [VB] MustOverride Public Function Get(ByVal array As String) As String


[2870] [JScript] public abstract function Get(array : String) : String;


[2871] Description


[2872] When overridden in a derived class, gets the atomized String object containing the same value as the specified string.


[2873] Return Value: The atomized string or null if the string has not already been atomized. The name to look up.


[2874] Get


[2875] [C#] public abstract string Get(char[ ] array, int offset, int length);


[2876] [C++] public: virtual String* Get(_wchar_t array _gc[ ], int offset, int length)=0;


[2877] [VB] MustOverride Public Function Get(ByVal array( ) As Char, ByVal offset As Integer, ByVal length As Integer) As String


[2878] [JScript] public abstract function Get(array : Char[ ], offset : int, length : int) : String; When overridden in a derived class, gets the atomized String object.


[2879] Description


[2880] When overridden in a derived class, gets the atomized String object containing the same characters as the specified range of characters in the given array.


[2881] Return Value: The atomized string or null if the string has not already been atomized. If length is zero, String.Empty is returned. The character array containing the name to look up. The zero-based index into the array specifying the first character of the name. The number of characters in the name.


[2882] XmlNode class (System.Xml)


[2883] ToString


[2884] Description


[2885] Represents a single node in the XML document.


[2886] Attributes


[2887] ToString


[2888] [C#] public virtual XmlAttributeCollection Attributes {get;}


[2889] [C++] public: _property virtual XmlAttributeCollection* get_Attributes( );


[2890] [VB] Overridable Public ReadOnly Property Attributes As XmlAttributeCollection


[2891] [JScript] public function get Attributes( ) : XmlAttributeCollection;


[2892] Description


[2893] Gets an System.Xml.XmlAttributeCollection containing the attributes of this node.


[2894] BaseURI


[2895] ToString


[2896] [C#] public virtual string BaseURI {get;}


[2897] [C++] public: _property virtual String* get_BaseURI( );


[2898] [VB] Overridable Public ReadOnly Property BaseURI As String


[2899] [JScript] public function get BaseURI( ) : String;


[2900] Description


[2901] Gets the base URI of the current node.


[2902] A networked XML document is comprised of chunks of data aggregated using various W3C standard inclusion mechanisms and therefore contains nodes that come from different places. The BaseURI tells you where these nodes came from.


[2903] ChildNodes


[2904] ToString


[2905] [C#] public virtual XmlNodeList ChildNodes {get;}


[2906] [C++] public: _property virtual XmlNodeList* get_ChildNodes( );


[2907] [VB] Overridable Public ReadOnly Property ChildNodes As XmlNodeList


[2908] [JScript] public function get ChildNodes( ) : XmlNodeList;


[2909] Description


[2910] Gets all the children of the node.


[2911] FirstChild


[2912] ToString


[2913] [C#] public virtual XmlNode FirstChild {get;}


[2914] [C++] public: _property virtual XmlNode* get_FirstChild( );


[2915] [VB] Overridable Public ReadOnly Property FirstChild As XmlNode


[2916] [JScript] public function get FirstChild( ) : XmlNode;


[2917] Description


[2918] Gets the first child of the node.


[2919] HasChildNodes


[2920] ToString


[2921] [C#] public virtual bool HasChildNodes {get;}


[2922] [C++] public: _property virtual bool get_HasChildNodes( );


[2923] [VB] Overridable Public ReadOnly Property HasChildNodes As Boolean


[2924] [JScript] public function get HasChildNodes( ) : Boolean;


[2925] Description


[2926] Gets a value indicating whether this node has any child nodes.


[2927] InnerText


[2928] ToString


[2929] [C#] public virtual string InnerText {get; set;}


[2930] [C++] public: _property virtual String* get_InnerText( );public: _property virtual void set_InnerText(String*);


[2931] [VB] Overridable Public Property InnerText As String


[2932] [JScript] public function get InnerText( ) : String;public function set InnerText(String);


[2933] Description


[2934] Gets or sets the concatenated values of the node and all its children.


[2935] Setting this property replaces all the children with the parsed contents of the given string.


[2936] InnerXml


[2937] ToString


[2938] [C#] public virtual string InnerXml {get; set;}


[2939] [C++] public: _property virtual String* get_InnerXml( );public: _property virtual void set_InnerXml(String*);


[2940] [VB] Overridable Public Property InnerXml As String


[2941] [JScript] public function get InnerXml( ) : String;public function set InnerXml(String);


[2942] Description


[2943] Gets or sets the markup representing just the children of this node.


[2944] This is also settable which replaces the children of the node with the parsed contents of the given string. The parsing is done in the current namespace context.


[2945] IsReadOnly


[2946] ToString


[2947] [C#] public virtual bool IsReadOnly {get;}


[2948] [C++] public: _property virtual bool get_IsReadOnly( );


[2949] [VB] Overridable Public ReadOnly Property IsReadOnly As Boolean


[2950] [JScript] public function get IsReadOnly( ) : Boolean;


[2951] Description


[2952] Gets a value indicating whether the node is read-only.


[2953] A read-only node is one whose properties, attributes, or children cannot be changed. You can remove a read-only node from the tree and insert it somewhere else. For example, Entity nodes are always read-only.


[2954] Item


[2955] ToString


[2956] [C#] public virtual XmlElement this[string name] {get;}


[2957] [C++] public: _property virtual XmlElement* get_Item(String* name);


[2958] [VB] Overridable Public Default ReadOnly Property Item(ByVal name As String) As XmlElement


[2959] [JScript] returnValue=XmlNodeObject.Item(name); Gets the specified child element.


[2960] Description


[2961] Gets the first child element with the specified System.Xml.XmlNode.Name. The qualified name of the element to retrieve


[2962] Item


[2963] ToString


[2964] [C#] public virtual XmlElement this[string localname, string ns] {get;}


[2965] [C++] public: _property virtual XmlElement* get_Item(String* localname, String* ns);


[2966] [VB] Overridable Public Default ReadOnly Property Item(ByVal localname As String, ByVal ns As String) As XmlElement


[2967] [JScript] returnValue=XmlNodeObject.Item(localname, ns);


[2968] Description


[2969] Gets the first child element with the specified System.Xml.XmlNode.LocalName and System.Xml.XmlNode.NamespaceURI. The local name of the element. The namespace URI of the element.


[2970] LastChild


[2971] ToString


[2972] [C#] public virtual XmlNode LastChild {get;}


[2973] [C++] public: _property virtual XmlNode* get_LastChild( );


[2974] [VB] Overridable Public ReadOnly Property LastChild As XmlNode


[2975] [JScript] public function get LastChild( ) : XmlNode;


[2976] Description


[2977] Gets the last child of the node.


[2978] LocalName


[2979] ToString


[2980] [C#] public abstract string LocalName {get;}


[2981] [C++] public: _property virtual String* get_LocalName( )=0;


[2982] [VB] MustOverride Public ReadOnly Property LocalName As String


[2983] [JScript] public abstract function get LocalName( ) : String;


[2984] Description


[2985] When overridden in a derived class, gets the local name of the node.


[2986] If the node does not have a prefix, LocalName is the same as System.Xml.XmlNode.Name.


[2987] Name


[2988] ToString


[2989] [C#] public abstract string Name {get;}


[2990] [C++] public: _property virtual String* get_Name( )=0;


[2991] [VB] MustOverride Public ReadOnly Property Name As String


[2992] [JScript] public abstract function get Name( ) : String;


[2993] Description


[2994] When overridden in a derived class, gets the qualifed name of the node.


[2995] NamespaceURI


[2996] ToString


[2997] [C#] public virtual string NamespaceURI {get;}


[2998] [C++] public: _property virtual String* get_NamespaceURI( );


[2999] [VB] Overridable Public ReadOnly Property NamespaceURI As String


[3000] [JScript] public function get NamespaceURI( ) : String;


[3001] Description


[3002] Gets the namespace URI of this node.


[3003] This is the namespace URI specified at creation time. For example, NamespaceURI is urn:samples for the element An attribute does not inherit its namespace from the element it is attached to. If an attribute is not explicitly given a namespace, it simply has no namespace.


[3004] NextSibling


[3005] ToString


[3006] [C#] public virtual XmlNode NextSibling {get;}


[3007] [C++] public: _property virtual XmlNode* get_NextSibling( );


[3008] [VB] Overridable Public ReadOnly Property NextSibling As XmlNode


[3009] [JScript] public function get NextSibling( ) : XmlNode;


[3010] Description


[3011] Gets the node immediately following this node.


[3012] NodeType


[3013] ToString


[3014] [C#] public abstract XmlNodeType NodeType {get;}


[3015] [C++] public: _property virtual XmlNodeType get_NodeType( )=0;


[3016] [VB] MustOverride Public ReadOnly Property NodeType As XmlNodeType


[3017] [JScript] public abstract function get NodeType( ) : XmlNodeType;


[3018] Description


[3019] When overridden in a derived class, gets the type of the current node.


[3020] This property never returns the XmlNodeType EndElement, EndEntity or None.


[3021] OuterXml


[3022] ToString


[3023] [C#] public virtual string OuterXml {get;}


[3024] [C++] public: _property virtual String* get_OuterXml( );


[3025] [VB] Overridable Public ReadOnly Property OuterXml As String


[3026] [JScript] public function get OuterXml( ) : String;


[3027] Description


[3028] Gets the markup representing this node and all its children.


[3029] OwnerDocument


[3030] ToString


[3031] [C#] public virtual XmlDocument OwnerDocument {get;}


[3032] [C++] public: _property virtual XmlDocument* get_OwnerDocument( );


[3033] [VB] Overridable Public ReadOnly Property OwnerDocument As XmlDocument


[3034] [JScript] public function get OwnerDocument( ) : XmlDocument;


[3035] Description


[3036] Gets the System.Xml.XmlDocument to which this node belongs.


[3037] When adding nodes to the current node, use the System.Xml.XmlDocument returned by the System.Xml.XmlNode.OwnerDocument property to create the node.


[3038] ParentNode


[3039] ToString


[3040] [C#] public virtual XmlNode ParentNode {get;}


[3041] [C++] public: _property virtual XmlNode* get_ParentNode( );


[3042] [VB] Overridable Public ReadOnly Property ParentNode As XmlNode


[3043] [JScript] public function get ParentNode( ) : XmlNode;


[3044] Description


[3045] Gets the parent of this node (for nodes that can have parents).


[3046] All nodes except System.Xml.XmlDocument, System.Xml.XmlDocumentFragment, and System.Xml.XmlAttribute can have a parent. However, if a node has just been created and not yet added to the tree, or if it has been removed from the tree, the parent is null.


[3047] Prefix


[3048] ToString


[3049] [C#] public virtual string Prefix {get; set;}


[3050] [C++] public: _property virtual String* get_Prefix( );public: _property virtual void set_Prefix(String*);


[3051] [VB] Overridable Public Property Prefix As String


[3052] [JScript] public function get Prefix( ) : String;public function set Prefix(String);


[3053] Description


[3054] Gets or sets the namespace prefix of this node.


[3055] For example, Prefix is bk for the element Setting this property, when permitted, changes the name property, which holds the qualified name, as well as the TagName on XmlElement and the and Name properties on XmlAttribute. Setting this property on node types that cannot have a prefix (such as Text, Comment, EntityReference, CDATA, ProcessingInstruction, Document, and DocumentFragment) has no effect. Note also that changing the prefix of an attribute that is known to have a default value, does not make a new attribute with the default value and the original prefix appear, since the namespaceURI and localName do not change.


[3056] PreviousSibling


[3057] ToString


[3058] [C#] public virtual XmlNode PreviousSibling {get;}


[3059] [C++] public: _property virtual XmlNode* get_PreviousSibling( );


[3060] [VB] Overridable Public ReadOnly Property PreviousSibling As XmlNode


[3061] [JScript] public function get PreviousSibling( ) : XmlNode;


[3062] Description


[3063] Gets the node immediately preceding this node.


[3064] Value


[3065] ToString


[3066] [C#] public virtual string Value {get; set;}


[3067] [C++] public: _property virtual String* get_Value( );public: _property virtual void set_Value(String*);


[3068] [VB] Overridable Public Property Value As String


[3069] [JScript] public function get Value( ) : String;public function set Value(String);


[3070] Description


[3071] Gets or sets the value of the node.


[3072] AppendChild


[3073] [C+] public virtual XmlNode AppendChild(XmlNode newChild);


[3074] [C++] public: virtual XmlNode* AppendChild(XmlNode* newChild);


[3075] [VB] Overridable Public Function AppendChild(ByVal newChild As XmlNode) As XmlNode


[3076] [JScript] public function AppendChild(newChild : XmlNode) : XmlNode;


[3077] Description


[3078] Adds the specified node to the end of the list of children of this node.


[3079] Return Value: The node added.


[3080] If the newChild is already in the tree, it is first removed. The node to add. If it is a XmlDocumentFragment, the entire contents of the document fragment are moved into the child list of this node.


[3081] Clone


[3082] [C#] public virtual XmlNode Clone( );


[3083] [C++] public: virtual XmlNode* Clone( );


[3084] [VB] Overridable Public Function Clone( ) As XmlNode


[3085] [JScript] public function Clone( ) : XmlNode;


[3086] Description


[3087] Creates a duplicate of this node.


[3088] Return Value: The cloned node.


[3089] Cloning an System.Xml.XmlElement copies all attributes and their values, including those generated by the XML processor to represent defaulted attributes. This method recursively clones the node and the subtree underneath it.


[3090] CloneNode


[3091] [C#] public abstract XmlNode CloneNode(bool deep);


[3092] [C++] public: virtual XmlNode* CloneNode(bool deep)=0;


[3093] [VB] MustOverride Public Function CloneNode(ByVal deep As Boolean) As XmlNode


[3094] [JScript] public abstract function CloneNode(deep : Boolean) : XmlNode;


[3095] Description


[3096] When overridden in a derived class, creates a duplicate of the node.


[3097] Return Value: The cloned node.


[3098] This method serves as a copy constructor for nodes. The duplicate node has no parent (System.Xml.XmlNode.ParentNode returns null). trueto recursively clone the subtree under the specified node; false to clone only the node itself.


[3099] CreateNavigator


[3100] [C#] public XPathNavigator CreateNavigator( );


[3101] [C++] public: _sealed XPathNavigator* CreateNavigator( );


[3102] [VB] NotOverridable Public Function CreateNavigator( ) As XPathNavigator


[3103] [JScript] public function CreateNavigator( ) : XPathNavigator;


[3104] Description


[3105] Creates an System.Xml.XPath.XPathNavigator for navigating this object.


[3106] Return Value: An XPathNavigator object. The XPathNavigator is positioned on the node from which the method was called. It is not positioned on the root of the document.


[3107] The XPathNavigator provides read-only, random access to data. Because it is optimized for XSLT transformations, it provides performance benefits when used as an input mechanism to the System.Xml.Xsl.XslTransform.Transform(System.Xml.XPath.IXPathNaviga ble,System.Xml.Xsl.XsltArgumentList) method.


[3108] GetEnumerator


[3109] [C#] public lenumerator GetEnumerator( );


[3110] [C++] public: IEnumerator* GetEnumerator( );


[3111] [VB] Public Function GetEnumerator( ) As IEnumerator


[3112] [JScript] public function GetEnumerator( ) : IEnumerator;


[3113] Description


[3114] Provides support for the for each style iteration over the nodes in the XmlNode.


[3115] Return Value: An System.Collections.IEnumerator.


[3116] GetNamespaceOfPrefix


[3117] [C#] public virtual string GetNamespaceOfPrefix(string prefix);


[3118] [C++] public: virtual String* GetNamespaceOfPrefix(String* prefix);


[3119] [VB] Overridable Public Function GetNamespaceOfPrefix(ByVal prefix As String) As String


[3120] [JScript] public function GetNamespaceOfPrefix(prefix : String) : String;


[3121] Description


[3122] Looks up the closest xmlns declaration for the given prefix that is in scope for the current node and returns the namespace URI in the declaration.


[3123] Return Value: The namespace URI of the specified prefix. Prefix whose namespace URI you want to find


[3124] GetPrefixOfNamespace


[3125] [C#] public virtual string GetPrefixOfNamespace(string namespaceURI);


[3126] [C++] public: virtual String* GetPrefixOfNamespace(String* namespaceURI);


[3127] [VB] Overridable Public Function GetPrefixOfNamespace(ByVal namespaceURI As String) As String


[3128] [JScript] public function GetPrefixOfNamespace(namespaceURI : String) : String;


[3129] Description


[3130] Looks up the closest xmlns declaration for the given namespace URI that is in scope for the current node and returns the prefix defined in that declaration.


[3131] Return Value: The prefix for the specified namespace URI. Namespace URI whose prefix you want to find


[3132] InsertAfter


[3133] [C#] public virtual XmlNode InsertAfter(XmlNode newChild, XmlNode refChild);


[3134] [C++] public: virtual XmlNode* InsertAfter(XmlNode* newChild, XmlNode* refChild);


[3135] [VB] Overridable Public Function InsertAfter(ByVal newChild As XmlNode, ByVal refChild As XmlNode) As XmlNode


[3136] [JScript] public function InsertAfter(newChild : XmlNode, refChild : XmlNode) : XmlNode;


[3137] Description


[3138] Inserts the specified node immediately after the specified reference node.


[3139] If refChild is null, insert newChild at the beginning of the list of children. If newChild is a XmlDocumentFragment object, all of its children are inserted, in the same order, after refChild. If the newChild is already in the tree, it is first removed. XmlNode to insert. XmlNode that is the reference node. The newNode is placed after the refNode.


[3140] InsertBefore


[3141] [C#] public virtual XmlNode InsertBefore(XmlNode newChild, XmlNode refChild);


[3142] [C++] public: virtual XmlNode* InsertBefore(XmlNode* newChild, XmlNode* refChild);


[3143] [VB] Overridable Public Function InsertBefore(ByVal newChild As XmlNode, ByVal refChild As XmlNode) As XmlNode


[3144] [JScript] public function InsertBefore(newChild : XmlNode, refChild : XmlNode) : XmlNode;


[3145] Description


[3146] Inserts the specified node immediately before the specified reference node.


[3147] If refChild is null, insert newChild at the end of the list of children. If newChild is a XmlDocumentFragment object, all of its children are inserted, in the same order, before refChild. If the newChild is already in the tree, it is first removed. The XmlNode to insert. The XmlNode that is the reference node. The newChild is placed before this node.


[3148] Normalize


[3149] [C#] public virtual void Normalize( );


[3150] [C++] public: virtual void Normalize( );


[3151] [VB] Overridable Public Sub Normalize( )


[3152] [JScript] public function Normalize( );


[3153] Description


[3154] Puts all XmlText nodes in the full depth of the sub-tree underneath this XmlNode into a “normal” form where only markup (e.g., tags, comments, processing instructions, CDATA sections, and entity references) separates XmlText nodes, that is, there are no adjacent XmlText nodes.


[3155] This method can be used to ensure that the DOM view of a document is the same as if it were saved and re-loaded, and is useful when operations (such as XPointer lookups) that depend on a particular document tree structure are to be used.


[3156] PrependChild


[3157] [C#] public virtual XmlNode PrependChild(XmlNode newchild);


[3158] [C++] public: virtual XmlNode* PrependChild(XmlNode* newChild);


[3159] [VB] Overridable Public Function PrependChild(ByVal newChild As XmlNode) As XmlNode


[3160] [JScript] public function PrependChild(newChild : XmlNode) : XmlNode;


[3161] Description


[3162] Adds the specified node to the beginning of the list of children of this node.


[3163] Return Value: The node added.


[3164] If the newChild is already in the tree, it is first removed. The node to add. If it is a XmlDocumentFragment, the entire contents of the document fragment are moved into the child list of this node.


[3165] RemoveAll


[3166] [C#] public virtual void RemoveAll( );


[3167] [C++] public: virtual void RemoveAll( );


[3168] [VB] Overridable Public Sub RemoveAll( )


[3169] [JScript] public function RemoveAll( );


[3170] Description


[3171] Removes all the children and/or attributes of the current node.


[3172] If a removed attribute is known to have a default value, an attribute immediately appears containing the default value and, if applicable, the corresponding namespace URI, local name, and prefix.


[3173] RemoveChild


[3174] [C#] public virtual XmlNode RemoveChild(XmlNode oldChild);


[3175] [C++] public: virtual XmlNode* RemoveChild(XmlNode* oldChild);


[3176] [VB] Overridable Public Function RemoveChild(ByVal oldChild As XmlNode) As XmlNode


[3177] [JScript] public function RemoveChild(oldChild : XmlNode) : XmlNode;


[3178] Description


[3179] Removes specified child node.


[3180] Return Value: The node removed.


[3181] When overriding RemoveChild in a derived class, in order for events to be fired correctly, you must call the base class's RemoveChild method. The node being removed.


[3182] ReplaceChild


[3183] [C#] public virtual XmlNode ReplaceChild(XmlNode newChild, XmlNode oldChild);


[3184] [C++] public: virtual XmlNode* ReplaceChild(XmlNode* newChild, XmlNode* oldChild);


[3185] [VB] Overridable Public Function ReplaceChild(ByVal newChild As XmlNode, ByVal oldChild As XmlNode) As XmlNode


[3186] [JScript] public function ReplaceChild(newChild : XmlNode, oldChild : XmlNode) : XmlNode;


[3187] Description


[3188] Replaces the child node oldChild with newChild node.


[3189] Return Value: The node replaced.


[3190] If the newChild is already in the tree, it is first removed. The new node to put in the child list. The node being replaced in the list.


[3191] SelectNodes


[3192] [C#] public XmlNodeList SelectNodes(string xpath);


[3193] [C++] public: XmlNodeList* SelectNodes(String* xpath);


[3194] [VB] Public Function SelectNodes(ByVal xpath As String) As XmlNodeList


[3195] [JScript] public function SelectNodes(xpath : String) : XmlNodeList; Selects a list of nodes matching the XPath expression.


[3196] Description


[3197] Selects a list of nodes matching the XPath expression.


[3198] Return Value: An System.Xml.XmlNodeList containing a collection of nodes matching the XPath query.


[3199] If the XPath expression requires namespace resolution, you must use the SelectNodes overload which takes an System.Xml.XmlNamespaceManager as its argument. The XmlNamespaceManager is used to resolve namespaces. The XPath expression.


[3200] SelectNodes


[3201] [C#] public XmlNodeList SelectNodes(string xpath, XmlNamespaceManager nsmgr);


[3202] [C++] public: XmlNodeList* SelectNodes(String* xpath, XmlNamespaceManager* nsmgr);


[3203] [VB] Public Function SelectNodes(ByVal xpath As String, ByVal nsmgr As XmlNamespaceManager) As XmlNodeList


[3204] [JScript] public function SelectNodes(xpath : String, nsmgr : XmlNamespaceManager) : XmlNodeList;


[3205] Description


[3206] Selects a list of nodes matching the XPath expression. Any prefixes found in the XPath expression are resolved using the supplied System.Xml.XmlNamespaceManager.


[3207] Return Value: An System.Xml.XmlNodeList containing a collection of nodes matching the XPath query.


[3208] XPath expressions can include namespaces. Namespace resolution is supported using the XmlNamespaceManager. If the XPath expression includes a prefix, the prefix and namespace URI pair must be added to the XmlNamespaceManager. The XPath expression. An System.Xml.XmlNamespaceManager to use for resolving namespaces for prefixes in the XPath expression.


[3209] SelectSingleNode


[3210] [C#] public XmlNode SelectSingleNode(string xpath);


[3211] [C++] public: XmlNode* SelectSingleNode(String* xpath);


[3212] [VB] Public Function SelectSingleNode(ByVal xpath As String) As XmlNode


[3213] [JScript] public function SelectSingleNode(xpath : String) : XmlNode; Selects the first XmlNode that matches the XPath expression.


[3214] Description


[3215] Selects the first XmlNode that matches the XPath expression.


[3216] Return Value: The first XmlNode that matches the XPath query or null if no matching node was found.


[3217] If the XPath expression requires namespace resolution, you must use the SelectSingleNode overload which takes an System.Xml.XmlNamespaceManager as its argument. The XmlNamespaceManager is used to resolve namespaces. The XPath expression.


[3218] SelectSingleNode


[3219] [C#] public XmlNode SelectSingleNode(string xpath, XmlNamespaceManager nsmgr);


[3220] [C++] public: XmlNode* SelectSingleNode(String* xpath, XmlNamespaceManager* nsmgr);


[3221] [VB] Public Function SelectSingleNode(ByVal xpath As String, ByVal nsmgr As XmlNamespaceManager) As XmlNode


[3222] [JScript] public function SelectSingleNode(xpath : String, nsmgr : XmlNamespaceManager) : XmlNode;


[3223] Description


[3224] Selects the first XmlNode that matches the XPath expression. Any prefixes found in the XPath expression are resolved using the supplied System.Xml.XmlNamespaceManager.


[3225] Return Value: The first XmlNode that matches the XPath query or null if no matching node was found.


[3226] XPath expressions can include namespaces. Namespace resolution is supported using the XmlNamespaceManager. If the XPath expression includes a prefix, the prefix and namespace URI pair must be added to the XmlNamespaceManager. The XPath expression. An System.Xml.XmlNamespaceManager to use for resolving namespaces for prefixes in the XPath expression.


[3227] Supports


[3228] [C#] public virtual bool Supports(string feature, string version);


[3229] [C++] public: virtual bool Supports(String* feature, String* version);


[3230] [VB] Overridable Public Function Supports(ByVal feature As String, ByVal version As String) As Boolean


[3231] [JScript] public function Supports(feature : String, version : String) : Boolean;


[3232] Description


[3233] Test if the DOM implementation implements a specific feature.


[3234] Return Value: true if the feature is implemented in the specified version; otherwise, false. The package name of the feature to test. This name is case-insensitive. This is the version number of the package name to test. If the version is not specified (null), supporting any version of the feature will cause the method to return true.


[3235] IEnumerable.GetEnumerator


[3236] [C#] IEnumerator IEnumerable.GetEnumerator( );


[3237] [C++] IEnumerator* IEnumerable::GetEnumerator( );


[3238] [VB] Function GetEnumerator( ) As IEnumerator Implements IEnumerable.GetEnumerator


[3239] [JScript] function IEnumerable.GetEnumerator( ) : IEnumerator;


[3240] ICloneable.Clone


[3241] [C#] object ICloneable.Clone( );


[3242] [C++] Object* ICloneable::Clone( );


[3243] [VB] Function Clone( ) As Object Implements ICloneable.Clone


[3244] [JScript] function ICloneable.Clone( ) : Object;


[3245] WriteContentTo


[3246] [C#] public abstract void WriteContentTo(XmlWriter w);


[3247] [C++] public: virtual void WriteContentTo(XmlWriter* w)=0;


[3248] [VB] MustOverride Public Sub WriteContentTo(ByVal w As XmlWriter)


[3249] [JScript] public abstract function WriteContentTo(w : XmlWriter);


[3250] Description


[3251] When overridden in a derived class, saves all the children of the node to the specified System.Xml.XmlWriter.


[3252] This method is functionally equivalent to the System.Xml.XmlNode.InnerXml property. The XmlWriter to which you want to save.


[3253] WriteTo


[3254] [C#] public abstract void WriteTo(XmlWriter w);


[3255] [C++] public: virtual void WriteTo(XmlWriter* w)=0;


[3256] [VB] MustOverride Public Sub WriteTo(ByVal w As XmlWriter)


[3257] [JScript] public abstract function WriteTo(w : XmlWriter);


[3258] Description


[3259] When overridden in a derived class, saves the current node to the specified System.Xml.XmlWriter.


[3260] This method is functionally equivalent to the System.Xml.XmlNode.OuterXml property. The XmlWriter to which you want to save.


[3261] XmlNodeChangedAction enumeration (System.Xml)


[3262] WriteTo


[3263] Description


[3264] TODO: Specifies the type of node change TODO: Specifies the type of node change


[3265] WriteTo


[3266] [C#] public const XmlNodeChangedAction Change;


[3267] [C++] public: const XmlNodeChangedAction Change;


[3268] [VB] Public Const Change As XmlNodeChangedAction


[3269] [JScript] public var Change : XmlNodeChangedAction;


[3270] Description


[3271] TODO: A node value is beeing changed.


[3272] WriteTo


[3273] [C#] public const XmlNodeChangedAction Insert;


[3274] [C++] public: const XmlNodeChangedAction Insert;


[3275] [VB] Public Const Insert As XmlNodeChangedAction


[3276] [JScript] public var Insert : XmlNodeChangedAction;


[3277] Description


[3278] TODO: A node is beeing inserted in the tree.


[3279] WriteTo


[3280] [C#] public const XmlNodeChangedAction Remove;


[3281] [C++] public: const XmlNodeChangedAction Remove;


[3282] [VB] Public Const Remove As XmlNodeChangedAction


[3283] [JScript] public var Remove : XmlNodeChangedAction;


[3284] Description


[3285] TODO: A node is beeing removed from the tree.


[3286] XmlNodeChangedEventArgs class (System.Xml)


[3287] ToString


[3288] Description


[3289] Provides data for the System.Xml.XmlDocument.NodeChanged, System.Xml.XmlDocument.NodeChanging, System.Xml.XmlDocument.NodeInserted, System.Xml.XmlDocument.NodeInserting, System.Xml.XmlDocument.NodeRemoved and System.Xml.XmlDocument.NodeRemoving events.


[3290] The following C# code shows how to use the event handler.


[3291] Action


[3292] ToString


[3293] [C#] public XmlNodeChangedAction Action {get;}


[3294] [C++] public: _property XmlNodeChangedAction get_Action( );


[3295] [VB] Public ReadOnly Property Action As XmlNodeChangedAction


[3296] [JScript] public function get Action( ) : XmlNodeChangedAction;


[3297] Description


[3298] Gets a value indicating what type of node change event is occurring.


[3299] NewParent


[3300] ToString


[3301] [C#] public XmlNode NewParent {get;}


[3302] [C++] public: _property XmlNode* get_NewParent( );


[3303] [VB] Public ReadOnly Property NewParent As XmlNode


[3304] [JScript] public function get NewParent( ) : XmlNode;


[3305] Description


[3306] Gets the value of the System.Xml.XmlNode.ParentNode after the operation completes.


[3307] Node


[3308] ToString


[3309] [C#] public XmlNode Node {get;}


[3310] [C++] public: _property XmlNode* get_Node( );


[3311] [VB] Public ReadOnly Property Node As XmlNode


[3312] [JScript] public function get Node( ) : XmlNode;


[3313] Description


[3314] Gets the System.Xml.XmlNode that is being added, removed or changed.


[3315] OldParent


[3316] ToString


[3317] [C#] public XmlNode OldParent {get;}


[3318] [C++] public: _property XmlNode* get_OldParent( );


[3319] [VB] Public ReadOnly Property OldParent As XmlNode


[3320] [JScript] public function get OldParent( ) : XmlNode;


[3321] Description


[3322] Gets the value of the System.Xml.XmlNode.ParentNode before the operation began.


[3323] XmlNodeChangedEventHandler delegate (System.Xml)


[3324] ToString


[3325] Description


[3326] Represents the method that handles System.Xml.XmlDocument.NodeChanged, System.Xml.XmlDocument.NodeChanging, System.Xml.XmlDocument.NodeInserted, System.Xml.XmlDocument.NodeInserting, System.Xml.XmlDocument.NodeRemoved and System.Xml.XmlDocument.NodeRemoving events. The source of the event. An System.Xml.XmlNodeChangedEventArgs containing the event data.


[3327] When you create an XmlNodeChangedEventHandler delegate, you identify the method that handles the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event handler delegates, see.


[3328] XmlNodeList class (System.Xml)


[3329] ToString


[3330] Description


[3331] Represents an ordered collection of nodes.


[3332] The XmlNodeList is “live”: changes to the children of the node object that it was created from are immediately reflected in the nodes returned by the XmlNodeList properties and methods. The XmlNodeList is not a static snapshot of the content of the node. This is true for every XmlNodeList, including the ones returned by the System.Xml.XmlDocument.GetElementsByTagName(System.String) method.


[3333] XmlNodeList


[3334] Example Syntax:


[3335] ToString


[3336] [C#] protected XmlNodeList( );


[3337] [C++] protected: XmlNodeList( );


[3338] [VB] Protected Sub New( )


[3339] [JScript] protected function XmlNodeList( );


[3340] Count


[3341] ToString


[3342] [C#] public abstract int Count {get;}


[3343] [C++] public: _property virtual int get_Count( )=0;


[3344] [VB] MustOverride Public ReadOnly Property Count As Integer


[3345] [JScript] public abstract function get Count( ) : int;


[3346] Description


[3347] Gets the number of nodes in the XmlNodeList.


[3348] ItemOf


[3349] ToString


[3350] [C#] public virtual XmlNode this[int i] {get;}


[3351] [C++] public: _property virtual XmlNode* get_ItemOf(int i);


[3352] [VB] Overridable Public Default ReadOnly Property ItemOf(ByVal i As Integer) As XmlNode


[3353] [JScript] returnValue=XmlNodeListObject.ItemOf(i);


[3354] Description


[3355] Retrieves a node at the given index. Zero-based index into the list of nodes.


[3356] GetEnumerator


[3357] [C#] public abstract IEnumerator GetEnumerator( );


[3358] [C++] public: virtual IEnumerator* GetEnumerator( )=0;


[3359] [VB] MustOverride Public Function GetEnumerator( ) As IEnumerator


[3360] [JScript] public abstract function GetEnumerator( ) : IEnumerator;


[3361] Description


[3362] Provides a simple “foreach” style iteration over the collection of nodes in the XmlNodeList.


[3363] Return Value: An System.Collections.IEnumerator.


[3364] Item


[3365] [C#] public abstract XmlNode Item(int index);


[3366] [C++] public: virtual XmlNode* Item(int index)=0;


[3367] [VB] MustOverride Public Function Item(ByVal index As Integer) As XmlNode


[3368] [JScript] public abstract function Item(index : int) : XmlNode;


[3369] Description


[3370] Retrieves a node at the given index.


[3371] Return Value: The System.Xml.XmlNode in the collection. If index is greater than or equal to the number of nodes in the list, this returns null. Zero-based index into the list of nodes.


[3372] XmlNodeOrder enumeration (System.Xml)


[3373] ToString


[3374] Description


[3375] Describes the document order of a node compared to a second node.


[3376] ToString


[3377] [C#] public const XmlNodeOrder After;


[3378] [C++] public: const XmlNodeOrder After;


[3379] [VB] Public Const After As XmlNodeOrder


[3380] [JScript] public var After : XmlNodeOrder;


[3381] Description


[3382] The current node of the supplied navigator is after the current node of this navigator.


[3383] ToString


[3384] [C#] public const XmlNodeOrder Before;


[3385] [C++] public: const XmlNodeOrder Before;


[3386] [VB] Public Const Before As XmlNodeOrder


[3387] [JScript] public var Before : XmlNodeOrder;


[3388] Description


[3389] The current node of the supplied navigator is before the current node of this navigator.


[3390] ToString


[3391] [C#] public const XmlNodeOrder Same;


[3392] [C++] public: const XmlNodeOrder Same;


[3393] [VB] Public Const Same As XmlNodeOrder


[3394] [JScript] public var Same: XmlNodeOrder;


[3395] Description


[3396] The current node of the supplied navigator is the same as the current node of this navigator.


[3397] ToString


[3398] [C#] public const XmlNodeOrder Unknown;


[3399] [C++] public: const XmlNodeOrder Unknown;


[3400] [VB] Public Const Unknown As XmlNodeOrder


[3401] [JScript] public var Unknown : XmlNodeOrder;


[3402] Description


[3403] The node positions cannot be determined in document order, relative to each other. This could occur if the two nodes reside in different trees.


[3404] XmlNodeReader class (System.Xml)


[3405] ToString


[3406] Description


[3407] Represents a reader that provides fast, non-cached forward only access to XML data in an System.Xml.XmlNode.


[3408] The XmlNodeReader has the ability to read an XML DOM subtree. This class does not support DTD or schema validation. To perform data validation, use the System.Xml.XmlValidatingReader.


[3409] XmlNodeReader


[3410] Example Syntax:


[3411] ToString


[3412] [C#] public XmlNodeReader(XmlNode node);


[3413] [C++] public: XmlNodeReader(XmlNode* node);


[3414] [VB] Public Sub New(ByVal node As XmlNode)


[3415] [JScript] public function XmlNodeReader(node : XmlNode); Creates an instance of the XmlNodeReader.


[3416] Description


[3417] Creates an instance of the XmlNodeReader class using the specified System.Xml.XmlNode.


[3418] The following C# code creates an XmlNodeReader. The XmlNode you want to read.


[3419] AttributeCount


[3420] ToString


[3421] [C#] public override int AttributeCount {get;}


[3422] [C++] public: _property virtual int get_AttributeCount( );


[3423] [VB] Overrides Public ReadOnly Property AttributeCount As Integer


[3424] [JScript] public function get AttributeCount( ) : int;


[3425] Description


[3426] Gets the number of attributes on the current node.


[3427] This property is relevant to Element, DocumentType and XmlDeclaration nodes only. (Other node types do not have attributes.) The following example reads all the attributes on the root node.


[3428] BaseURI


[3429] ToString


[3430] [C#] public override string BaseURI {get;}


[3431] [C++] public: _property virtual String* get_BaseURI( );


[3432] [VB] Overrides Public ReadOnly Property BaseURI As String


[3433] [JScript] public function get BaseURI( ) : String;


[3434] Description


[3435] Gets the base URI of the current node.


[3436] A networked XML document is comprised of chunks of data aggregated using various W3C standard inclusion mechanisms and therefore contains nodes that come from different places. DTD entities are an example of this, but this is not limited to DTDs. The base URI tells you where these nodes came from. If there is no base URI for the nodes being returned (for example, they were parsed from an in-memory string), String.Empty is returned.


[3437] CanResolveEntity


[3438] ToString


[3439] [C#] public override bool CanResolveEntity {get;}


[3440] [C++] public: _property virtual bool get_CanResolveEntity( );


[3441] [VB] Overrides Public ReadOnly Property CanResolveEntity As Boolean


[3442] [JScript] public function get CanResolveEntity( ) : Boolean;


[3443] Description


[3444] Gets a value indicating whether this reader can parse and resolve entities.


[3445] Depth


[3446] ToString


[3447] [C#] public override int Depth {get;}


[3448] [C++] public: _property virtual int get_Depth( );


[3449] [VB] Overrides Public ReadOnly Property Depth As Integer


[3450] [JScript] public function get Depth( ) : int;


[3451] Description


[3452] Gets the depth of the current node in the XML document.


[3453] EOF


[3454] ToString


[3455] [C#] public override bool EOF {get;}


[3456] [C++] public: _property virtual bool get_EOF( );


[3457] [VB] Overrides Public ReadOnly Property EOF As Boolean


[3458] [JScript] public function get EOF( ) : Boolean;


[3459] Description


[3460] Gets a value indicating whether the reader is positioned at the end of the stream.


[3461] HasAttributes


[3462] ToString


[3463] [C#] public override bool HasAttributes {get;}


[3464] [C++] public: _property virtual bool get_HasAttributes( );


[3465] [VB] Overrides Public ReadOnly Property HasAttributes As Boolean


[3466] [JScript] public function get HasAttributes( ) : Boolean;


[3467] Description


[3468] Gets a value indicating whether the current node has any attributes.


[3469] HasValue


[3470] ToString


[3471] [C#] public override bool HasValue {get;}


[3472] [C++] public: _property virtual bool get_HasValue( );


[3473] [VB] Overrides Public ReadOnly Property HasValue As Boolean


[3474] [JScript] public function get HasValue( ) : Boolean;


[3475] Description


[3476] Gets a value indicating whether the current node can have a System.Xml.XmlNodeReader.Value.


[3477] The following table lists node types that have a value to return.


[3478] IsDefault


[3479] ToString


[3480] [C#] public override bool IsDefault {get;}


[3481] [C++] public: _property virtual bool get_IsDefault( );


[3482] [VB] Overrides Public ReadOnly Property IsDefault As Boolean


[3483] [JScript] public function get IsDefault( ) : Boolean;


[3484] Description


[3485] Gets a value indicating whether the current node is an attribute that was generated from the default value defined in the DTD or schema.


[3486] This property applies to attribute nodes only.


[3487] IsEmptyElement


[3488] ToString


[3489] [C#] public override bool IsEmptyElement {get;}


[3490] [C++] public: _property virtual bool get_IsEmptyElement( );


[3491] [VB] Overrides Public ReadOnly Property IsEmptyElement As Boolean


[3492] [JScript] public function get IsEmptyElement( ) : Boolean;


[3493] Description


[3494] Gets a value indicating whether the current node is an empty element (for example,).


[3495] This property enables you to determine the difference between the following: (IsEmptyElement is true).


[3496] Item


[3497] ToString


[3498] [C#] public override string this[int i] {get;}


[3499] [C++] public: _property virtual String* get_Item(int i);


[3500] [VB] Overrides Public Default ReadOnly Property Item(ByVal i As Integer) As String


[3501] [JScript] returnValue=XmlNodeReaderObject.Item(i); Gets the value of the specified attribute.


[3502] Description


[3503] Gets the value of the attribute with the specified index.


[3504] This property does not move the reader. The index of the attribute.


[3505] Item


[3506] ToString


[3507] [C#] public override string this[string name] {get;}


[3508] [C++] public: _property virtual String* get_Item(String* name);


[3509] [VB] Overrides Public Default ReadOnly Property Item(ByVal name As String) As String


[3510] [JScript] returnValue=XmlNodeReaderObject.Item(name);


[3511] Description


[3512] Gets the value of the attribute with the specified name.


[3513] This property does not move the reader. The qualified name of the attribute.


[3514] Item


[3515] ToString


[3516] [C#] public override string this[string name, string namespaceURI] {get;}


[3517] [C++] public: _property virtual String* get_Item(String* name, String* namespaceURI);


[3518] [VB] Overrides Public Default ReadOnly Property Item(ByVal name As String, ByVal namespaceURI As String) As String


[3519] [JScript] returnValue=XmlNodeReaderObject.Item(name, namespaceURI);


[3520] Description


[3521] Gets the value of the attribute with the specified local name and namespace URI.


[3522] This property does not move the reader. The local name of the attribute. The namespace URI of the attribute.


[3523] LocalName


[3524] ToString


[3525] [C#] public override string LocalName {get;}


[3526] [C++] public: _property virtual String* get_LocalName( );


[3527] [VB] Overrides Public ReadOnly Property LocalName As String


[3528] [JScript] public function get LocalName( ) : String;


[3529] Description


[3530] Gets the local name of the current node.


[3531] Name


[3532] ToString


[3533] [C#] public override string Name {get;}


[3534] [C++] public: _property virtual String* get_Name( );


[3535] [VB] Overrides Public ReadOnly Property Name As String


[3536] [JScript] public function get Name( ) : String;


[3537] Description


[3538] Gets the qualified name of the current node.


[3539] NamespaceURI


[3540] ToString


[3541] [C#] public override string NamespaceURI {get;}


[3542] [C++] public: _property virtual String* get_NamespaceURI( );


[3543] [VB] Overrides Public ReadOnly Property NamespaceURI As String


[3544] [JScript] public function get NamespaceURI( ) : String;


[3545] Description


[3546] Gets the namespace URI (as defined in the W3C Namespace specification) of the node on which the reader is positioned.


[3547] This property is relevant to Element and Attribute nodes only.


[3548] NameTable


[3549] ToString


[3550] [C#] public override XmlNameTable NameTable {get;}


[3551] [C++] public: _property virtual XmlNameTable* get_NameTable( );


[3552] [VB] Overrides Public ReadOnly Property NameTable As XmlNameTable


[3553] [JScript] public function get NameTable( ) : XmlNameTable;


[3554] Description


[3555] Gets the System.Xml.XmlNameTable associated with this implementation.


[3556] All node and attribute names returned from this class are atomized using the NameTable. When the same name is returned multiple times (for example, Customer), then the same String object will be returned for that name. This makes it possible for you to write efficient code that does object comparisons on these strings instead of expensive string comparisons.


[3557] NodeType


[3558] ToString


[3559] [C#] public override XmlNodeType NodeType {get;}


[3560] [C++] public: _property virtual XmlNodeType get_NodeType( );


[3561] [VB] Overrides Public ReadOnly Property NodeType As XmlNodeType


[3562] [JScript] public function get NodeType( ) : XmlNodeType;


[3563] Description


[3564] Gets the type of the current node.


[3565] Prefix


[3566] ToString


[3567] [C#] public override string Prefix {get;}


[3568] [C++] public: _property virtual String* get_Prefix( );


[3569] [VB] Overrides Public ReadOnly Property Prefix As String


[3570] [JScript] public function get Prefix( ) : String;


[3571] Description


[3572] Gets the namespace prefix associated with the current node.


[3573] QuoteChar


[3574] ToString


[3575] [C#] public override char QuoteChar {get;}


[3576] [C++] public: _property virtual_wchar_t_get_QuoteChar( );


[3577] [VB] Overrides Public ReadOnly Property QuoteChar As Char


[3578] [JScript] public function get QuoteChar( ) : Char;


[3579] Description


[3580] Gets the quotation mark character used to enclose the value of an attribute node.


[3581] This property applies only to an attribute node.


[3582] ReadState


[3583] ToString


[3584] [C#] public override ReadState ReadState {get;}


[3585] [C++] public: _property virtual ReadState get_ReadState( );


[3586] [VB] Overrides Public ReadOnly Property ReadState As ReadState


[3587] [JScript] public function get ReadState( ) : ReadState;


[3588] Description


[3589] Gets the state of the reader.


[3590] Value


[3591] ToString


[3592] [C#] public override string Value {get;}


[3593] [C++] public: _property virtual String* get13 Value( );


[3594] [VB] Overrides Public ReadOnly Property Value As String


[3595] [JScript] public function get Value( ) : String;


[3596] Description


[3597] Gets the text value of the current node.


[3598] XmlLang


[3599] ToString


[3600] [C#] public override string XmlLang {get;}


[3601] [C++] public: _property virtual String* get_XmlLang( );


[3602] [VB] Overrides Public ReadOnly Property XmlLang As String


[3603] [JScript] public function get XmlLang( ) : String;


[3604] Description


[3605] Gets the current xml:lang scope.


[3606] This property represents the xml:lang scope within which the current node resides. For example, here is an XML fragment with xml:lang set to US English in the root element: Fred When the reader is positioned on the name element, you can use this property to find that it is in the scope of a US English xml:lang attribute.


[3607] XmlSpace


[3608] ToString


[3609] [C#] public override XmlSpace XmlSpace {get;}


[3610] [C++] public: _property virtual XmlSpace get_XmlSpace( );


[3611] [VB] Overrides Public ReadOnly Property XmlSpace As XmlSpace


[3612] [JScript] public function get XmlSpace( ) : XmlSpace;


[3613] Description


[3614] Gets the current xml:space scope.


[3615] Close


[3616] [C#] public override void Close( );


[3617] [C++] public: void Close( );


[3618] [VB] Overrides Public Sub Close( )


[3619] [JScript] public override function Close( );


[3620] Description


[3621] Changes the System.Xml.XmlNodeReader.ReadState to Closed.


[3622] This method also releases any resources held while reading. If Close has already been called, no action is performed.


[3623] GetAttribute


[3624] [C#] public override string GetAttribute(int i);


[3625] [C++] public: String* GetAttribute(int i);


[3626] [VB] Overrides Public Function GetAttribute(ByVal i As Integer) As String


[3627] [JScript] public override function GetAttribute(i : int) : String;


[3628] Description


[3629] Gets the value of the attribute with the specified index.


[3630] Return Value: The value of the specified attribute.


[3631] This method does not move the reader. The index of the attribute. The index is zero-based. (The first attribute has index 0.)


[3632] GetAttribute


[3633] [C#] public override string GetAttribute(string name);


[3634] [C++] public: String* GetAttribute(String* name);


[3635] [VB] Overrides Public Function GetAttribute(ByVal name As String) As String


[3636] [JScript] public override function GetAttribute(name : String) : String; Gets the value of an attribute.


[3637] Description


[3638] Gets the value of the attribute with the specified name.


[3639] Return Value: The value of the specified attribute. If the attribute is not found, String.Empty is returned.


[3640] This method does not move the reader. The qualified name of the attribute.


[3641] GetAttribute


[3642] [C#] public override string GetAttribute(string name, string namespaceURI);


[3643] [C++] public: String* GetAttribute(String* name, String* namespaceURI);


[3644] [VB] Overrides Public Function GetAttribute(ByVal name As String, ByVal namespaceURI As String) As String


[3645] [JScript] public override function GetAttribute(name : String, namespaceURI : String) : String;


[3646] Description


[3647] Gets the value of the attribute with the specified local name and namespace URI.


[3648] Return Value: The value of the specified attribute. If the attribute is not found, String.Empty is returned.


[3649] The following XML contains an attribute in a specific namespace: You can lookup the dt:type attribute using one argument (prefix and local name) or two arguments (local name and namespace URI): String dt=reader.GetAttribute(“dt:type”); String dt2=reader.GetAttribute(“type”,“urn:datatypes”); To lookup the xmlns:dt attribute, use one of the following arguments: String dt3=reader.GetAttribute(“xmlns:dt”); String dt4=reader.GetAttribute(“dt”,http://www.w3.org/2000/xmlns/); You can also get this information using the System.Xml.XmlNodeReader.Prefix property. The local name of the attribute. The namespace URI of the attribute.


[3650] LookupNamespace


[3651] [C#] public override string LookupNamespace(string prefix);


[3652] [C++] public: String* LookupNamespace(String* prefix);


[3653] [VB] Overrides Public Function LookupNamespace(ByVal prefix As String) As String


[3654] [JScript] public override function LookupNamespace(prefix : String) : String;


[3655] Description


[3656] Resolves a namespace prefix in the current element's scope.


[3657] Return Value: The namespace URI to which the prefix maps or null if no matching prefix is found.


[3658] In the preceding XML, if the reader is positioned on the href attribute, the prefix a is resolved by calling reader.LookupNamesapce(“a”). The returned string is urn:456. The prefix whose namespace URI you want to resolve. To match the default namespace, pass an empty string. This string does not have to be atomized.


[3659] MoveToAttribute


[3660] [C#] public override void MoveToAttribute(int i);


[3661] [C++] public: void MoveToAttribute(int i);


[3662] [VB] Overrides Public Sub MoveToAttribute(ByVal i As Integer)


[3663] [JScript] public override function MoveToAttribute(i : int);


[3664] Description


[3665] Moves to the attribute with the specified index. The index of the attribute.


[3666] MoveToAttribute


[3667] [C#] public override bool MoveToAttribute(string name);


[3668] [C++] public: bool MoveToAttribute(String* name);


[3669] [VB] Overrides Public Function MoveToAttribute(ByVal name As String) As Boolean


[3670] [JScript] public override function MoveToAttribute(name : String) : Boolean; Moves to the specified attribute.


[3671] Description


[3672] Moves to the attribute with the specified name.


[3673] Return Value: true if the attribute is found; otherwise, false. If false, the reader's position does not change.


[3674] After calling this method, the System.Xml.XmlNodeReader.Name, System.Xml.XmlNodeReader.NamespaceURI, and System.Xml.XmlNodeReader.Prefix properties reflect the properties of that attribute. The qualified name of the attribute.


[3675] MoveToAttribute


[3676] [C#] public override bool MoveToAttribute(string name, string namespaceURI);


[3677] [C++] public: bool MoveToAttribute(String* name, String* namespaceURI);


[3678] [VB] Overrides Public Function MoveToAttribute(ByVal name As String, ByVal namespaceURI As String) As Boolean


[3679] [JScript] public override function MoveToAttribute(name : String, namespaceURI : String) : Boolean;


[3680] Description


[3681] Moves to the attribute with the specified local name and namespace URI.


[3682] Return Value: true if the attribute is found; otherwise, false. If false, the reader's position does not change.


[3683] After calling this method, the System.Xml.XmlNodeReader.Name, System.Xml.XmlNodeReader.NamespaceURI, and System.Xml.XmlNodeReader.Prefix properties reflect the properties of that attribute. The local name of the attribute. The namespace URI of the attribute.


[3684] MoveToElement


[3685] [C#] public override bool MoveToElement( );


[3686] [C++] public: bool MoveToElement( );


[3687] [VB] Overrides Public Function MoveToElement( ) As Boolean


[3688] [JScript] public override function MoveToElement( ) : Boolean;


[3689] Description


[3690] Moves to the element that contains the current attribute node.


[3691] Return Value: true if the reader is positioned on an attribute (the reader moves to the element that owns the attribute); false if the reader is not positioned on an attribute (the position of the reader does not change).


[3692] Use this method to return to an element after navigating through its attributes. This method moves the reader to one of the following node types: Element, DocumentType, or XmlDeclaration.


[3693] MoveToFirstAttribute


[3694] [C#] public override bool MoveToFirstAttribute( );


[3695] [C++] public: bool MoveToFirstAttribute( );


[3696] [VB] Overrides Public Function MoveToFirstAttribute( ) As Boolean


[3697] [JScript] public override function MoveToFirstAttribute( ) : Boolean;


[3698] Description


[3699] Moves to the first attribute.


[3700] Return Value: true if an attribute exists (the reader moves to the first attribute); otherwise, false (the position of the reader does not change).


[3701] MoveToNextAttribute


[3702] [C#] public override bool MoveToNextAttribute( );


[3703] [C++] public: bool MoveToNextAttribute( );


[3704] [VB] Overrides Public Function MoveToNextAttribute( ) As Boolean


[3705] [JScript] public override function MoveToNextAttribute( ) : Boolean;


[3706] Description


[3707] Moves to the next attribute.


[3708] Return Value: true if there is a next attribute; false if there are no more attributes.


[3709] If the current node is an element node, this method is equivalent to System.Xml.XmlNodeReader.MoveToFirstAttribute. If MoveToNextAttribute returns true, the reader moves to the next attribute; otherwise, the position of the reader does not change.


[3710] Read


[3711] [C#] public override bool Read( );


[3712] [C++] public: bool Read( );


[3713] [VB] Overrides Public Function Read( ) As Boolean


[3714] [JScript] public override function Read( ) : Boolean;


[3715] Description


[3716] Reads the next node from the stream.


[3717] Return Value: true if the next node was read successfully; false if there are no more nodes to read.


[3718] When a reader is first created and initialized, there is no information available. You must call Read to read the first node.


[3719] ReadAttributeValue


[3720] [C#] public override bool ReadAttributeValue( );


[3721] [C++] public: bool ReadAttributeValue( );


[3722] [VB] Overrides Public Function ReadAttributeValue( ) As Boolean


[3723] [JScript] public override function ReadAttributeValue( ) : Boolean;


[3724] Description


[3725] Parses the attribute value into one or more Text or EntityReference nodes.


[3726] Return Value: true if there are nodes to return.


[3727] Use this method after calling System.Xml.XmlNodeReader.MoveToAttribute(System.String) to read through the text or entity reference nodes that make up the attribute value. The System.Xml.XmlNodeReader.Depth of the attribute value nodes is one plus the depth of the attribute node; it increments and decrements by one when you step into and out of general entity references.


[3728] ReadInnerXml


[3729] [C#] public override string ReadInnerXml( );


[3730] [C++] public: String* ReadInnerXml( );


[3731] [VB] Overrides Public Function ReadInnerXml( ) As String


[3732] [JScript] public override function ReadInnerXml( ) : String;


[3733] Description


[3734] Reads all the content, including markup, as a string.


[3735] Return Value: All the XML content, including markup, in the current node. If the current node has no children, an empty string is returned.


[3736] This method returns all the content of the current node including the markup. The current node (start tag) and corresponding end node (end tag) are not returned. For example, if you had the following: this ReadInnerXml returns this This method handles element and attribute nodes in the following way: Node Type Child Content Return Value Position After the Call Element text text After the end tag.


[3737] ReadOuterXml


[3738] [C#] public override string ReadOuterXml( );


[3739] [C++] public: String* ReadOuterXml( );


[3740] [VB] Overrides Public Function ReadOuterXml( ) As String


[3741] [JScript] public override function ReadOuterXml( ) : String;


[3742] Description


[3743] Reads the content, including markup, representing this node and all its children.


[3744] Return Value: If the reader is positioned on an element or an attribute node, this method returns all the XML content, including markup, of the current node and all its children; otherwise, it returns an empty string.


[3745] This method is similar to System.Xml.XmlNodeReader.ReadInnerXml except it also returns the start and end tags.


[3746] ReadString


[3747] [C#] public override string ReadString( );


[3748] [C++] public: String* ReadString( );


[3749] [VB] Overrides Public Function ReadString( ) As String


[3750] [JScript] public override function ReadString( ) : String;


[3751] Description


[3752] Reads the contents of an element or text node as a string.


[3753] Return Value: The contents of the element or text node. This can be an empty string if the reader is positioned on something other than an element or text node, or if there is no more text content to return in the current context.


[3754] If positioned on an element, ReadString concatenates all text, significant whitespace, whitespace and CData section node types together and returns the concatenated data as the element content. It stops when any markup is encountered. This could occur in a mixed content model, or when an element end tag is read.


[3755] ResolveEntity


[3756] [C#] public override void ResolveEntity( );


[3757] [C++] public: void ResolveEntity( );


[3758] [VB] Overrides Public Sub ResolveEntity( )


[3759] [JScript] public override function ResolveEntity( );


[3760] Description


[3761] Resolves the entity reference for EntityReferenc e nodes. If the reader is positioned on an EntityReference node (XmlNodeType.EntityReference), if System.Xml.XmlNodeReader.Read is called after calling this method, the entity replacement text is parsed. When the entity replacement text is finished, an EndEntity node is returned to close the entity reference scope.


[3762] Skip


[3763] [C#] public override void Skip( );


[3764] [C++] public: void Skip( );


[3765] [VB] Overrides Public Sub Skip( )


[3766] [JScript] public override function Skip( );


[3767] Description


[3768] Skips the current element.


[3769] For example, suppose you have the following XML input: abc . . . If the reader is positioned on the ″″ node or any of its attributes, calling Skip positions the reader to the ″″ node.


[3770] XmlNodeType enumeration (System.Xml)


[3771] ToString


[3772] Description


[3773] Specifies the type of node.


[3774] ToString


[3775] [C#] public const XmlNodeType Attribute;


[3776] [C++] public: const XmlNodeType Attribute;


[3777] [VB] Public Const Attribute As XmlNodeType


[3778] [JScript] public var Attribute: XmlNodeType;


[3779] Description


[3780] An attribute.


[3781] ToString


[3782] [C#] public const XmlNodeType CDATA;


[3783] [C++] public: const XmlNodeType CDATA;


[3784] [VB] Public Const CDATA As XmlNodeType


[3785] [JScript] public var CDATA : XmlNodeType;


[3786] Description


[3787] A CDATA section.


[3788] ToString


[3789] [C#] public const XmlNodeType Comment;


[3790] [C++] public: const XmlNodeType Comment;


[3791] [VB] Public Const Comment As XmlNodeType


[3792] [JScript] public var Comment : XmlNodeType;


[3793] Description


[3794] A comment.


[3795] ToString


[3796] [C#] public const XmlNodeType Document;


[3797] [C++] public: const XmlNodeType Document;


[3798] [VB] Public Const Document As XmlNodeType


[3799] [JScript] public var Document : XmlNodeType;


[3800] Description


[3801] A document object that, as the root of the document tree, provides access to the entire XML document.


[3802] ToString


[3803] [C#] public const XmlNodeType DocumentFragment;


[3804] [C++] public: const XmlNodeType DocumentFragment;


[3805] [VB] Public Const DocumentFragment As XmlNodeType


[3806] [JScript] public var DocumentFragment : XmlNodeType;


[3807] Description


[3808] A document fragment.


[3809] ToString


[3810] [C#] public const XmlNodeType DocumentType;


[3811] [C++] public: const XmlNodeType DocumentType;


[3812] [VB] Public Const DocumentType As XmlNodeType


[3813] [JScript] public var DocumentType : XmlNodeType;


[3814] Description


[3815] The document type declaration, indicated by the following tag.


[3816] ToString


[3817] [C#] public const XmlNodeType Element;


[3818] [C++] public: const XmlNodeType Element;


[3819] [VB] Public Const Element As XmlNodeType


[3820] [JScript] public var Element : XmlNodeType;


[3821] Description


[3822] An element.


[3823] ToString


[3824] [C#] public const XmlNodeType EndElement;


[3825] [C++] public: const XmlNodeType EndElement;


[3826] [VB] Public Const EndElement As XmlNodeType


[3827] [JScript] public var EndElement : XmlNodeType;


[3828] Description


[3829] An end element tag.


[3830] ToString


[3831] [C#] public const XmlNodeType EndEntity;


[3832] [C++] public: const XmlNodeType EndEntity;


[3833] [VB] Public Const EndEntity As XmlNodeType


[3834] [JScript] public var EndEntity : XmlNodeType;


[3835] Description


[3836] Returned when XmlReader gets to the end of the entity replacement as a result of a call to System.Xml.XmlReader.ResolveEntity.


[3837] ToString


[3838] [C#] public const XmlNodeType Entity;


[3839] [C++] public: const XmlNodeType Entity;


[3840] [VB] Public Const Entity As XmlNodeType


[3841] [JScript] public var Entity : XmlNodeType;


[3842] Description


[3843] An entity declaration.


[3844] ToString


[3845] [C#] public const XmlNodeType EntityReference;


[3846] [C++] public: const XmlNodeType EntityReference;


[3847] [VB] Public Const EntityReference As XmlNodeType


[3848] [JScript] public var EntityReference : XmlNodeType;


[3849] Description


[3850] A reference to an entity.


[3851] ToString


[3852] [C#] public const XmlNodeType None;


[3853] [C++] public: const XmlNodeType None;


[3854] [VB] Public Const None As XmlNodeType


[3855] [JScript] public var None : XmlNodeType;


[3856] Description


[3857] This is returned by the System.Xml.XmlReader if a Read method has not been called.


[3858] ToString


[3859] [C#] public const XmlNodeType Notation;


[3860] [C++] public: const XmlNodeType Notation;


[3861] [VB] Public Const Notation As XmlNodeType


[3862] [JScript] public var Notation : XmlNodeType;


[3863] Description


[3864] A notation in the document type declaration.


[3865] ToString


[3866] [C#] public const XmlNodeType ProcessingInstruction;


[3867] [C++] public: const XmlNodeType ProcessingInstruction;


[3868] [VB] Public Const ProcessingInstruction As XmlNodeType


[3869] [JScript] public var ProcessingInstruction : XmlNodeType;


[3870] Description


[3871] A processing instruction.


[3872] ToString


[3873] [C#] public const XmlNodeType SignificantWhitespace;


[3874] [C++] public: const XmlNodeType SignificantWhitespace;


[3875] [VB] Public Const SignificantWhitespace As XmlNodeType


[3876] [JScript] public var SignificantWhitespace : XmlNodeType;


[3877] Description


[3878] Whitespace between markup in a mixed content model or whitespace within the xml:space=“preserve” scope.


[3879] ToString


[3880] [C#] public const XmlNodeType Text;


[3881] [C++] public: const XmlNodeType Text;


[3882] [VB] Public Const Text As XmlNodeType


[3883] [JScript] public var Text : XmlNodeType;


[3884] Description


[3885] The text content of a node.


[3886] ToString


[3887] [C#] public const XmlNodeType Whitespace;


[3888] [C++] public: const XmlNodeType Whitespace;


[3889] [VB] Public Const Whitespace As XmlNodeType


[3890] [JScript] public var Whitespace : XmlNodeType;


[3891] Description


[3892] Whitespace between markup.


[3893] ToString


[3894] [C#] public const XmlNodeType XmlDeclaration;


[3895] [C++] public: const XmlNodeType XmlDeclaration;


[3896] [VB] Public Const XmlDeclaration As XmlNodeType


[3897] [JScript] public var XmlDeclaration : XmlNodeType;


[3898] Description


[3899] The XML declaration.


[3900] XmlNotation class (System.Xml)


[3901] ToString


[3902] Description


[3903] Represents a notation declaration:.


[3904] Attributes


[3905] BaseURI


[3906] ChildNodes


[3907] FirstChild


[3908] HasChildNodes


[3909] InnerText


[3910] InnerXml


[3911] ToString


[3912] Description


[3913] Gets the markup representing the children of this node.


[3914] XmlNotation nodes are read-only. Setting this property throws an exception.


[3915] IsReadOnly


[3916] ToString


[3917] [C#] public override bool IsReadOnly {get;}


[3918] [C++] public: _property virtual bool get_IsReadOnly( );


[3919] [VB] Overrides Public ReadOnly Property IsReadOnly As Boolean


[3920] [JScript] public function get IsReadOnly( ) : Boolean;


[3921] Description


[3922] Gets a value indicating whether the node is read-only.


[3923] A read-only node is one whose properties, attributes, or children cannot be changed. You can remove a read-only node from the tree and insert it somewhere else.


[3924] Item


[3925] Item


[3926] LastChild


[3927] LocalName


[3928] ToString


[3929] Description


[3930] Gets the name of the current node without the namespace prefix.


[3931] Name


[3932] ToString


[3933] [C#] public override string Name {get;}


[3934] [C++] public: _property virtual String* get_Name( );


[3935] [VB] Overrides Public ReadOnly Property Name As String


[3936] [JScript] public function get Name( ) : String;


[3937] Description


[3938] Gets the name of the current node.


[3939] NamespaceURI


[3940] NextSibling


[3941] NodeType


[3942] ToString


[3943] Description


[3944] Gets the type of the current node.


[3945] OuterXml


[3946] ToString


[3947] [C#] public override string OuterXml {get;}


[3948] [C++] public: _property virtual String* get_OuterXml( );


[3949] [VB] Overrides Public ReadOnly Property OuterXml As String


[3950] [JScript] public function get OuterXml( ) : String;


[3951] Description


[3952] Gets the markup representing this node and all its children.


[3953] OwnerDocument


[3954] ParentNode


[3955] Prefix


[3956] PreviousSibling


[3957] PublicId


[3958] ToString


[3959] Description


[3960] Gets the value of the public identifier on the notation declaration.


[3961] SystemId


[3962] ToString


[3963] [C#] public string SystemId {get;}


[3964] [C++] public: _property String* get_SystemId( );


[3965] [VB] Public ReadOnly Property SystemId As String


[3966] [JScript] public function get SystemId( ) : String;


[3967] Description


[3968] Gets the value of the system identifier on the notation declaration.


[3969] Value


[3970] CloneNode


[3971] [C#] public override XmlNode CloneNode(bool deep);


[3972] [C++] public: XmlNode* CloneNode(bool deep);


[3973] [VB] Overrides Public Function CloneNode(ByVal deep As Boolean) As XmlNode


[3974] [JScript] public override function CloneNode(deep : Boolean) : XmlNode;


[3975] Description


[3976] Creates a duplicate of this node. Notation nodes cannot be cloned. Calling this method on an XmlNotation object throws an exception. true to recursively clone the subtree under the specified node; false to clone only the node itself.


[3977] WriteContentTo


[3978] [C#] public override void WriteContentTo(XmlWriter w);


[3979] [C++] public: void WriteContentTo(XmlWriter* w);


[3980] [VB] Overrides Public Sub WriteContentTo(ByVal w As XmlWriter)


[3981] [JScript] public override function WriteContentTo(w : XmlWriter);


[3982] Description


[3983] Saves the children of the node to the specified System.Xml.XmlWriter. The XmlWriter to which you want to save.


[3984] WriteTo


[3985] [C#] public override void WriteTo(XmlWriter w);


[3986] [C++] public: void WriteTo(XmlWriter* w);


[3987] [VB] Overrides Public Sub WriteTo(ByVal w As XmlWriter)


[3988] [JScript] public override function WriteTo(w : XmlWriter);


[3989] Description


[3990] Saves the node to the specified System.Xml.XmlWriter. The XmlWriter to which you want to save.


[3991] XmlParserContext class (System.Xml)


[3992] WriteTo


[3993] Description


[3994] Provides all the context information required by System.Xml.XmlTextReader or System.Xml.XmlValidatingReader to parse an XML fragment.


[3995] XmlParserContext


[3996] Example Syntax:


[3997] WriteTo


[3998] [C#] public XmlParserContext(XmlNameTable nt, XmlNamespaceManager nsMgr, string xmlLang, XmlSpace xmlSpace);


[3999] [C++] public: XmlParserContext(XmlNameTable* nt, XmlNamespaceManager* nsMgr, String* xmlLang, XmlSpace xmlSpace);


[4000] [VB] Public Sub New(ByVal nt As XmlNameTable, ByVal nsMgr As XmlNamespaceManager, ByVal xmlLang As String, ByVal xmlSpace As XmlSpace)


[4001] [JScript] public function XmlParserContext(nt : XmlNameTable, nsMgr : XmlNamespaceManager, xmlLang : String, xmlSpace : XmlSpace); Initializes a new instance of the XmlParserContext class with the specified values.


[4002] Description


[4003] Initializes a new instance of the XmlParserContext class with the specified values.


[4004] If nt and the name table used to construct the nsMgr are not the same, XmlParserContext does not recognize namespaces added to nsMgr and throws an System.Xml.XmlException when it encounters the unrecognized namespaces. The System.Xml.XmlNameTable to use to atomize strings. If this is null, the name table used to construct the nsMgr is used instead. The System.Xml.XmlNamespaceManager to use for looking up namespace information. The xml:lang scope. An System.Xml.XmlSpace value indicating the xml:space scope.


[4005] XmlParserContext


[4006] Example Syntax:


[4007] WriteTo


[4008] [C#] public XmlParserContext(XmlNameTable nt, XmlNamespaceManager nsMgr, string docTypeName, string pubId, string sysId, string internalSubset, string baseURI, string xmlLang, XmlSpace xmlSpace);


[4009] [C++] public: XmlParserContext(XmlNameTable* nt, XmlNamespaceManager* nsMgr, String* docTypeName, String* pubId, String* sysId, String* internalSubset, String* baseURI, String* xmlLang, XmlSpace xmlSpace);


[4010] [VB] Public Sub New(ByVal nt As XmlNameTable, ByVal nsMgr As XmlNamespaceManager, ByVal docTypeName As String, ByVal pubId As String, ByVal sysId As String, ByVal internalSubset As String, ByVal baseURI As String, ByVal xmlLang As String, ByVal xmlSpace As XmlSpace)


[4011] [JScript] public function XmlParserContext(nt : XmlNameTable, nsMgr : XmlNamespaceManager, docTypeName : String, pubId : String, sysId : String, internalSubset: String, baseURI: String, xmlLang: String, xmlSpace : XmlSpace);


[4012] Description


[4013] Initializes a new instance of the XmlParserContext class with the specified values.


[4014] This constructor supplies all DocumentType information requpired by System.Xml.XmlValidatingReader. If this XmlParserContext is passed to an System.Xml.XmlTextReader, all DTD information is ignored. The System.Xml.XmlNameTable to use to atomize strings. If this is null, the name table used to construct the nsMgr is used instead. The System.Xml.XmlNamespaceManager to use for looking up namespace information. The name of the document type declaration. The public identifier. The system identifier. The internal DTD subset. The base URI for the XML fragment (the location from which the fragment was loaded). The xml:lang scope. An System.Xml.XmlSpace value indicating the xml:space scope.


[4015] BaseURI


[4016] WriteTo


[4017] [C#] public string BaseURI {get; set;}


[4018] [C++] public: _property String* get_BaseURI( );public: _property void set_BaseURI(String*);


[4019] [VB] Public Property BaseURI As String


[4020] [JScript] public function get BaseURI( ) : String;public function set BaseURI(String);


[4021] Description


[4022] Gets or sets the base URI.


[4023] A networked XML document is comprised of chunks of data aggregated using various W3C standard inclusion mechanisms and therefore may contain nodes that come from different places.


[4024] DocTypeName


[4025] WriteTo


[4026] [C#] public string DocTypeName {get; set;}


[4027] [C++] public: _property String* get_DocTypeName( );public: _property void set_DocTypeName(String*);


[4028] [VB] Public Property DocTypeName As String


[4029] [JScript] public function get DocTypeName( ) : String;public function set DocTypeName(String);


[4030] Description


[4031] Gets or sets the name of the document type declaration.


[4032] This property, along with System.Xml.XmlParserContext.PublicId, System.Xml.XmlParserContext.SystemId, and System.Xml.XmlParserContext.InternalSubset, provides all the document type declaration information. It is used to find and load the necessary DTD information so that you get all the default attributes and entities defined in the DTD.


[4033] internalSubset


[4034] WriteTo


[4035] [C#] public string InternalSubset {get; set;}


[4036] [C++] public: _property String* get_InternalSubset( );public: _property void set_InternalSubset(String*);


[4037] [VB] Public Property InternalSubset As String


[4038] [JScript] public function get InternalSubset( ) : String;public function set InternalSubset(String);


[4039] Description


[4040] Gets or sets the internal DTD subset.


[4041] This property, along with System.Xml.XmlParserContext.DocTypeName, System.Xml.XmlParserContext.PublicId, and System.Xml.XmlParserContext.SystemId, provides all the document type declaration information. It is used to find and load the necessary DTD information so that you get all the default attributes and entities defined in the DTD.


[4042] NamespaceManager


[4043] WriteTo


[4044] [C#] public XmlNamespaceManager NamespaceManager {get; set;}


[4045] [C++] public: _property XmlNamespaceManager* get_NamespaceManager( );public: _property void set_NamespaceManager(XmlNamespaceManager*);


[4046] [VB] Public Property NamespaceManager As XmlNamespaceManager


[4047] [JScript] public function get NamespaceManager( ) : XmlNamespaceManager;public function set NamespaceManager(XmlNamespaceManager);


[4048] Description


[4049] Gets or sets the System.Xml.XmlNamespaceManager.


[4050] The NamespaceManager defines the current namespace scope and provides methods for looking up namespace information.


[4051] NameTable


[4052] WriteTo


[4053] [C#] public XmlNameTable NameTable {get; set;}


[4054] [C++] public: _property XmlNameTable* get_NameTable( );public: _property void set_NameTable(XmlNameTable*);


[4055] [VB] Public Property NameTable As XmlNameTable


[4056] [JScript] public function get NameTable( ) : XmlNameTable;public function set NameTable(XmlNameTable);


[4057] Description


[4058] Gets the System.Xml.XmlNameTable used to atomize strings.


[4059] PublicId


[4060] WriteTo


[4061] [C#] public string PublicId {get; set;}


[4062] [C++] public: _property String* get_PublicId( );public: _property void set_PublicId(String*);


[4063] [VB] Public Property PublicId As String


[4064] [JScript] public function get PublicId( ) : String;public function set PublicId(String);


[4065] Description


[4066] Gets or sets the public identifier.


[4067] This property, along with System.Xml.XmlParserContext.DocTypeName, System.Xml.XmlParserContext.SystemId, and System.Xml.XmlParserContext.InternalSubset, provides all the document type declaration information. It is used to find and load the required DTD information so that you get all the default attributes and entities defined in the DTD.


[4068] SystemId


[4069] WriteTo


[4070] [C#] public string SystemId {get; set;}


[4071] [C++] public: _property String* get_SystemId( );public: _property void set_SystemId(String*);


[4072] [VB] Public Property SystemId As String


[4073] [JScript] public function get SystemId( ) : String;public function set SystemId(String);


[4074] Description


[4075] Gets or sets the system identifier.


[4076] This property, along with System.Xml.XmlParserContext.DocTypeName, System.Xml.XmlParserContext.PublicId, and System.Xml.XmlParserContext.InternalSubset, provides all the document type declaration information. It is used to find and load the necessary DTD information so that you get all the default attributes and entities defined in the DTD.


[4077] XmlLang


[4078] WriteTo


[4079] [C#] public string XmlLang {get; set;}


[4080] [C++] public: _property String* get_XmlLang ;public: _property void set_XmlLang(String*);


[4081] [VB] Public Property XmlLang As String


[4082] [JScript] public function get XmlLang( ) : String;public function set XmlLang(String);


[4083] Description


[4084] Gets or sets the current xml:lang scope.


[4085] For details on valid xml:lang values, refer to section 2.12 of the W3C Extensible Markup Language (XML) 1.0 recommendation.


[4086] XmlSpace


[4087] WriteTo


[4088] [C#] public XmlSpace XmlSpace {get; set;}


[4089] [C++] public: _property XmlSpace get_XmlSpace( );public: _property void set_XmlSpace(XmlSpace);


[4090] [VB] Public Property XmlSpace As XmlSpace


[4091] [JScript] public function get XmlSpace( ) : XmlSpace;public function set XmlSpace(XmlSpace);


[4092] Description


[4093] Gets or sets the current xml:space scope.


[4094] XmlProcessingInstruction class (System.Xml)


[4095] ToString


[4096] Description


[4097] Represents a processing instruction, which XML defines to keep processor-specific information in the text of the document.


[4098] XmlProcessingInstruction


[4099] Example Syntax:


[4100] ToString


[4101] [C#] protected internal XmlProcessingInstruction(string target, string data, XmlDocument doc);


[4102] [C++] internal: XmlProcessingInstruction(String* target, String* data, XmlDocument* doc);


[4103] [VB] Protected Friend Sub New(ByVal target As String, ByVal data As String, ByVal doc As XmlDocument)


[4104] [JScript] package function XmlProcessingInstruction(target : String, data : String, doc : XmlDocument);


[4105] Description


[4106] Attributes


[4107] BaseURI


[4108] ChildNodes


[4109] Data


[4110] ToString


[4111] Description


[4112] Gets or sets the content of the processing instruction, excluding the target.


[4113] FirstChild


[4114] HasChildNodes


[4115] InnerText


[4116] ToString


[4117] Description


[4118] Gets or sets the concatenated values of the node and all its children.


[4119] InnerXml


[4120] IsReadOnly


[4121] Item


[4122] Item


[4123] LastChild


[4124] LocalName


[4125] ToString


[4126] Description


[4127] Gets the local name of the node.


[4128] Name


[4129] ToString


[4130] [C#] public override string Name {get;}


[4131] [C++] public: _property virtual String* get_Name( );


[4132] [VB] Overrides Public ReadOnly Property Name As String


[4133] [JScript] public function get Name( ) : String;


[4134] Description


[4135] Gets the qualified name of the node.


[4136] NamespaceURI


[4137] NextSibling


[4138] NodeType


[4139] ToString


[4140] Description


[4141] Gets the type of the current node.


[4142] OuterXml


[4143] OwnerDocument


[4144] ParentNode


[4145] Prefix


[4146] PreviousSibling


[4147] Target


[4148] ToString


[4149] Description


[4150] Gets the target of the processing instruction.


[4151] Value


[4152] ToString


[4153] [C#] public override string Value {get; set;}


[4154] [C++] public: _property virtual String* get_Value( );public: _property virtual void set_Value(String*);


[4155] [VB] Overrides Public Property Value As String


[4156] [JScript] public function get Value( ) : String;public function set Value(String);


[4157] Description


[4158] Gets or sets the value of the node.


[4159] CloneNode


[4160] [C#] public override XmlNode CloneNode(bool deep);


[4161] [C++] public: XmlNode* CloneNode(bool deep);


[4162] [VB] Overrides Public Function CloneNode(ByVal deep As Boolean) As XmlNode


[4163] [JScript] public override function CloneNode(deep : Boolean) : XmlNode;


[4164] Description


[4165] Creates a duplicate of this node.


[4166] Return Value: The duplicate node.


[4167] CloneNode serves as a copy constructor for nodes. For processing instruction nodes, the cloned node always includes the target and data. To see how this method behaves with other node types, see System.Xml.XmlNode.CloneNode(System.Boolean) method in the XmlNode class. true to recursively clone the subtree under the specified node; false to clone only the node itself.


[4168] WriteContentTo


[4169] [C#] public override void WriteContentTo(XmlWriter w);


[4170] [C++] public: void WriteContentTo(XmlWriter* w);


[4171] [VB] Overrides Public Sub WriteContentTo(ByVal w As XmlWriter)


[4172] [JScript] public override function WriteContentTo(w : XmlWriter);


[4173] Description


[4174] Saves all the children of the node to the specified System.Xml.XmlWriter. The XmlWriter to which you want to save.


[4175] WriteTo


[4176] [C#] public override void WriteTo(XmlWriter w);


[4177] [C++] public: void WriteTo(XmlWriter* w);


[4178] [VB] Overrides Public Sub WriteTo(ByVal w As XmlWriter)


[4179] [JScript] public override function WriteTo(w : XmlWriter);


[4180] Description


[4181] Saves the node to the specified System.Xml.XmlWriter. The XmlWriter to which you want to save.


[4182] XmlQualifiedName class (System.Xml)


[4183] WriteTo


[4184] Description


[4185] Represents an XML qualified name.


[4186] An XML qualified name is a namespace qualified local name, in the format namespace:localname.


[4187] WriteTo


[4188] [C#] public static readonly XmlQualifiedName Empty;


[4189] [C++] public: static XmlQualifiedName* Empty;


[4190] [VB] Public Shared ReadOnly Empty As XmlQualifiedName


[4191] [JScript] public static var Empty : XmlQualifiedName;


[4192] Description


[4193] Provides an empty XmlQualifiedName.


[4194] This field allows you to do the following: XmlQualifiedName Qname=new XmlQualifiedName (“item”,“http://www.contoso.com/”); Qname.IsEmpty; //Returns false. Qname.Empty; //Sets the namespace and local name to String.Empty. Qname.IsEmpty; //Returns true.


[4195] XmlQualifiedName


[4196] Example Syntax:


[4197] WriteTo


[4198] [C#] public XmlQualifiedName( );


[4199] [C++] public: XmlQualifiedName( );


[4200] [VB] Public Sub New( )


[4201] [JScript] public function XmlQualifiedName( ); Initializes a new instance of the XmlQualifedName class.


[4202] Description


[4203] Initializes a new instance of the XmlQualifedName class.


[4204] The object created has no name or namespace defined.


[4205] XmlQualifiedName


[4206] Example Syntax:


[4207] WriteTo


[4208] [C#] public XmlQualifiedName(string name);


[4209] [C++] public: XmlQualifiedName(String* name);


[4210] [VB] Public Sub New(ByVal name As String)


[4211] [JScript] public function XmlQualifiedName(name : String);


[4212] Description


[4213] Initializes a new instance of the XmlQualifedName class with the specified name.


[4214] The object created does not have a namespace defined. The local name to use as the name of the XmlQualifiedName object.


[4215] XmlQualifiedName


[4216] Example Syntax:


[4217] WriteTo


[4218] [C#] public XmlQualifiedName(string name, string ns);


[4219] [C++] public: XmlQualifiedName(String* name, String* ns);


[4220] [VB] Public Sub New(ByVal name As String, ByVal ns As String)


[4221] [JScript] public function XmlQualifiedName(name : String, ns : String);


[4222] Description


[4223] Initializes a new instance of the XmlQualifedName class with the specified name and namespace. The local name to use as the name of the XmlQualifiedName object. The namespace for the XmlQualifiedName object.


[4224] IsEmpty


[4225] WriteTo


[4226] [C#] public bool IsEmpty {get;}


[4227] [C++] public: _property bool get_IsEmpty( );


[4228] [VB] Public ReadOnly Property IsEmpty As Boolean


[4229] [JScript] public function get IsEmpty( ) : Boolean;


[4230] Description


[4231] Gets a value indicating whether the XmlQualifedName is empty.


[4232] Name


[4233] WriteTo


[4234] [C#] public string Name {get;}


[4235] [C++] public: _property String* get_Name( );


[4236] [VB] Public ReadOnly Property Name As String


[4237] [JScript] public function get Name( ) : String;


[4238] Description


[4239] Gets a string representation of the qualified name of the XmlQualifiedName.


[4240] Namespace


[4241] WriteTo


[4242] [C#] public string Namespace {get;}


[4243] [C++] public: _property String* get_Namespace( );


[4244] [VB] Public ReadOnly Property Namespace As String


[4245] [JScript] public function get Namespace( ) : String;


[4246] Description


[4247] Gets a string representation of the namespace of the XmlQualifiedName.


[4248] Equals


[4249] [C#] public override bool Equals(object other);


[4250] [C++] public: bool Equals(Object* other);


[4251] [VB] Overrides Public Function Equals(ByVal other As Object) As Boolean


[4252] [JScript] public override function Equals(other : Object) : Boolean;


[4253] Description


[4254] Checks if the specified XmlQualifiedName is the same instance object as this object.


[4255] Return Value: true if the two are the same instance object; otherwise false. The XmlQualifiedName to compare.


[4256] GetHashCode


[4257] [C#] public override int GetHashCode( );


[4258] [C++] public: int GetHashCode( );


[4259] [VB] Overrides Public Function GetHashCode( ) As Integer


[4260] [JScript] public override function GetHashCode( ) : int;


[4261] Description


[4262] Returns the hash code for the XmlQualifiedName.


[4263] Return Value: A hash code for this object.


[4264] op_Equality


[4265] [C#] public static bool operator==(XmlQualifiedName a, XmlQualifiedName b);


[4266] [C++] public: static bool op_Equality(XmlQualifiedName* a, XmlQualifiedName* b);


[4267] [VB] returnValue=XmlQualifiedName.op_Equality(a, b)


[4268] [JScript] returnValue=a==b;


[4269] Description


[4270] Compares two XmlQualifiedName objects.


[4271] Return Value: true if the two objects have the same name and namespace values; otherwise false. An XmlQualifiedName to compare. An XmlQualifiedName to compare.


[4272] op_Inequality


[4273] [C#] public static bool operator !=(XmlQualifiedName a, XmlQualifiedName b);


[4274] [C++] public: static bool op_Inequality(XmlQualifiedName* a, XmlQualifiedName* b);


[4275] [VB] returnValue=XmlQualifiedName.op_Inequality(a, b)


[4276] [JScript] returnValue=a !=b;


[4277] Description


[4278] Compares two XmlQualifiedName objects.


[4279] Return Value: true if the name and namespace values for the two objects differ; otherwise false. An XmlQualifiedName to compare. An XmlQualifiedName to compare.


[4280] ToString


[4281] [C#] public override string ToString( );


[4282] [C++] public: String* ToString( );


[4283] [VB] Overrides Public Function ToString( ) As String


[4284] [JScript] public override function ToString( ) : String; Returns the string value of the XmlQualifiedName.


[4285] Description


[4286] Returns the string value of the XmlQualifiedName.


[4287] Return Value: The string value of the XmlQualifiedName in the format of namespace:localname. If the object does not have a namespace defined, this method returns just the local name.


[4288] ToString


[4289] [C#] public static string ToString(string name, string ns);


[4290] [C++] public: static String* ToString(String* name, String* ns);


[4291] [VB] Public Shared Function ToString(ByVal name As String, ByVal ns As String) As String


[4292] [JScript] public static function ToString(name : String, ns : String) : String;


[4293] Description


[4294] Returns the string value of the XmlQualifiedName.


[4295] Return Value: The string value of the XmlQualifiedName in the format of namespace:localname. If the object does not have a namespace defined, this method returns just the local name. The name of the object. The namespace of the object.


[4296] XmlReader class (System.Xml)


[4297] ToString


[4298] Description


[4299] Represents a reader that provides fast, non-cached, forward-only access to XML data.


[4300] XmlReader provides forward-only, read-only access to a stream of XML data. The current node refers to the node on which the reader is positioned. The reader is advanced using any of the read methods and properties reflect the value of the current node.


[4301] XmlReader


[4302] Example Syntax:


[4303] ToString


[4304] [C#] protected XmlReader( );


[4305] [C++] protected: XmlReader( );


[4306] [VB] Protected Sub New( )


[4307] [JScript] protected function XmlReader( );


[4308] AttributeCount


[4309] ToString


[4310] [C#] public abstract int AttributeCount {get;}


[4311] [C++] public: _property virtual int get_AttributeCount( )=0;


[4312] [VB] MustOverride Public ReadOnly Property AttributeCount As Integer


[4313] [JScript] public abstract function get AttributeCount( ) : int;


[4314] Description


[4315] When overridden in a derived class, gets the number of attributes on the current node.


[4316] This property is relevant to Element, DocumentType and XmlDeclaration nodes only. (Other node types do not have attributes.) See System.Xml.XmlTextReader.AttributeCount (in the XmlTextReader class) for an example using this method.


[4317] BaseURI


[4318] ToString


[4319] [C#] public abstract string BaseURI {get;}


[4320] [C++] public: _property virtual String* get_BaseURI( )=0;


[4321] [VB] MustOverride Public ReadOnly Property BaseURI As String


[4322] [JScript] public abstract function get BaseURI( ) : String;


[4323] Description


[4324] When overridden in a derived class, gets the base URI of the current node.


[4325] A networked XML document is comprised of chunks of data aggregated using various W3C standard inclusion mechanisms and therefore contains nodes that come from different places. DTD entities are an example of this, but this is not limited to DTDs. The base URI tells you where these nodes came from. If there is no base URI for the nodes being returned (for example, they were parsed from an in-memory string), String.Empty is returned.


[4326] CanResolveEntity


[4327] ToString


[4328] [C#] public virtual bool CanResolveEntity {get;}


[4329] [C++] public: _property virtual bool get_CanResolveEntity( );


[4330] [VB] Overridable Public ReadOnly Property CanResolveEntity As Boolean


[4331] [JScript] public function get CanResolveEntity( ) : Boolean;


[4332] Description


[4333] Gets a value indicating whether this reader can parse and resolve entities.


[4334] This property always returns false for implementations of XmlReader that do not support schema or DTD information. In this case, calling System.Xml.XmlReader.ResolveEntity throws an exception.


[4335] Depth


[4336] ToString


[4337] [C#] public abstract int Depth {get;}


[4338] [C++] public: _property virtual int get_Depth( )=0;


[4339] [VB] MustOverride Public ReadOnly Property Depth As Integer


[4340] [JScript] public abstract function get Depth( ) : int;


[4341] Description


[4342] When overridden in a derived class, gets the depth of the current node in the XML document.


[4343] EOF


[4344] ToString


[4345] [C#] public abstract bool EOF {get;}


[4346] [C++] public: _property virtual bool get_EOF( )=0;


[4347] [VB] MustOverride Public ReadOnly Property EOF As Boolean


[4348] [JScript] public abstract function get EOF( ) : Boolean;


[4349] Description


[4350] When overridden in a derived class, gets a value indicating whether the reader is positioned at the end of the stream.


[4351] HasAttributes


[4352] ToString


[4353] [C#] public virtual bool HasAttributes {get;}


[4354] [C++] public: _property virtual bool get_HasAttributes( );


[4355] [VB] Overridable Public ReadOnly Property HasAttributes As Boolean


[4356] [JScript] public function get HasAttributes( ) : Boolean;


[4357] Description


[4358] Gets a value indicating whether the current node has any attributes.


[4359] HasValue


[4360] ToString


[4361] [C#] public abstract bool HasValue {get;}


[4362] [C++] public: _property virtual bool get_HasValue( )=0;


[4363] [VB] MustOverride Public ReadOnly Property HasValue As Boolean


[4364] [JScript] public abstract function get HasValue( ) : Boolean;


[4365] Description


[4366] When overridden in a derived class, gets a value indicating whether the current node can have a System.Xml.XmlReader.Value.


[4367] The following table lists node types that have a value to return.


[4368] IsDefault


[4369] ToString


[4370] [C#] public abstract bool IsDefault {get;}


[4371] [C++] public: _property virtual bool get_IsDefault( )=0;


[4372] [VB] MustOverride Public ReadOnly Property IsDefault As Boolean


[4373] [JScript] public abstract function get IsDefault( ) : Boolean;


[4374] Description


[4375] When overridden in a derived class, gets a value indicating whether the current node is an attribute that was generated from the default value defined in the DTD or schema.


[4376] IsDefault always returns false for implementations of XmlReader that do not support schema or DTD information. This property applies only to an attribute node.


[4377] IsEmptyElement


[4378] ToString


[4379] [C#] public abstract bool IsEmptyElement {get;}


[4380] [C++] public: _property virtual bool get_IsEmptyElement( )=0;


[4381] [VB] MustOverride Public ReadOnly Property IsEmptyElement As Boolean


[4382] [JScript] public abstract function get IsEmptyElement( ) : Boolean;


[4383] Description


[4384] When overridden in a derived class, gets a value indicating whether the current node is an empty element (for example,).


[4385] This property enables you to determine the difference between the following: (IsEmptyElement is true).


[4386] Item


[4387] ToString


[4388] [C#] public abstract string this[int i] {get;}


[4389] [C++] public: _property virtual String* get_Item(int i)=0;


[4390] [VB] MustOverride Public Default ReadOnly Property Item(ByVal i As Integer) As String


[4391] [JScript] abstract returnValue=XmlReaderObject.Item(i); When overridden in a derived class, gets the value of the attribute.


[4392] Description


[4393] When overridden in a derived class, gets the value of the attribute with the specified index.


[4394] This property does not move the reader. The index of the attribute.


[4395] Item


[4396] ToString


[4397] [C#] public abstract string this[string name] {get;}


[4398] [C++] public: _property virtual String* get_Item(String* name)=0;


[4399] [VB] MustOverride Public Default ReadOnly Property Item(ByVal name As String) As String


[4400] [JScript] abstract returnValue=XmlReaderObject.Item(name);


[4401] Description


[4402] When overridden in a derived class, gets the value of the attribute with the specified System.Xml.XmlReader.Name.


[4403] This property does not move the reader. The qualified name of the attribute.


[4404] Item


[4405] ToString


[4406] [C#] public abstract string this[string name, string namespaceURI] {get;}


[4407] [C++] public: _property virtual String* get_Item(String* name, String* namespaceUFI=0;


[4408] [VB] MustOverride Public Default ReadOnly Property Item(ByVal name As String, ByVal namespaceURI As String) As String


[4409] [JScript] abstract returnValue=XmlReaderObject.Item(name, namespaceURI);


[4410] Description


[4411] When overridden in a derived class, gets the value of the attribute with the specified System.Xml.XmlReader.LocalName and System.Xml.XmlReader.NamespaceURI.


[4412] This property does not move the reader. The local name of the attribute. The namespace URI of the attribute.


[4413] LocalName


[4414] ToString


[4415] [C#] public abstract string LocalName {get;}


[4416] [C++] public: _property virtual String* get_LocalName( )=0;


[4417] [VB] MustOverride Public ReadOnly Property LocalName As String


[4418] [JScript] public abstract function get LocalName( ) : String;


[4419] Description


[4420] When overridden in a derived class, gets the local name of the current node.


[4421] Name


[4422] ToString


[4423] [C#] public abstract string Name {get;}


[4424] [C++] public: _property virtual String* get_LocalName( )=0;


[4425] [Vb] MustOverride Public ReadOnly Property Name As String


[4426] [JScript] public abstract function get Name( ) : String;


[4427] Description


[4428] When overridden in a derived class, gets the qualified name of the current node.


[4429] Name


[4430] ToString


[4431] [C#] public abstract string NamespaceURI {get;}


[4432] [C++] public: _property virtual String* get_NamespaceURI( )=0;


[4433] [VB] MustOverride Public ReadOnly Property NamespaceURI As String


[4434] [JScript] public abstract function get NamespaceURI( ) : String;


[4435] Description


[4436] When overridden in a derived class, gets the namespace URI (as defined in the W3C Namespace specification) of the node on which the reader is positioned.


[4437] This property is relevant to Element and Attribute nodes only.


[4438] NameTable


[4439] ToString


[4440] [C#] public abstract XmlNameTable NameTable {get;}


[4441] [C++] public: _property virtual XmlNameTable* get_NameTable( )=0;


[4442] [VB] MustOverride Public ReadOnly Property NameTable As XmlNameTable


[4443] [JScript] public abstract function get NameTable( ) : XmlNameTable;


[4444] Description


[4445] When overridden in a derived class, gets the System.Xml.XmlNameTable associated with this implementation.


[4446] All node and attribute names returned from this class are atomized using the NameTable. When the same name is returned multiple times (for example,Customer ), then the same String object will be returned for that name. This makes it possible for you to write efficient code that does object comparisons on these strings instead of expensive string comparisons.


[4447] NodeType


[4448] ToString


[4449] [C#] public abstract XmlNodeType NodeType {get;}


[4450] [C++] public: _property virtual XmlNodeType get_NodeType( )=0;


[4451] [VB] MustOverride Public ReadOnly Property NodeType As XmlNodeType


[4452] [JScript] public abstract function get NodeType( ) : XmlNodeType;


[4453] Description


[4454] When overridden in a derived class, gets the type of the current node.


[4455] Prefix


[4456] ToString


[4457] [C#] public abstract string Prefix {get;}


[4458] [C++] public: property virtual String* get_Prefix( )=0;


[4459] [VB] MustOverride Public ReadOnly Property Prefix As String


[4460] [JScript] public abstract function get Prefix( ) : String;


[4461] Description


[4462] When overridden in a derived class, gets the namespace prefix associated with the current node.


[4463] QuoteChar


[4464] ToString


[4465] [C#] public abstract char QuoteChar {get;}


[4466] [C++] public: _property virtual_wchar_t get_QuoteChar( )=0;


[4467] [VB] MustOverride Public ReadOnly Property QuoteChar As Char


[4468] [JScript] public abstract function get QuoteChar( ) : Char;


[4469] Description


[4470] When overridden in a derived class, gets the quotation mark character used to enclose the value of an attribute node.


[4471] This property applies only to an attribute node.


[4472] ReadState


[4473] ToString


[4474] [C#] public abstract ReadState ReadState {get;}


[4475] [C++] public: _property virtual ReadState get_ReadState( )=0;


[4476] [VB] MustOverride Public ReadOnly Property ReadState As ReadState


[4477] [JScript] public abstract function get ReadState( ) : ReadState;


[4478] Description


[4479] When overridden in a derived class, gets the state of the reader.


[4480] Value


[4481] ToString


[4482] [C#] public abstract string Value {get;}


[4483] [C++] public: _property virtual String* get_Value( )=0;


[4484] [VB] MustOverride Public ReadOnly Property Value As String


[4485] [JScript] public abstract function get Value( ) : String;


[4486] Description


[4487] When overridden in a derived class, gets the text value of the current node.


[4488] XmlLang


[4489] ToString


[4490] [C#] public abstract string XmlLang {get;}


[4491] [C++] public: _property virtual String* get_XmlLang( )=0;


[4492] [VB] MustOverride Public ReadOnly Property XmlLang As String


[4493] [JScript] public abstract function get XmlLang( ) : String;


[4494] Description


[4495] When overridden in a derived class, gets the current xml:lang scope.


[4496] This property represents the xml:lang scope within which the current node resides. For example, here is an XML fragment with xml:lang set to US English in the root element: Fred When the reader is positioned on the name element, you can use this property to find that it is in the scope of a US English xml:lang attribute.


[4497] XmlSpace


[4498] ToString


[4499] [C#] public abstract XmlSpace XmlSpace {get;}


[4500] [C++] public: _property virtual XmlSpace get_XmlSpace( )=0;


[4501] [VB] MustOverride Public ReadOnly Property XmlSpace As XmlSpace


[4502] [JScript] public abstract function get XmlSpace( ) : XmlSpace;


[4503] Description


[4504] When overridden in a derived class, gets the current xml:space scope.


[4505] Close


[4506] [C#] public abstract void Close( );


[4507] [C++] public: virtual void Close( )=0;


[4508] [VB] MustOverride Public Sub Close( )


[4509] [JScript] public abstract function Close( );


[4510] Description


[4511] When overridden in a derived class, changes the System.Xml.XmlReader.ReadState to Closed.


[4512] This method also releases any resources held during reading. If Close has already been called, no action is performed.


[4513] GetAttribute


[4514] [C#] public abstract string GetAttribute(int i);


[4515] [C++] public: virtual String* GetAttribute(int i)=0;


[4516] [VB] MustOverride Public Function GetAttribute(ByVal i As Integer) As String


[4517] [JScript] public abstract function GetAttribute(i : int) : String;


[4518] Description


[4519] When overridden in a derived class, gets the value of the attribute with the specified index.


[4520] Return Value: The value of the specified attribute. This method does not move the reader. The index of the attribute. The index is zero-based. (The first attribute has index 0.)


[4521] GetAttribute


[4522] [C#] public abstract string GetAttribute(string name);


[4523] [C++] public: virtual String* GetAttribute(String* name)=0;


[4524] [VB] MustOverride Public Function GetAttribute(ByVal name As String) As String


[4525] [JScript] public abstract function GetAttribute(name : String) : String; When overridden in a derived class, gets the value of an attribute.


[4526] Description


[4527] When overridden in a derived class, gets the value of the attribute with the specified System.Xml.XmlReader.Name.


[4528] Return Value: The value of the specified attribute. If the attribute is not found, String.Empty is returned.


[4529] This method does not move the reader. The qualified name of the attribute.


[4530] GetAttribute


[4531] [C#] public abstract string GetAttribute(string name, string namespaceURI);


[4532] [C++] public: virtual String* GetAttribute(String* name, String* namespaceURI)=0;


[4533] [VB] MustOverride Public Function GetAttribute(ByVal name As String, ByVal namespaceURI As String) As String


[4534] [JScript] public abstract function GetAttribute(name : String, namespaceURI : String) : String;


[4535] Description


[4536] When overridden in a derived class, gets the value of the attribute with the specified System.Xml.XmlReader.LocalName and System.Xml.XmlReader.NamespaceURI.


[4537] Return Value: The value of the specified attribute. If the attribute is not found, String.Empty is returned. This method does not move the reader.


[4538] The following XML contains an attribute in a specific namespace: You can lookup the dt:type attribute using one argument (prefix and local name) or two arguments (local name and namespace URI): String dt=reader.GetAttribute(“dt:type”); String dt2=reader.GetAttribute(“type”,“urn:datatypes”); To lookup the xmlns:dt attribute, use one of the following arguments: String dt3=reader.GetAttribute(“xmlns:dt”); String dt4=reader.GetAttribute(“dt”,http://www.w3.org/2000/xmlns/); You can also get this information using the System.Xml.XmlReader.Prefix property. The local name of the attribute. The namespace URI of the attribute.


[4539] IsName


[4540] [C#] public static bool IsName(string str);


[4541] [C++] public: static bool IsName(Striflg* str);


[4542] [VB] Public Shared Function IsName(ByVal str As String) As Boolean


[4543] [JScript] public static function IsName(str : String) : Boolean;


[4544] Description


[4545] Gets a value indicating whether the string argument is a valid XML name.


[4546] Return Value: true if the name is valid; otherwise, false.


[4547] This method uses the W3C XML 1.0 Recommendation (http://www.w3.org/TR/2000/REC-xml-20001006#NT-Name) to determine whether the name is valid. The name to validate.


[4548] IsNameToken


[4549] [C#] public static bool IsNameToken(string str);


[4550] [C++] public: static bool IsNameToken(String* str);


[4551] [VB] Public Shared Function IsNameToken(ByVal str As String) As Boolean


[4552] [JScript] public static function IsNameToken(str : String) : Boolean;


[4553] Description


[4554] Gets a value indicating whether or not the string argument is a valid XML name token.


[4555] Return Value: true if it is a valid name token; otherwise false.


[4556] This method uses the W3C XML 1.0 Recommendation (http://www.w3.org/TR/2000/REC-xml-20001006#NT-Name) to determine whether the name token is valid. The name token to validate.


[4557] IsStartElement


[4558] [C#] public virtual bool IsStartElement( );


[4559] [C++] public: virtual bool IsStartElement( );


[4560] [VB] Overridable Public Function IsStartElement( ) As Boolean


[4561] [JScript] public function IsStartElement( ) : Boolean; Tests if the current content node is a start tag.


[4562] Description


[4563] Calls System.Xml.XmlReader.MoveToContent and tests if the current content node is a start tag or empty element tag.


[4564] Return Value: true if MoveToContent finds a start tag or empty element tag; false if a node type other than XmlNodeType.Element was found.


[4565] This method skips whitespace, comments, and processing instructions until the reader is positioned on a content node. The method then tests if the current node is an element.


[4566] IsStartElement


[4567] [C#] public virtual bool IsStartElement(string name);


[4568] [C++] public: virtual bool IstartElement(String* name);


[4569] [VB] Overridable Public Function IsStartElement(ByVal name As String) As Boolean


[4570] [JScript] public function IsStartElement(name : String) : Boolean;


[4571] Description


[4572] Calls System.Xml.XmlReader.MoveToContent and tests if the current content node is a start tag or empty element tag and if the System.Xml.XmlReader.Name property of the element found matches the given argument.


[4573] Return Value: true if the resulting node is an element and the Name property matches the specified string.


[4574] This method skips whitespace, comments, and processing instructions until the reader is positioned on a content node. The method then tests if the current node is an element. The string matched against the Name property of the element found.


[4575] IsStartElement


[4576] [C#] public virtual bool IsStartElement(string localname, string ns);


[4577] [C++] public: virtual bool IsStartElement(String* localname, String* ns);


[4578] [VB] Overridable Public Function IsStartElement(ByVal localname As String, ByVal ns As String) As Boolean


[4579] [JScript] public function IsStartElement(localname : String, ns : String) Boolean;


[4580] Description


[4581] Calls System.Xml.XmlReader.MoveToContent and tests if the current content node is a start tag or empty element tag and if the System.Xml.XmlReader.LocalName and System.Xml.XmlReader.NamespaceURI properties of the element found match the given strings.


[4582] Return Value: true if the resulting node is an element.


[4583] This method skips whitespace, comments, and processing instructions until the reader is positioned on a content node. The method then tests if the current node is an element. The string to match against the LocalName property of the element found. The string to match against the NamespaceURI property of the element found.


[4584] LookupNamespace


[4585] [C#] public abstract string LookupNamespace(string prefix);


[4586] [C++] public: virtual String* LookupNamespace(String* prefix)=0;


[4587] [VB] MustOverride Public Function LookupNamespace(ByVal prefix As String) As String


[4588] [JScript] public abstract function LookupNamespace(prefix : String) : String;


[4589] Description


[4590] When overridden in a derived class, resolves a namespace prefix in the current element's scope.


[4591] Return Value: The namespace URI to which the prefix maps or null if no matching prefix is found.


[4592] In the preceding XML, if the reader is positioned on the href attribute, the prefix a is resolved by calling reader.LookupNamesapce(“a”). The returned string is urn:456. The prefix whose namespace URI you want to resolve. To match the default namespace, pass an empty string. This string does not have to be atomized.


[4593] MoveToAttribute


[4594] [C#] public abstract void MoveToAttribute(int i);


[4595] [C++] public: virtual void MoveToAttribute(int i)=0;


[4596] [VB] MustOverride Public Sub MoveToAttribute(ByVal i As Integer)


[4597] [JScript] public abstract function MoveToAttribute(i: int);


[4598] Description


[4599] When overridden in a derived class, moves to the attribute with the specified index. The index of the attribute.


[4600] MoveToAttribute


[4601] [C#] public abstract bool MoveToAttribute(string name);


[4602] [C++] public: virtual bool MoveToAttribute(String* name)=0;


[4603] [VB] MustOverride Public Function MoveToAttribute(ByVal name As String) As Boolean


[4604] [JScript] public abstract function MoveToAttribute(name : String) : Boolean; When overridden in a derived class, moves to the specified attribute.


[4605] Description


[4606] When overridden in a derived class, moves to the attribute with the specified System.Xml.XmlReader.Name.


[4607] Return Value: true if the attribute is found; otherwise, false. If false, the reader's position does not change.


[4608] After calling MoveToAttribute, the System.Xml.XmlReader.Name, System.Xml.XmlReader.NamespaceURI, and System.Xml.XmlReader.Prefix properties reflect the properties of that attribute. The qualified name of the attribute.


[4609] MoveToAttribute


[4610] [C#] public abstract bool MoveToAttribute(string name, string ns);


[4611] [C++] public: virtual bool MoveToAttribute(String* name, String* ns)=0;


[4612] [VB] MustOverride Public Function MoveToAttribute(ByVal name As String, ByVal ns As String) As Boolean


[4613] [JScript] public abstract function MoveToAttribute(name : String, ns : String) : Boolean;


[4614] Description


[4615] When overridden in a derived class, moves to the attribute with the specified System.Xml.XmlReader.LocalName and System.Xml.XmlReader.NamespaceURI.


[4616] Return Value: true if the attribute is found; otherwise, false. If false, the reader's position does not change.


[4617] After calling MoveToAttribute, the System.Xml.XmlReader.Name, System.Xml.XmlReader.NamespaceURI, and System.Xml.XmlReader.Prefix properties reflect the properties of that attribute. The local name of the attribute. The namespace URI of the attribute.


[4618] MoveToContent


[4619] [C#] public virtual XmlNodeType MoveToContent( );


[4620] [C++] public: virtual XmlNodeType MoveToContent( );


[4621] [VB] Overridable Public Function MoveToContent( ) As XmlNodeType


[4622] [JScript] public function MoveToContent( ) : XmlNodeType;


[4623] Description


[4624] Checks whether the current node is a content (non-whitespace text, CDATA, Element, EndElement, EntityReference, or EndEntity) node. If the node is not a content node, the reader skips ahead to the next content node or end of file. It skips over nodes of the following type: ProcessingInstruction, DocumentType, Comment, Whitespace, or SignificantWhitespace.


[4625] Return Value: The System.Xml.XmlReader.NodeType of the current node found by the method or XmlNodeType.None if the reader has reached the end of the input stream.


[4626] If the current node is an attribute node, this method moves the reader back to the element that owns the attribute.


[4627] MoveToElement


[4628] [C#] public abstract bool MoveToElement( );


[4629] [C++] public: virtual bool MoveToElement( )=0;


[4630] [VB] MustOverride Public Function MoveToElement( ) As Boolean


[4631] [JScript] public abstract function MoveToElement( ) : Boolean;


[4632] Description


[4633] When overridden in a derived class, moves to the element that contains the current attribute node.


[4634] Return Value: true if the reader is positioned on an attribute (the reader moves to the element that owns the attribute); false if the reader is not positioned on an attribute (the position of the reader does not change). Use this method to return to an element after navigating through its attributes. This method moves the reader to one of the following node types: Element, DocumentType, or XmlDeclaration.


[4635] MoveToFirstAttribute


[4636] [C#] public abstract bool MoveToFirstAttribute( );


[4637] [C++] public: virtual bool MoveToFirstAttribute( )=0;


[4638] [VB] MustOverride Public Function MoveToFirstAttribute( ) As Boolean


[4639] [JScript] public abstract function MoveToFirstAttribute( ) : Boolean;


[4640] Description


[4641] When overridden in a derived class, moves to the first attribute.


[4642] Return Value: true if an attribute exists (the reader moves to the first attribute); otherwise, false (the position of the reader does not change).


[4643] MoveToNextAttribute


[4644] [C#] public abstract bool MoveToNextAttribute( );


[4645] [C++] public: virtual bool MoveToNextAttribute( )=0;


[4646] [VB] MustOverride Public Function MoveToNextAttribute( ) As Boolean


[4647] [JScript] public abstract function MoveToNextAttribute( ) : Boolean;


[4648] Description


[4649] When overridden in a derived class, moves to the next attribute.


[4650] Return Value: true if there is a next attribute; false if there are no more attributes.


[4651] If the current node is an element node, this method is equivalent to System.Xml.XmlReader.MoveToFirstAttribute. If MoveToNextAttribute returns true, the reader moves to the next attribute; otherwise, the position of the reader does not change.


[4652] Read


[4653] [C#] public abstract bool Read( );


[4654] [C++] public: virtual bool Read( )=0;


[4655] [VB] MustOverride Public Function Read( ) As Boolean


[4656] [JScript] public abstract function Read( ) : Boolean;


[4657] Description


[4658] When overridden in a derived class, reads the next node from the stream.


[4659] Return Value: true if the next node was read successfully; false if there are no more nodes to read.


[4660] When an XmlReader is first created and initialized, there is no information available. You must call Read to read the first node.


[4661] ReadAttributeValue


[4662] [C#] public abstract bool ReadAttributeValue( );


[4663] [C++] public: virtual bool ReadAttributeValue( )=0;


[4664] [VB] MustOverride Public Function ReadAttributeValue( ) As Boolean


[4665] [JScript] public abstract function ReadAttributeValue( ) : Boolean;


[4666] Description


[4667] When overridden in a derived class, parses the attribute value into one or more Text or EntityReference nodes.


[4668] Return Value: true if there are nodes to return.


[4669] Use this method after calling System.Xml.XmlReader.MoveToAttribute(System.String) to read through the text or entity reference nodes that make up the attribute value. The System.Xml.XmlReader.Depth of the attribute value nodes is one plus the depth of the attribute node; it increments and decrements by one when you step into and out of general entity references.


[4670] ReadElementString


[4671] [C#] public virtual string ReadElementString( );


[4672] [C++] public: virtual String* ReadElementString( );


[4673] [VB] Overridable Public Function ReadElementString( ) As String


[4674] [JScript] public function ReadElementString( ) : String; This is a helper method for reading simple text-only elements.


[4675] Description


[4676] Reads a text-only element.


[4677] Return Value: The text contained in the element that was read. An empty string if the element is empty (or).


[4678] This is a helper method for reading simple text-only elements. It calls System.Xml.XmlReader.MoveToContent to find the next content node and then parses its value as a simple string.


[4679] ReadElementString


[4680] [C#] public virtual string ReadElementString(string name);


[4681] [C++] public: virtual String* ReadElementString(String* name);


[4682] [VB] Overridable Public Function ReadElementString(ByVal name As String) As String


[4683] [JScript] public function ReadElementString(name : String) : String;


[4684] Description


[4685] Checks that the System.Xml.XmlReader.Name property of the element found matches the given string before reading a text-only element.


[4686] Return Value: The text contained in the element that was read. An empty string if the element is empty (or).


[4687] This is a helper method for reading simple text-only elements. It calls System.Xml.XmlReader.MoveToContent to find the next content node and then parses its value as a simple string. The name to check.


[4688] ReadElementString


[4689] [C#] public virtual string ReadElementString(string localname, string ns);


[4690] [C++] public: virtual String* ReadElementString(String* localname, String* ns);


[4691] [VB] Overridable Public Function ReadElementString(ByVal localname As String, ByVal ns As String) As String


[4692] [JScript] public function ReadElementString(localname : String, ns : String) : String;


[4693] Description


[4694] Checks that the System.Xml.XmlReader.LocalName and System.Xml.XmlReader.NamespaceURI properties of the element found matches the given strings before reading a text-only element.


[4695] Return Value: The text contained in the element that was read. An empty string if the element is empty (or).


[4696] This is a helper method for reading simple text-only elements. It calls System.Xml.XmlReader.MoveToContent to find the next content node and then parses its value as a simple string. The local name to check. The namespace URI to check.


[4697] ReadEndElement


[4698] [C#] public virtual void ReadEndElement( );


[4699] [C++] public: virtual void ReadEndElement( );


[4700] [VB] Overridable Public Sub ReadEndElement( )


[4701] [JScript] public function ReadEndElement( );


[4702] Description


[4703] Checks that the current content node is an end tag and advances the reader to the next node.


[4704] ReadInnerXml


[4705] [C#] public abstract string ReadInnerXml( );


[4706] [C++] public: virtual String* ReadInnerXml( )=0;


[4707] [VB] MustOverride Public Function ReadInnerXml( ) As String


[4708] [JScript] public abstract function ReadInnerXml( ) : String;


[4709] Description


[4710] When overridden in a derived class, reads all the content, including markup, as a string.


[4711] Return Value: All the XML content, including markup, in the current node. If the current node has no children, an empty string is returned.


[4712] This method returns all the content of the current node including the markup. The current node (start tag) and corresponding end node (end tag) are not returned. For example, if you had the following: this ReadInnerXml returns this This method handles element and attribute nodes in the following way: Node Type Child Content Return Value Position After the Call Element text text After the end tag.


[4713] ReadOuterXml


[4714] [C#] public abstract string ReadOuterXml( );


[4715] [C++] public: virtual String* ReadOuterXml( )=0;


[4716] [VB] MustOverride Public Function ReadOuterXml( ) As String


[4717] [JScript] public abstract function ReadOuterXml( ) : String;


[4718] Description


[4719] When overridden in a derived class, reads the content, including markup, representing this node and all its children.


[4720] Return Value: If the reader is positioned on an element or an attribute node, this method returns all the XML content, including markup, of the current node and all its children; otherwise, it returns an empty string.


[4721] This method is similar to System.Xml.XmlReader.ReadInnerXml except it also returns the start and end tags.


[4722] ReadStartElement


[4723] [C#] public virtual void ReadStartElement( );


[4724] [C++] public: virtual void ReadStartElement( );


[4725] [VB] Overridable Public Sub ReadStartElement( )


[4726] [JScript] public function ReadStartElement( ); Checks that the current node is an element and advances the reader to the next node.


[4727] Description


[4728] Checks that the current node is an element and advances the reader to the next node.


[4729] This method calls System.Xml.XmlReader.IsStartElement followed by System.Xml.XmlReader.Read to position you on the content of that element found in the input stream.


[4730] ReadStartElement


[4731] [C#] public virtual void ReadStartElement(string name);


[4732] [C++] public: virtual void ReadtartElement(String* name);


[4733] [VB] Overridable Public Sub ReadStartElement(ByVal name As String)


[4734] [JScript] public function ReadStartElement(name : String);


[4735] Description


[4736] Checks that the current content node is an element with the given System.Xml.XmlReader.Name and advances the reader to the next node.


[4737] A call to this method corresponds to a call to System.Xml.XmlReader.IsStartElement followed by a call to System.Xml.XmlReader.Read. The qualified name of the element.


[4738] ReadStartElement


[4739] [C#] public virtual void ReadStartElement(string localname, string ns);


[4740] [C++] public: virtual void ReadStartElement(String* localname, String* ns);


[4741] [VB] Overridable Public Sub ReadStartElement(ByVal localname As String, ByVal ns As String)


[4742] [JScript] public function ReadStartElement(localname : String, ns : String);


[4743] Description


[4744] Checks that the current content node is an element with the given System.Xml.XmlReader.LocalName and System.Xml.XmlReader.NamespaceURI and advances the reader to the next node.


[4745] A call to this method corresponds to a call to System.Xml.XmlReader.IsStartElement followed by a call to System.Xml.XmlReader.Read. The local name of the element. The namespace URI of the element.


[4746] ReadString


[4747] [C#] public abstract string ReadString( );


[4748] [C++] public: virtual String* ReadString( )=0;


[4749] [VB] MustOverride Public Function ReadString( ) As String


[4750] [JScript] public abstract function ReadString( ) : String;


[4751] Description


[4752] When overridden in a derived class, reads the contents of an element or text node as a string.


[4753] Return Value: The contents of the element or text node. This can be an empty string if the reader is positioned on something other than an element or text node, or if there is no more text content to return in the current context.


[4754] If positioned on an element, ReadString concatenates all text, significant whitespace, whitespace, and CDATA section nodes together and returns the concatenated data as the element content. It stops when any markup is encountered. This could occur in a mixed content model, or when an element end tag is read.


[4755] ResolveEntity


[4756] [C#] public abstract void ResolveEntity( );


[4757] [C++] public: virtual void ResolveEntity( )=0;


[4758] [VB] MustOverride Public Sub ResolveEntity( )


[4759] [JScript] public abstract function ResolveEntity( );


[4760] Description


[4761] When overridden in a derived class, resolves the entity reference for EntityReference nodes.


[4762] If the reader is positioned on an EntityReference node (XmlNodeType.EntityReference), if System.Xml.XmlReader.Read is called after calling this method, the entity replacement text is parsed. When the entity replacement text is finished, an EndEntity node is returned to close the entity reference scope.


[4763] Skip


[4764] [C#] public virtual void Skip( );


[4765] [C++] public: virtual void Skip( );


[4766] [VB] Overridable Public Sub Skip( )


[4767] [JScript] public function Skip( );


[4768] Description


[4769] Skips the current element.


[4770] In the following XML input if the reader is positioned on the node or any of its attributes, calling Skip positions the reader to the node.


[4771] XmlResolver class (System.Xml)


[4772] ToString


[4773] Description


[4774] Resolves external XML resources named by a URI. This class is abstract.


[4775] XmlResolver is used to resolve external XML resources such as entities, DTDs or schemas. It is also used to process include and import elements found in Extensible StyleSheet Language (XSL) stylesheets or XML Schema Definition language (XSD) schemas.


[4776] XmlResolver


[4777] Example Syntax:


[4778] ToString


[4779] [C#] protected XmlResolver( );


[4780] [C++] protected: XmlResolver( );


[4781] [VB] Protected Sub New( )


[4782] [JScript] protected function XmlResolver( );


[4783] Credentials


[4784] ToString


[4785] [C#] ICredentials Credentials {set;}


[4786] [C++] public: _property virtual void set_Credentials(ICredentials*)=0;


[4787] [VB] Property Credentials As ICredentials


[4788] [JScript] public abstract function set Credentials(ICredentials);


[4789] Description


[4790] When overridden in a derived class, sets the credentials used to authenticate Web requests.


[4791] If the virtual directory is configured to allow anonymous access, this property does not need to be set. Otherwise, the credentials of the user must be supplied. If credentials are needed but not supplied, the resolver uses default credentials (CredentialCache.DefaultCredential).


[4792] GetEntity


[4793] [C#] public abstract object GetEntity(Uri absoluteUri, string role, Type ofObjectToReturn);


[4794] [C++] public: virtual Object* GetEntity(Uri* absoluteUri, String* role, Type* ofObjectToReturn)=0;


[4795] [VB] MustOverride Public Function GetEntity(ByVal absoluteUri As Uri, ByVal role As String, ByVal ofObjectToReturn As Type) As Object


[4796] [JScript] public abstract function GetEntity(absoluteUri : Uri, role : String, ofObjectToReturn : Type) : Object;


[4797] Description


[4798] When overridden in a derived class, maps a URI to an object containing the actual resource.


[4799] Return Value: A System.IO.Stream object or null if a type other than stream is specified.


[4800] This method is used when the caller wants to map a given URI into the object containing the actual resource that the URI represents. The type of object returned is negotiable however the implementation must always support System.IO.Stream. The URI returned from System.Xml.XmlResolver.ResolveUri(System.Uri,System.String) The current version does not use this parameter when resolving URIs. This is provided for future extensibility purposes. For example, this can be mapped to the xlink:role and used as an implementation specific argument in other scenarios. The type of object to return. The current version only returns System.IO.Stream objects.


[4801] ResolveUri


[4802] [C#] public abstract Uri ResolveUri(Uri baseUri, string relativeUri);


[4803] [C++] public: virtual Uri* ResolveUri(Uri* baseUri, String* relativeUri)=0;


[4804] [VB] MustOverride Public Function ResolveUri(ByVal baseUri As Uri, ByVal relativeUri As String) As Uri


[4805] [JScript] public abstract function ResolveUri(baseUri : Uri, relativeUri : String) : Uri;


[4806] Description


[4807] When overridden in a derived class, resolves the absolute URI from the base and relative URIs.


[4808] Return Value: The absolute URI or null if the relative URI can not be resolved.


[4809] The absolute URI may be used as the base URI for any subsequent requests for entities that are relative to this URI. The base URI used to resolve the relative URI The URI to resolve. The URI can be absolute or relative. If absolute, this value effectively replaces the baseUri value. If relative, it combines with the baseUri to make an absolute URI.


[4810] XmlSignificantWhitespace class (System.Xml)


[4811] ToString


[4812] Description


[4813] Represents whitespace between markup in a mixed content mode or whitespace withing an xml:space=‘preserve’ scope. This is also referred to as significant whitespace. These nodes are created automatically at System.Xml.XmlDocument.Load(System.String) time only if the System.Xml.XmlDocument.PreserveWhitespace flag is true.


[4814] XmlSignificantWhitespace


[4815] Example Syntax:


[4816] ToString


[4817] [C#] protected internal XmlSignificantWhitespace(string strData, XmlDocument doc);


[4818] [C++] internal: XmlSignificantWhitespace(String* strData, XmlDocument* doc);


[4819] [VB] Protected Friend Sub New(ByVal strData As String, ByVal doc As XmlDocument)


[4820] [JScript] package function XmlSignificantWhitespace(strData : String, doc : XmlDocument);


[4821] Description


[4822] Attributes


[4823] BaseURI


[4824] ChildNodes


[4825] Data


[4826] FirstChild


[4827] HasChildNodes


[4828] InnerText


[4829] InnerXml


[4830] IsReadOnly


[4831] Item


[4832] Item


[4833] LastChild


[4834] Length


[4835] LocalName


[4836] ToString


[4837] Description


[4838] Gets the local name of the node.


[4839] Name


[4840] ToString


[4841] [C#] public override string Name {get;}


[4842] [C++] public: _property virtual String* get_Name( );


[4843] [VB] Overrides Public ReadOnly Property Name As String


[4844] [JScpt] public function get Name( ) : String;


[4845] Description


[4846] Gets the qualified name of the node.


[4847] NamespaceURI


[4848] NextSibling


[4849] NodeType


[4850] ToString


[4851] Description


[4852] Gets the type of the current node.


[4853] OuterXml


[4854] OwnerDocument


[4855] ParentNode


[4856] Prefix


[4857] PreviousSibling


[4858] Value


[4859] ToString


[4860] Description


[4861] Gets or sets the value of the node.


[4862] CloneNode


[4863] [C#] public override XmlNode CloneNode(bool deep);


[4864] [C++] public: XmlNode* CloneNode(bool deep);


[4865] [VB] Overrides Public Function CloneNode(ByVal deep As Boolean) As XmlNode


[4866] [JScript] public override function CloneNode(deep : Boolean) : XmlNode;


[4867] Description


[4868] Creates a duplicate of this node.


[4869] Return Value: The duplicate node.


[4870] This method serves as a generic copy constructor for nodes. The duplicate node has no parent (ParentNode returns null). true to recursively clone the subtree under the specified node; false to clone only the node itself (and its attributes if the node is an XmlElement).


[4871] WriteContentTo


[4872] [C#] public override void WriteContentTo(XmlWriter w);


[4873] [C++] public: void WriteContentTo(XmlWriter* w);


[4874] [VB] Overrides Public Sub WriteContentTo(ByVal w As XmlWriter)


[4875] [JScript] public override function WriteContentTo(w : XmlWriter);


[4876] Description


[4877] Saves all the children of the node to the specified XmlWriter. The XmlWriter where you want to save the current node.


[4878] WriteTo


[4879] [C#] public override void WriteTo(XmlWriter w);


[4880] [C++] public: void WriteTo(XmlWriter* w);


[4881] [VB] Overrides Public Sub WriteTo(ByVal w As XmlWriter)


[4882] [JScript] public override function WriteTo(w : XmlWriter);


[4883] Description


[4884] Saves the node to the specified XmlWriter. The XmlWriter where you want to save the node.


[4885] XmlSpace enumeration (System.Xml)


[4886] WriteTo


[4887] Description


[4888] Specifies the current xml:space scope.


[4889] WriteTo


[4890] [C#] public const XmlSpace Default;


[4891] [C++] public: const XmlSpace Default;


[4892] [VB] Public Const Default As XmlSpace


[4893] [JScript] public var Default : XmlSpace;


[4894] Description


[4895] The xml:space scope equals default.


[4896] WriteTo


[4897] [C#] public const XmlSpace None;


[4898] [C++] public: const XmlSpace None;


[4899] [VB] Public Const None As XmlSpace


[4900] [JScript] public var None : XmlSpace;


[4901] Description


[4902] No xml:space scope.


[4903] WriteTo


[4904] [C#] public const XmlSpace Preserve;


[4905] [C++] public: coust XmlSpace Preserve; [VB] Public Const Preserve As XmlSpace


[4906] [JScript] public var Preserve : XmlSpace;


[4907] Description


[4908] The xml:space scope equals preserve.


[4909] XmlText class (System.Xml)


[4910] ToString


[4911] Description


[4912] Represents the text content of an element or attribute.


[4913] XmlText


[4914] Example Syntax:


[4915] ToString


[4916] [C#] protected internal XmlText(string strData, XmlDocument doc);


[4917] [C++] internal: XmlText(String* strData, XmlDocument* doc);


[4918] [VB] Protected Friend Sub New(ByVal strData As String, ByVal doc As XmlDocument)


[4919] [JScript] package function XmlText(strData : String, doc : XmlDocument);


[4920] Description


[4921] Attributes


[4922] BaseURI


[4923] ChildNodes


[4924] Data


[4925] FirstChild


[4926] HasChildNodes


[4927] InnerText


[4928] InnerXml


[4929] IsReadOnly


[4930] Item


[4931] Item


[4932] LastChild


[4933] Length


[4934] LocalName


[4935] ToString


[4936] Description


[4937] Gets the local name of the node.


[4938] Name


[4939] ToString


[4940] [C#] public override string Name {get;}


[4941] [C++] public: _property virtual String* get_Name( );


[4942] [VB] Overrides Public ReadOnly Property Name As String


[4943] [JScript] public function get Name( ) : String;


[4944] Description


[4945] Gets the qualified name of the node.


[4946] NamespaceURI


[4947] NextSibling


[4948] NodeType


[4949] ToString


[4950] Description


[4951] Gets the type of the current node.


[4952] OuterXml


[4953] OwnerDocument


[4954] ParentNode


[4955] Prefix


[4956] PreviousSibling


[4957] Value


[4958] ToString


[4959] Description


[4960] Gets or sets the value of the node.


[4961] CloneNode


[4962] [C#] public override XmlNode CloneNode(bool deep);


[4963] [C++] public: XmlNode* CloneNode(bool deep);


[4964] [VB] Overrides Public Function CloneNode(ByVal deep As Boolean) As XmlNode


[4965] [JScript] public override function CloneNode(deep : Boolean) : XmlNode;


[4966] Description


[4967] Creates a duplicate of this node.


[4968] Return Value: The cloned node.


[4969] CloneNode serves as a copy constructor for nodes. For text nodes, the cloned node always includes the data value. To see how this method behaves with other node types, see System.Xml.XmlNode.CloneNode(System.Boolean) method in the XmlNode class. true to recursively clone the subtree under the specified node; false to clone only the node itself.


[4970] SplitText


[4971] [C#] public virtual XmlText SplitText(int offset);


[4972] [C++] public: virtual XmlText* SplitText(int offset);


[4973] [VB] Overridable Public Function SplitText(ByVal offset As Integer) As XmlText


[4974] [JScript] public function SplitText(offset : int) : XmlText;


[4975] Description


[4976] Splits the node into two nodes at the specified offset, keeping both in the tree as siblings.


[4977] After SplitText is called, the original node contains all the content up to the offset point. A new node of the same type, contains all the content at and after the offset point, and is inserted as the next sibling of the original node. When the offset is equal to the length of this node, the new node has no data. The offset at which to split the node.


[4978] WriteContentTo


[4979] [C#] public override void WriteContentTo(XmlWriter w);


[4980] [C++] public: void WriteContentTo(XmlWriter* w);


[4981] [VB] Overrides Public Sub WriteContentTo(ByVal w As XmlWriter)


[4982] [JScript] public override function WriteContentTo(w : XmlWriter);


[4983] Description


[4984] Saves all the children of the node to the specified System.Xml.XmlWriter. The XmlWriter to which you want to save.


[4985] WriteTo


[4986] [C#] public override void WriteTo(XmlWriter w);


[4987] [C++] public: void WriteTo(XmlWriter* w);


[4988] [VB] Overrides Public Sub WriteTo(ByVal w As XmlWriter)


[4989] [JScript] public override function WriteTo(w : XmlWriter);


[4990] Description


[4991] Saves the node to the specified System.Xml.XmlWriter. The XmlWriter to which you want to save.


[4992] XmlTextReader class (System.Xml)


[4993] WriteTo


[4994] Description


[4995] Represents a reader that provides fast, non-cached, forward-only access to XML data.


[4996] XmlTextReader provides forward-only, read-only access to a stream of XML data. The current node refers to the node on which the reader is positioned. The reader is advanced using any of the read methods and properties reflect the value of the current node.


[4997] XmlTextReader


[4998] Example Syntax:


[4999] WriteTo


[5000] [C#] protected XmlTextReader( );


[5001] [C++] protected: XmlTextReader( );


[5002] [VB] Protected Sub New( )


[5003] [JScript] protected function XmlTextReader( ); Initializes a new instance of the XmlTextReader.


[5004] Description


[5005] Initializes a new instance of the XmlTextReader.


[5006] XmlTextReader


[5007] Example Syntax:


[5008] WriteTo


[5009] [C#] public XmlTextReader(Stream input);


[5010] [C++] public: XmlTextReader(Stream* input);


[5011] [VB] Public Sub New(ByVal input As Stream)


[5012] [JScript] public function XmlTextReader(input : Stream); Initializes a new instance of the XmlTextReader.


[5013] Description


[5014] Initializes a new instance of the XmlTextReader class with the specified stream.


[5015] The XmlTextReader decodes the stream by wrapping it in a System.IO.StreamReader and calling SwitchEncoding according to the rules for XML encoding. The stream containing the XML data to read.


[5016] XmlTextReader


[5017] Example Syntax:


[5018] WriteTo


[5019] [C#] public XmlTextReader(string url);


[5020] [C++] public: XmlTextReader(String* url);


[5021] [VB] Public Sub New(ByVal url As String)


[5022] [JScript] public function XmlTextReader(url : String);


[5023] Description


[5024] Initializes a new instance of the XmlTextReader class with the specified file. The URL for the file containing the XML data.


[5025] XmlTextReader


[5026] Example Syntax:


[5027] WriteTo


[5028] [C#] public XmlTextReader(TextReader input);


[5029] [C++] public: XmlTextReader(TextReader* input);


[5030] [VB] Public Sub New(ByVal input As TextReader)


[5031] [JScript] public function XmlTextReader(input : TextReader);


[5032] Description


[5033] Initializes a new instance of the XmlTextReader class with the specified System.IO.TextReader.


[5034] It is assumed that the TextReader is already set to the correct encoding. This is used by clients that have already read some things from the stream in a multi-part MIME scenario. The TextReader containing the XML data to read.


[5035] XmlTextReader


[5036] Example Syntax:


[5037] WriteTo


[5038] [C#] protected XmlTextReader(XmlNameTable nt);


[5039] [C++] protected: XmlTextReader(XmlNameTable* nt);


[5040] [VB] Protected Sub New(ByVal nt As XmlNameTable)


[5041] [JScript] protected function XmlTextReader(nt : XmlNameTable); Initializes a new instance of the XmlTextReader class.


[5042] Description


[5043] Initializes a new instance of the XmlTextReader class with the specified XmlNameTable. The XmlNameTable to use.


[5044] XmlTextReader


[5045] Example Syntax:


[5046] WriteTo


[5047] [C#] public XmlTextReader(Stream input, XmlNameTable nt);


[5048] [C++] public: XmlTextReader(Stream* input, XmlNameTable* nt);


[5049] [VB] Public Sub New(ByVal input As Stream, ByVal nt As XmlNameTable)


[5050] [JScript] public function XmlTextReader(input : Stream, nt : XmlNameTable);


[5051] Description


[5052] Initializes a new instance of the XmlTextReader class with the specified stream and System.Xml.XmlNameTable.


[5053] The XmlTextReader decodes the stream by wrapping it in a System.IO.StreamReader and calling SwitchEncoding according to the rules for XML encoding. The stream containing the XML data to read. The XmlNameTable to use.


[5054] XmlTextReader


[5055] Example Syntax:


[5056] WriteTo


[5057] [C#] public XmlTextReader(string url, Stream input);


[5058] [C++] public: XmlTextReader(String* url, Stream* input);


[5059] [VB] Public Sub New(ByVal url As String, ByVal input As Stream)


[5060] [JScript] public function XmlTextReader(url : String, input : Stream);


[5061] Description


[5062] Initializes a new instance of the XmlTextReader class with the specified URL and stream. The URL to use for resolving external resources. The System.Xml.XmlTextReader.BaseURI is set to this value. The stream containing the XML data to read.


[5063] XmlTextReader


[5064] Example Syntax:


[5065] WriteTo


[5066] [C#] public XmlTextReader(string url, TextReader input);


[5067] [C++] public: XmlTextReader(String* url, TextReader* input);


[5068] [VB] Public Sub New(ByVal url As String, ByVal input As TextReader)


[5069] [JScript] public function XmlTextReader(url : String, input : TextReader);


[5070] Description


[5071] Initializes a new instance of the XmlTextReader class with the specified URL and System.IO.TextReader. The URL to use for resolving external resources. The System.Xml.XmlTextReader.BaseURI is set to this value. The TextReader containing the XML data to read.


[5072] XmlTextReader


[5073] Example Syntax:


[5074] WriteTo


[5075] [C#] public XmlTextReader(string url, XmlNameTable nt);


[5076] [C++] public: XmlTextReader(String* url, XmlNameTable* nt);


[5077] [VB] Public Sub New(ByVal url As String, ByVal nt As XmlNameTable)


[5078] [JScript] public function XmlTextReader(url : String, nt : XmlNameTable);


[5079] Description


[5080] Initializes a new instance of the XmlTextReader class with the specified file and System.Xml.XmlNameTable. The URL for the file containing the XML data to read. The XmlNameTable to use.


[5081] XmlTextReader


[5082] Example Syntax:


[5083] WriteTo


[5084] [C#] public XmlTextReader(TextReader input, XmlNameTable nt);


[5085] [C++] public: XmlTextReader(TextReader* input, XmlNameTable* nt);


[5086] [VB] Public Sub New(ByVal input As TextReader, ByVal nt As XmlNameTable)


[5087] [JScript] public function XmlTextReader(input : TextReader, nt : XmlNameTable);


[5088] Description


[5089] Initializes a new instance of the XmlTextReader class with the specified System.IO.TextReader and System.Xml.XmlNameTable.


[5090] It is assumed that the TextReader is already set to the correct encoding. This is used by clients that have already read some things from the stream in a multi-part MIME scenario. The TextReader containing the XML data to read. The XmlNameTable to use.


[5091] XmlTextReader


[5092] Example Syntax:


[5093] WriteTo


[5094] [C#] public XmlTextReader(Stream xmlFragment, XmlNodeType fragType, XmlParserContext context);


[5095] [C++] public: XmlTextReader(Stream* xmlFragment, XmlNodeType fragType, XmlParserContext* context);


[5096] [VB] Public Sub New(ByVal xmlFragment As Stream, ByVal fragType As XmlNodeType, ByVal context As XmlParserContext)


[5097] [JScript] public function XmlTextReader(xmlFragment : Stream, fragType : XmlNodeType, context : XmlParserContext);


[5098] Description


[5099] Initializes a new instance of the XmlTextReader class with the specified values.


[5100] This constructor parses the given string as a fragment of XML. If the XML fragment is an element or attribute, you can bypass the root level rules for well-formed XML documents. The stream containing the XML fragment to parse. The System.Xml.XmlNodeType of the XML fragment. This also determines what the fragment can contain. (See table below.) The System.Xml.XmlParserContext in which the xmlFragment is to be parsed. This includes the System.Xml.XmlNameTable to use, the namespace scope, the current xml:lang, and the xml:space scope.


[5101] XmlTextReader


[5102] Example Syntax:


[5103] WriteTo


[5104] [C#] public XmlTextReader(string url, Stream input, XmlNameTable ut);


[5105] [C++] public: XmlTextReader(String* url, Stream* input, XmlNameTable* nt);


[5106] [VB] Public Sub New(ByVal url As String, ByVal input As Stream, ByVal nt As XmlNameTable)


[5107] [JScript] public function XmlTextReader(url : String, input : Stream, nt : XmlNameTable);


[5108] Description


[5109] Initializes a new instance of the XmlTextReader class with the specified URL, stream and System.Xml.XmlNameTable. The URL to use for resolving external resources. The System.Xml.XmlTextReader.BaseURI is set to this value. The stream containing the XML data to read. The XmlNameTable to use.


[5110] XmlTextReader


[5111] Example Syntax:


[5112] WriteTo


[5113] [C#] public XmlTextReader(string url, TextReader input, XmlNameTable nt);


[5114] [C++] public: XmlTextReader(String* url, TextReader* input, XmlNameTable* nt);


[5115] [VB] Public Sub New(ByVal url As String, ByVal input As TextReader, ByVal nt As XmlNameTable)


[5116] [JScript] public function XmlTextReader(url : String, input : TextReader, nt : XmlNameTable);


[5117] Description


[5118] Initializes a new instance of the XmlTextReader class with the specified URL, System.IO.TextReader and System.Xml.XmlNameTable. The URL to use for resolving external resources. The System.Xml.XmlTextReader.BaseURI is set to this value. The TextReader containing the XML data to read. The XmlNameTable to use.


[5119] XmlTextReader


[5120] Example Syntax:


[5121] WriteTo


[5122] [C#] public XmlTextReader(string xmlFragment, XmlNodeType fragType, XmlParserContext context);


[5123] [C++] public: XmlTextReader(String* xmlFragment, XmlNodeType fragType, XmlParserContext* context);


[5124] [VB] Public Sub New(ByVal xmlFragment As String, ByVal fragType As XmlNodeType, ByVal context As XmlParserContext)


[5125] [JScript] public function XmlTextReader(xmlFragment : String, fragType : XmlNodeType, context : XmlParserContext);


[5126] Description


[5127] Initializes a new instance of the XmlTextReader class with the specified values.


[5128] This constructor parses the given string as a fragment of XML. If the XML fragment is an element or attribute, you can bypass the root level rules for well-formed XML documents. This constructor can handle strings returned from System.Xml.XmlTextReader.ReadInnerXml. The string containing the XML fragment to parse. The System.Xml.XmlNodeType of the XML fragment. This also determines what the fragment string can contain. (See table below.) The System.Xml.XmlParserContext in which the xmlFragment is to be parsed. This includes the System.Xml.XmlNameTable to use, the namespace scope, the current xml:lang, and the xml:space scope.


[5129] AttributeCount


[5130] WriteTo


[5131] [C#] public override int AttributeCount {get;}


[5132] [C++] public: _property virtual int get_AttributeCount( );


[5133] [VB] Overrides Public ReadOnly Property AttributeCount As Integer


[5134] [JScript] public function get AttributeCount( ) : int;


[5135] Description


[5136] Gets the number of attributes on the current node.


[5137] This property is relevant to Element, DocumentType and XmlDeclaration nodes only. (Other node types do not have attributes.) The following example displays all attributes on the current node.


[5138] BaseURI


[5139] WriteTo


[5140] [C#] public override string BaseURI {get;}


[5141] [C++] public: _property virtual String* get_BaseURI( );


[5142] [VB] Overrides Public ReadOnly Property BaseURI As String


[5143] [JScript] public function get BaseURI( ) : String;


[5144] Description


[5145] Gets the base URI of the current node.


[5146] A networked XML document is comprised of chunks of data aggregated using various W3C standard inclusion mechanisms and therefore contains nodes that come from different places. DTD entities are an example of this, but this is not limited to DTDs. The base URI tells you where these nodes came from. If there is no base URI for the nodes being returned (for example, they were parsed from an in-memory string), String.Empty is returned.


[5147] CanResolveEntity


[5148] Depth


[5149] WriteTo


[5150] Description


[5151] Gets the depth of the current node in the XML document.


[5152] Encoding


[5153] WriteTo


[5154] [C#] public Encoding Encoding {get;}


[5155] [C++] public: _Property Encoding* get_Encoding( );


[5156] [VB] Public ReadOnly Property Encoding As Encoding


[5157] [JScript] public function get Encoding( ) : Encoding;


[5158] Description


[5159] Gets the encoding of the document.


[5160] All encoding standards supported by the underlying operating system are supported.


[5161] EOF


[5162] WriteTo


[5163] [C#] public override bool EOF {get;}


[5164] [C++] public: _property virtual bool get_EOF( );


[5165] [VB] Overrides Public ReadOnly Property EOF As Boolean


[5166] [JScript] public function get EOF( ) : Boolean;


[5167] Description


[5168] Gets a value indicating whether the reader is positioned at the end of the stream.


[5169] HasAttributes


[5170] HasValue


[5171] WriteTo


[5172] Description


[5173] Gets a value indicating whether the current node can have a System.Xml.XmlTextReader.Value.


[5174] The following table lists node types that have a value to return.


[5175] IsDefault


[5176] WriteTo


[5177] [C#] public override bool IsDefault {get;}


[5178] [C++] public: _property virtual bool get_IsDefault( );


[5179] [VB] Overrides Public ReadOnly Property IsDefault As Boolean


[5180] [JScript] public function get IsDefault( ) : Boolean;


[5181] Description


[5182] Gets a value indicating whether the current node is an attribute that was generated from the default value defined in the DTD or schema.


[5183] This property applies only to attribute nodes.


[5184] IsEmptyElement


[5185] WriteTo


[5186] [C#] public override bool IsEmptyElement {get;}


[5187] [C++] public: _property virtual bool get_IsEmptyElement( );


[5188] [VB] Overrides Public ReadOnly Property IsEmptyElement As Boolean


[5189] [JScript] public function get IsEmptyElement( ) : Boolean;


[5190] Description


[5191] Gets a value indicating whether the current node is an empty element (for example,).


[5192] This property enables you to determine the difference between the following: (IsEmptyElement is true).


[5193] Item


[5194] WriteTo


[5195] [C#] public override string this[int i] {get;}


[5196] [C++] public: _property virtual String* get_Item(int i);


[5197] [VB] Overrides Public Default ReadOnly Property Item(ByVal i As Integer) As String


[5198] [JScript] returnValue=XmlTextReaderObject.Item(i); Gets the value of the attribute.


[5199] Description


[5200] Gets the value of the attribute with the specified index.


[5201] This property does not move the reader. The index of the attribute.


[5202] Item


[5203] WriteTo


[5204] [C#] public override string this[string name] {get;}


[5205] [C++] public: _property virtual String* get_Item(String* name);


[5206] [VB] Overrides Public Default ReadOnly Property Item(ByVal name As String) As String


[5207] [JScript] returnValue=XmlTextReaderObject.Item(name);


[5208] Description


[5209] Gets the value of the attribute with the specified name.


[5210] This property does not move the reader. The qualified name of the attribute.


[5211] Item


[5212] WriteTo


[5213] [C#] public override string this[string name, string namespaceURI] {get;}


[5214] [C++] public: _property virtual String* get_Item(String* name, String* namespaceURI);


[5215] [VB] Overrides Public Default ReadOnly Property Item(ByVal name As String, ByVal namespaceURI As String) As String


[5216] [JScript] returnValue=XmlTextReaderObject.Item(name, namespaceURI);


[5217] Description


[5218] Gets the value of the attribute with the specified local name and namespace URI.


[5219] This property does not move the reader. The local name of the attribute. The namespace URI of the attribute.


[5220] LineNumber


[5221] WriteTo


[5222] [C#] public int LineNumber {get;}


[5223] [C++] public: _property int get_LineNumber( );


[5224] [VB] Public ReadOnly Property LineNumber As Integer


[5225] [JScript] public function get LineNumber( ) : int;


[5226] Description


[5227] Gets the current line number.


[5228] This property is most commonly used for error reporting, but can be called at any time. The starting value for this property is 1.


[5229] LinePosition


[5230] WriteTo


[5231] [C#] public int LinePosition {get;}


[5232] [C++] public: _property int get_LinePosition( );


[5233] [VB] Public ReadOnly Property LinePosition As Integer


[5234] [JScript] public function get LinePosition( ) : int;


[5235] Description


[5236] Gets the current line position.


[5237] This property is most commonly used for error reporting, but can be called at any time. The property's starting value is 1.


[5238] LocalName


[5239] WriteTo


[5240] [C#] public override string LocalName {get;}


[5241] [C++] public: _property virtual String* get_LocalName( );


[5242] [VB] Overrides Public ReadOnly Property LocalName As String


[5243] [JScript] public function get LocalName( ) : String;


[5244] Description


[5245] Gets the local name of the current node.


[5246] Name


[5247] WriteTo


[5248] [C#] public override string Name {get;}


[5249] [C++] public: _property virtual String* get_Name( );


[5250] [VB] Overrides Public ReadOnly Property Name As String


[5251] [JScript] public function get Name( ) : String;


[5252] Description


[5253] Gets the qualified name of the current node.


[5254] Namespaces


[5255] WriteTo


[5256] [C#] public bool Namespaces {get; set;}


[5257] [C++] public: _property bool get_Namespaces( );public: _property void set_Namespaces(bool);


[5258] [VB] Public Property Namespaces As Boolean


[5259] [JScript] public function get Namespaces( ) : Boolean;public function set Namespaces(Boolean);


[5260] Description


[5261] Gets or sets a value indicating whether to do namespace support.


[5262] This property cannot be set after a read operation has occurred.


[5263] NamespaceURI


[5264] WriteTo


[5265] [C#] public override string NamespaceURI {get;}


[5266] [C++] public: _property virtual String* get_NamespaceURI( );


[5267] [VB] Overrides Public ReadOnly Property NamespaceURI As String


[5268] [JScript] public function get NamespaceURI( ) : String;


[5269] Description


[5270] Gets the namespace URI (as defined in the W3C Namespace specification) of the node on which the reader is positioned.


[5271] This property is relevant to Element and Attribute nodes only.


[5272] NameTable


[5273] WriteTo


[5274] [C#] public override XmlNameTable NameTable {get;}


[5275] [C++] public: _property virtual XmlNameTable* get_NameTable( );


[5276] [VB] Overrides Public ReadOnly Property NameTable As XmlNameTable


[5277] [JScript] public function get NameTable( ) : XmlNameTable;


[5278] Description


[5279] Gets the System.Xml.XmlNameTable associated with this implementation.


[5280] All node and attribute names returned from this class are atomized using the NameTable. When the same name is returned multiple times (for example, Customer), then the same String object will be returned for that name. This makes it possible for you to write efficient code that does object comparisons on these strings instead of expensive string comparisons.


[5281] NodeType


[5282] WriteTo


[5283] [C#] public override XmlNodeType NodeType {get;}


[5284] [C++] public: _property virtual XmlNodeType get_NodeType( );


[5285] [VB] Overrides Public ReadOnly Property NodeType As XmlNodeType


[5286] [JScript] public function get NodeType( ) : XmlNodeType;


[5287] Description


[5288] Gets the type of the current node.


[5289] This property never returns the following XmlNodeType types: Document, DocumentFragment, Entity, EndEntity, or Notation.


[5290] Normalization


[5291] WriteTo


[5292] [C#] public bool Normalization {get; set;}


[5293] [C++] public: _property bool get_Normalization( );public: _property void set_Normalization(bool);


[5294] [VB] Public Property Normalization As Boolean


[5295] [JScript] public function get Normalization( ) : Boolean;public function set Normalization(Boolean);


[5296] Description


[5297] Gets or sets a value indicating whether to normalize whitespace and attribute values.


[5298] This property can be changed at any time and takes affect on the next read operation.


[5299] Prefix


[5300] WriteTo


[5301] [C#] public override string Prefix {get;}


[5302] [C++] public: _property virtual String* get_Prefix( );


[5303] [VB] Overrides Public ReadOnly Property Prefix As String


[5304] [JScript] public function get Prefix( ) : String;


[5305] Description


[5306] Gets the namespace prefix associated with the current node.


[5307] QuoteChar


[5308] WriteTo


[5309] [C#] public override char QuoteChar {get;}


[5310] [C++] public: _property virtual_wchar_t get_QuoteChar( );


[5311] [VB] Overrides Public ReadOnly Property QuoteChar As Char


[5312] [JScript] public function get QuoteChar( ) : Char;


[5313] Description


[5314] Gets the quotation mark character used to enclose the value of an attribute node.


[5315] This property applies only to an attribute node.


[5316] ReadState


[5317] WriteTo


[5318] [C#] public override ReadState ReadState {get;}


[5319] [C++] public: _property virtual ReadState get_ReadState( );


[5320] [VB] Overrides Public ReadOnly Property ReadState As ReadState


[5321] [JScript] public function get ReadState( ) : ReadState;


[5322] Description


[5323] Gets the state of the reader.


[5324] Value


[5325] WriteTo


[5326] [C#] public override string Value {get;}


[5327] [C++] public: _property virtual String* get_Value( );


[5328] [VB] Overrides Public ReadOnly Property Value As String


[5329] [JScript] public function get Value( ) : String;


[5330] Description


[5331] Gets the text value of the current node.


[5332] WhitespaceHandling


[5333] WriteTo


[5334] [C#] public WhitespaceHandling WhitespaceHandling {get; set;}


[5335] [C++] public: _property WhitespaceHandling get_WhitespaceHandling( );public: _property void set_WhitespaceHandling(WhitespaceHandling);


[5336] [VB] Public Property WhitespaceHandling As WhitespaceHandling


[5337] [JScript] public function get WhitespaceHandling( ) : WhitespaceHandling;public function set WhitespaceHandling(WhitespaceHandling);


[5338] Description


[5339] Gets or sets a value that specifies how whitespace is handled.


[5340] This property can be changed at any time and takes affect on the next read operation.


[5341] XmlLang


[5342] WriteTo


[5343] [C#] public override string XmlLang {get;}


[5344] [C++] public: _property virtual String* get_XmlLang( );


[5345] [VB] Overrides Public ReadOnly Property XmlLang As String


[5346] [JScript] public function get XmlLang( ) : String;


[5347] Description


[5348] Gets the current xml:lang scope.


[5349] This property represents the xml:lang scope within which the current node resides. For example, here is an XML fragment with xml:lang set to US English in the root element: Fred When the reader is positioned on the name element, you can use this property to find that it is in the scope of a US English xml:lang attribute.


[5350] XmlResolver


[5351] WriteTo


[5352] [C#] XmlResolver XmlResolver {set;}


[5353] [C++] public: _property void set_XmlResolver(XmlResolver*);


[5354] [VB] Property XmlResolver As XmlResolver


[5355] [JScript] public function set XmlResolver(XmlResolver);


[5356] Description


[5357] Sets the System.Xml.XmlResolver used for resolving DTD references.


[5358] The reader uses XmlResolver to resolve the location of the file loaded into the reader and also to resolve DTD references. For example, if your XML included the DOCTYPE declaration, the reader resolves this external file and ensures that the DTD is well-formed. The reader does not use the DTD for validation.


[5359] XmlSpace


[5360] WriteTo


[5361] [C#] public override XmlSpace XmlSpace {get;}


[5362] [C++] public: _property virtual XmlSpace get_XmlSpace( );


[5363] [VB] Overrides Public ReadOnly Property XmlSpace As XmlSpace


[5364] [JScript] public function get XmlSpace( ) : XmlSpace;


[5365] Description


[5366] Gets the current xml:space scope.


[5367] Close


[5368] [C#] public override void Close( );


[5369] [C++] public: void Close( );


[5370] [VB] Overrides Public Sub Close( )


[5371] [JScript] public override function Close( );


[5372] Description


[5373] Changes the System.Xml.XmlReader.ReadState to Closed.


[5374] This method also releases any resources held while reading. If this reader was constructed using a stream, this method also calls Close on the underlying stream.


[5375] GetAttribute


[5376] [C#] public override string GetAttribute(int i);


[5377] [C++] public: String* GetAttribute(int i);


[5378] [VB] Overrides Public Function GetAttribute(ByVal i As Integer) As String


[5379] [JScript] public override function GetAttribute(i : int) : String; Gets the value of an attribute.


[5380] Description


[5381] Gets the value of the attribute with the specified index.


[5382] Return Value: The value of the specified attribute.


[5383] This method does not move the reader. The index of the attribute. The index is zero-based. (The first attribute has index 0.)


[5384] GetAttribute


[5385] [C#] public override string GetAttribute(string name);


[5386] [C++] public: String* GetAttribute(String* name);


[5387] [VB] Overrides Public Function GetAttribute(ByVal name As String) As String


[5388] [JScript] public override function GetAttribute(name : String) : String;


[5389] Description


[5390] Gets the value of the attribute with the specified name.


[5391] Return Value: The value of the specified attribute. If the attribute is not found, String.Empty is returned.


[5392] This method does not move the reader. The qualified name of the attribute.


[5393] GetAttribute


[5394] [C#] public override string GetAttribute(string localName, string namespaceURI);


[5395] [C++] public: String* GetAttribute(String* localName, String* namespaceURI);


[5396] [VB] Overrides Public Function GetAttribute(ByVal localName As String, ByVal namespaceURI As String) As String


[5397] [JScript] public override function GetAttribute(localName : String, namespaceURI : String) : String;


[5398] Description


[5399] Gets the value of the attribute with the specified local name and namespace URI.


[5400] Return Value: The value of the specified attribute. If the attribute is not found, String.Empty is returned. This method does not move the reader.


[5401] The following XML contains an attribute in a specific namespace: You can lookup the dt:type attribute using one argument (prefix and local name) or two arguments (local name and namespace URI): String dt=reader.GetAttribute(“dt:type”); String dt2=reader.GetAttribute(“type”,“urn:datatypes”); To lookup the xmlns:dt attribute, use one of the following arguments: String dt3=reader.GetAttribute(“xmlns:dt”); String dt4=reader.GetAttribute(“dt”,http://www.w3.org/2000/xmlns/); You can also get this information using the System.Xml.XmlTextReader.Prefix property. The local name of the attribute. The namespace URI of the attribute.


[5402] GetRemainder


[5403] [C#] public TextReader GetRemainder( );


[5404] [C++] public: TextReader* GetRemainder( );


[5405] [VB] Public Function GetRemainder( ) As TextReader


[5406] [JScript] public function GetRemainder( ) : TextReader;


[5407] Description


[5408] Gets the remainder of the buffered XML.


[5409] Because XmlTextReader does a buffered Read, it must be able to return the remainder of the unused buffer so that no data is lost. This allows protocols (such as multi-part MIME) to package XML in the same stream as other things.


[5410] LookupNamespace


[5411] [C#] public override string LookupNamespace(string prefix);


[5412] [C++] public: String* LookupNamespace(String* prefix);


[5413] [VB] Overrides Public Function LookupNamespace(ByVal prefix As String) As String


[5414] [JScript] public override function LookupNamespace(prefix : String) : String;


[5415] Description


[5416] Resolves a namespace prefix in the current element's scope.


[5417] Return Value: The namespace URI to which the prefix maps or null if no matching prefix is found.


[5418] In the preceding XML, if the reader is positioned on the href attribute, the prefix a is resolved by calling reader.LookupNamesapce(“a”). The returned string is urn:456. The prefix whose namespace URI you want to resolve. To match the default namespace, pass an empty string. This string does not have to be atomized.


[5419] MoveToAttribute


[5420] [C#] public override void MoveToAttribute(int i);


[5421] [C++] public: void MoveToAttribute(int i);


[5422] [VB] Overrides Public Sub MoveToAttribute(ByVal i As Integer)


[5423] [JScript] public override function MoveToAttribute(i : int);


[5424] Description


[5425] Moves to the attribute with the specified index. The index of the attribute.


[5426] MoveToAttribute


[5427] [C#] public override bool MoveToAttribute(string name);


[5428] [C++] public: bool MoveToAttribute(String* name);


[5429] [VB] Overrides Public Function MoveToAttribute(ByVal name As String) As Boolean


[5430] [JScript] public override function MoveToAttribute(name : String) : Boolean; Moves to the specified attribute.


[5431] Description


[5432] Moves to the attribute with the specified name.


[5433] Return Value: true if the attribute is found; otherwise, false. If false, the reader's position does not change.


[5434] After calling MoveToAttribute, the System.Xml.XmlTextReader.Name, System.Xml.XmlTextReader.NamespaceURI, and System.Xml.XmlTextReader.Prefix properties will reflect the properties of that attribute. The qualified name of the attribute.


[5435] MoveToAttribute


[5436] [C#] public override bool MoveToAttribute(string localName, string namespaceURI);


[5437] [C++] public: bool MoveToAttribute(String* localName, String* namespaceURI);


[5438] [VB] Overrides Public Function MoveToAttribute(ByVal localName As String, ByVal namespaceURI As String) As Boolean


[5439] [JScript] public override function MoveToAttribute(localName : String, namespaceURI : String) : Boolean;


[5440] Description


[5441] Moves to the attribute with the specified local name and namespace URI.


[5442] Return Value: true if the attribute is found; otherwise, false. If false, the reader's position does not change.


[5443] After calling MoveToAttribute, the System.Xml.XmlTextReader.Name, System.Xml.XmlTextReader.NamespaceURI, and System.Xml.XmlTextReader.Prefix properties will reflect the properties of that attribute. The local name of the attribute. The namespace URI of the attribute.


[5444] MoveToElement


[5445] [C#] public override bool MoveToElement( );


[5446] [C++] public: bool MoveToElement( );


[5447] [VB] Overrides Public Function MoveToElement( ) As Boolean


[5448] [JScript] public override function MoveToElement( ) : Boolean;


[5449] Description


[5450] Moves to the element that contains the current attribute node.


[5451] Return Value: true if the reader is positioned on an attribute (the reader moves to the element that owns the attribute); false if the reader is not positioned on an attribute (the position of the reader does not change).


[5452] Use this method to return to an element after navigating through its attributes. This method moves the reader to one of the following node types: Element, DocumentType, or XmlDeclaration.


[5453] MoveToFirstAttribute


[5454] [C#] public override bool MoveToFirstAttribute( );


[5455] [C++] public: bool MoveToFirstAttribute( );


[5456] [VB] Overrides Public Function MoveToFirstAttribute( ) As Boolean


[5457] [JScript] public override function MoveToFirstAttribute( ) : Boolean;


[5458] Description


[5459] Moves to the first attribute.


[5460] Return Value: true if an attribute exists (the reader moves to the first attribute); otherwise, false (the position of the reader does not change).


[5461] MoveToNextAttribute


[5462] [C#] public override bool MoveToNextAttribute( );


[5463] [C++] public: bool MoveToNextAttribute( );


[5464] [VB] Overrides Public Function MoveToNextAttribute( ) As Boolean


[5465] [JScript] public override function MoveToNextAttribute( ) : Boolean;


[5466] Description


[5467] Moves to the next attribute.


[5468] Return Value: true if there is a next attribute; false if there are no more attributes.


[5469] If the current node is an element node, this method is equivalent to System.Xml.XmlTextReader.MoveToFirstAttribute. If MoveToNextAttribute returns true, the reader moves to the next attribute; otherwise, the position of the reader does not change.


[5470] Read


[5471] [C#] public override bool Read( );


[5472] [C++] public: bool Read( );


[5473] [VB] Overrides Public Function Read( ) As Boolean


[5474] [JScript] public override function Read( ) : Boolean;


[5475] Description


[5476] Reads the next node from the stream.


[5477] Return Value: true if the next node was read successfully; false if there are no more nodes to read.


[5478] When a reader is first created and initialized, there is no information available. You must call Read to read the first node.


[5479] ReadAttributeValue


[5480] [C#] public override bool ReadAttributeValue( );


[5481] [C++] public: bool ReadAttributeValue( );


[5482] [VB] Overrides Public Function ReadAttributeValue( ) As Boolean


[5483] [JScript] public override function ReadAttributeValue( ) : Boolean;


[5484] Description


[5485] Parses the attribute value into one or more Text or EntityReference nodes.


[5486] Return Value: true if there are nodes to return.


[5487] Use this method after calling MoveToAttribute to read through the text or entity reference nodes that make up the attribute value. The System.Xml.XmlReader.Depth of the attribute value nodes is one plus the depth of the attribute node; it increments and decrements by one when you step into and out of general entity references.


[5488] ReadBase64


[5489] [C#] public int ReadBase64(byte[ ] array, int offset, int len);


[5490] [C++] public: int ReadBase64(unsigned char array _gc[ ], int offset, int len);


[5491] [VB] Public Function ReadBase64(ByVal array( ) As Byte, ByVal offset As Integer, ByVal len As Integer) As Integer


[5492] [JScript] public function ReadBase64(array : Byte[ ], offset : int, len : int) : int;


[5493] Description


[5494] Decodes Base64 and returns the decoded binary bytes.


[5495] Return Value: The number of bytes written to the buffer.


[5496] Like System.Xml.XmlTextReader.ReadChars(System.Char[ ],System.Int32,System .Int32), this method can be called successively to read large streams of embedded text. It decodes Base64 content and returns the decoded binary bytes (for example, an inline Base64 encoded GIF image) into the buffer. See RFC 1521. (You can obtain RFCs from the Request for Comments Web site at http://www.rfc-editor.org) The following example reads a file containing Base64 and BinHex data. The array of characters that serves as the buffer to which the text contents are written. The zero-based index into the array specifying where the method should begin to write to the buffer. The number of bytes to write into the buffer.


[5497] ReadBinHex


[5498] [C#] public int ReadBinHex(byte[ ] array, int offset, int len);


[5499] [C++] public: int ReadBinHex(unsigned char array _gc[ ], int offset, int len);


[5500] [VB] Public Function ReadBinHex(ByVal array( ) As Byte, ByVal offset As Integer, ByVal len As Integer) As Integer


[5501] [JScript] public function ReadBinHex(array : Byte[ ], offset : int, len : int) int;


[5502] Description


[5503] Decodes BinHex and returns the decoded binary bytes.


[5504] Return Value: The number of bytes written to your buffer.


[5505] Like System.Xml.XmlTextReader.ReadChars(System.Char[ ],System.Int32,System .Int32), this method can be called successively to read large streams of embedded text. It decodes BinHex content and returns the decoded binary bytes (for example, an inline BinHex encoded GIF image) into the buffer. The byte array that serves as the buffer to which the decoded binary bytes are written. The zero-based index into the array specifying where the method should begin to write to the buffer. The number of bytes to write into the buffer.


[5506] ReadChars


[5507] [C#] public int ReadChars(char[ ] buffer, int index, int count);


[5508] [C++] public: int ReadChars(_wchar_t buffer _gc[ ], int index, int count);


[5509] [VB] Public Function ReadChars(ByVal buffer( ) As Char, ByVal index As Integer, ByVal count As Integer) As Integer


[5510] [JScript] public function ReadChars(buffer : Char[ ], index : int, count : int) : int;


[5511] Description


[5512] Reads the text contents of an element into a character buffer. This method is designed to read large streams of embedded text by calling it successively.


[5513] Return Value: The number of characters read. This can be 0 if the reader is not positioned on an element or if there is no more text content to return in the current context.


[5514] This is the most efficient way to process very large streams of text embedded in an XML document. Rather than allocating large string objects, ReadChars returns text content a buffer at a time. This method is designed to work only on element nodes. Other node types cause ReadChars to return 0. The array of characters that serves as the buffer to which the text contents are written. The position within buffer where the method should begin writing text contents. The number of characters to write into buffer.


[5515] ReadInnerXml


[5516] [C#] public override string ReadInnerXml( );


[5517] [C++] public: String* ReadInnerXml( );


[5518] [VB] Overrides Public Function ReadInnerXml( ) As String


[5519] [JScript] public override function ReadInnerXml( ) : String;


[5520] Description


[5521] Reads all the content, including markup, as a string.


[5522] Return Value: All the XML content, including markup, in the current node. If the current node has no children, an empty string is returned.


[5523] This method returns all the content of the current node including the markup. The current node (start tag) and corresponding end node (end tag) are not returned. For example, if you had the following: this ReadInnerXml returns this This method handles element and attribute nodes in the following way: Node Type Child Content Return Value Position After the Call Element text text After the end tag.


[5524] ReadOuterXml


[5525] [C#] public override string ReadOuterXml( );


[5526] [C++] public: String* ReadOuterXml( );


[5527] [VB] Overrides Public Function ReadOuterXml( ) As String


[5528] [JScript] public override function ReadOuterXml( ) : String;


[5529] Description


[5530] Reads the content, including markup, representing this node and all its children.


[5531] Return Value: If the reader is positioned on an element or an attribute node, this method returns all the XML content, including markup, of the current node and all its children; otherwise, it returns an empty string.


[5532] This method is similar to System.Xml.XmlTextReader.ReadInnerXml except it also returns the start and end tags.


[5533] ReadString


[5534] [C#] public override string ReadString( );


[5535] [C++] public: String* ReadString( );


[5536] [VB] Overrides Public Function ReadString( ) As String


[5537] [JScript] public override function ReadString( ) : String;


[5538] Description


[5539] Reads the contents of an element or a text node as a string.


[5540] Return Value: The contents of the element or text node. This can be an empty string if the reader is positioned on something other than an element or text node, or if there is no more text content to return in the current context.


[5541] If positioned on an element, ReadString concatenates all text, significant whitespace, whitespace and CData section node types together and returns the concatenated data as the element content. It stops when any markup is encountered. This could occur in a mixed content model, or when an element end tag is read.


[5542] ResolveEntity


[5543] [C#] public override void ResolveEntity( );


[5544] [C++] public: void ResolveEntity( );


[5545] [VB] Overrides Public Sub ResolveEntity( )


[5546] [JScript] public override function ResolveEntity( );


[5547] Description


[5548] Resolves the entity reference for EntityReference nodes.


[5549] XmlTextReader cannot resolve general entities. Calling this method will throw an exception.


[5550] IXmlLineInfo.HasLineInfo


[5551] [C#] bool IXmlLineInfo.HasLineInfo( );


[5552] [C++] bool IXmlLineInfo::HasLineInfo( );


[5553] [VB] Function HasLineInfo( ) As Boolean Implements IXmlLineInfo.HasLineInfo


[5554] [JScript] function IXmlLineInfo.HasLineInfo( ) : Boolean;


[5555] XmlTextWriter class (System.Xml)


[5556] ToString


[5557] Description


[5558] Represents a writer that provides a fast, non-cached, forward-only way of generating streams or files containing XML data that conforms to the W3C Extensible Markup Language (XML) 1.0 and the Namespaces in XML recommendations.


[5559] This class implements the System.Xml.XmlWriter class.


[5560] XmlTextWriter


[5561] Example Syntax:


[5562] ToString


[5563] [C#] public XmlTextWriter(TextWriter w);


[5564] [C++] public: XmlTextWriter(TextWriter* w);


[5565] [VB] Public Sub New(ByVal w As TextWriter)


[5566] [JScript] public function XmlTextWriter(w : TextWriter);


[5567] Description


[5568] Creates an instance of the XmlTextWriter class using the specified System.IO.TextWriter. The TextWriter to write to. It is assumed that the TextWriter is already set to the correct encoding.


[5569] XmlTextWriter


[5570] Example Syntax:


[5571] ToString


[5572] [C#] public XmlTextWriter(Stream w, Encoding encoding);


[5573] [C++] public: XmlTextWriter(Stream* w, Encoding* encoding);


[5574] [VB] Public Sub New(ByVal w As Stream, ByVal encoding As Encoding)


[5575] [JScript] public function XmlTextWriter(w : Stream, encoding : Encoding); Creates an instance of the XmlTextWriter class.


[5576] Description


[5577] Creates an instance of the XmlTextWriter class using the specified stream. The stream to which you want to write. The encoding to generate and whether or not to write out any byte order mark. If encoding is null it writes out the stream as UTF-8 and omits the encoding attribute from the ProcessingInstruction.


[5578] XmlTextWriter


[5579] Example Syntax:


[5580] ToString


[5581] [C#] public XmlTextWriter(string filename, Encoding encoding);


[5582] [C++] public: XmlTextWriter(String* filename, Encoding* encoding);


[5583] [VB] Public Sub New(ByVal filename As String, ByVal encoding As Encoding)


[5584] [JScript] public function XmlTextWriter(filename : String, encoding : Encoding);


[5585] Description


[5586] Creates an instance of the XmlTextWriter class using the specified file. The filename to write to. If the file exists, it will truncate it and overwrite it with the new content. The encoding to generate. If encoding is null it writes the file out as UTF-8, and omits the encoding attribute from the ProcessingInstruction.


[5587] Formatting


[5588] ToSting


[5589] [C#] public Formatting Formatting {get; set;}


[5590] [C++] public: _property Formatting get_Formatting( );public: _property void set_Formatting(Formatting);


[5591] [VB] Public Property Formatting As Formatting


[5592] [JScript] public function get Formatting( ) : Formatting;public function set Formatting(Formatting);


[5593] Description


[5594] Indicates how the output is formatted.


[5595] If the Indented option is set, child elements are indented using the System.Xml.XmlTextWriter.Indentation and System.Xml.XmlTextWriter.IndentChar properties. Only element content will be indented. The following C# code writes out HTML elements including mixed content: XmlTextWriter w=new XmlTextWriter(Console.Out); w.Formatting=Formatting.Indented; w.WriteStartElement(“ol”); w.WriteStartElement(“li”); w.WriteString(“The big”); // This means “li” now has a mixed content model. w.WriteElementString(“b”, “E”); w.WriteElementString(“i”, “lephant”); w.WriteString(“walks slowly.”); w.WriteEndElement( ); w.WriteEndElement( ); The above code produces the following output:


[5596] The big Elephant walks slowly.


[5597] When this is viewed in HTML no whitespace appears between the bold and italic elements. In fact, in this example, if indenting was added between these elements the word “Elephant” would be incorrectly broken.


[5598] Indentation


[5599] ToString


[5600] [C#] public int Indentation {get; set;}


[5601] [C++] public: _property int get_Indentation( );public: _property void set_Indentation(int);


[5602] [VB] Public Property Indentation As Integer


[5603] [JScript] public function get Indentation( ) : int;public function set Indentation(int);


[5604] Description


[5605] Gets or sets how many IndentChars to write for each level in the hierarchy when System.Xml.XmlTextWriter.Formatting is set to Formatting.Indented.


[5606] Indentation is performed on following node types: DocumentType, Element, Comment, ProcessingInstruction, and CDATASection. All other node types are not affected. The XmlTextWriter does not indent the internal DTD subset. However, you could do the following to apply formatting to the internal DTD subset.


[5607] IndentChar


[5608] ToString


[5609] [C#] public char IndentChar {get; set;}


[5610] [C++] public: _property _wchar_t get_IndentChar( );public: _property void set_IndentChar(_wchar_t);


[5611] [VB] Public Property IndentChar As Char


[5612] [JScript] public function get IndentChar( ) : Char;public function set IndentChar(Char);


[5613] Description


[5614] Gets or sets which character to use for indenting when System.Xml.XmlTextWriter.Formatting is set to Formatting.Indented.


[5615] Namespaces


[5616] ToString


[5617] [C#] public bool Namespaces {get; set;}


[5618] [C++] public: _property bool get_Namespaces( );public: _property void set_Namespaces(bool);


[5619] [VB] Public Property Namespaces As Boolean


[5620] [JScript] public function get Namespaces( ) : Boolean;public function set Namespaces(Boolean);


[5621] Description


[5622] Gets or sets a value indicating whether to do namespace support.


[5623] QuoteChar


[5624] ToString


[5625] [C#] public char QuoteChar {get; set;}


[5626] [C++] public: _property _wchar_t get_QuoteChar( );public: _property void set_QuoteChar(_wchar_t);


[5627] [VB] Public Property QuoteChar As Char


[5628] [JScript] public function get QuoteChar( ) : Char;public function set QuoteChar(Char);


[5629] Description


[5630] Gets or sets which character to use to quote attribute values.


[5631] WriteState


[5632] ToString


[5633] [C#] public override WriteState WriteState {get;}


[5634] [C++] public: _property virtual WriteState get_WriteState( );


[5635] [VB] Overrides Public ReadOnly Property WriteState As WriteState


[5636] [JScript] public function get WriteState( ) : WriteState;


[5637] Description


[5638] Gets the state of the writer.


[5639] XmlLang


[5640] ToString


[5641] [C#] public override string XmlLang {get;}


[5642] [C++] public: _property virtual String* get_XmlLang( );


[5643] [VB] Overrides Public ReadOnly Property XmlLang As String


[5644] [JScript] public function get XmlLang( ) : String;


[5645] Description


[5646] Gets the current xml:lang scope.


[5647] This property allows one component to find out what state another component has left the writer in. For example, perhaps one component wants to tell another which language help text to generate. The language information is communicated by writing an xml:lang attribute.


[5648] XmlSpace


[5649] ToString


[5650] [C#] public override XmlSpace XmlSpace {get;}


[5651] [C++] public: _property virtual XmlSpace get_XmlSpace( );


[5652] [VB] Overrides Public ReadOnly Property XmlSpace As XmlSpace


[5653] [JScript] public function get XmlSpace( ) : XmlSpace;


[5654] Description


[5655] Gets an System.Xml.XmlSpace representing the current xml:space scope.


[5656] This allows one component to find out in what state another component has left the writer.


[5657] Close


[5658] [C#] public override void Close( );


[5659] [C++] public: void Close( );


[5660] [VB] Overrides Public Sub Close( )


[5661] [JScript] public override function Close( );


[5662] Description


[5663] Closes this stream and the underlying stream.


[5664] Any elements or attributes left open will be automatically closed.


[5665] Flush


[5666] [C#] public override void Flush( );


[5667] [C++] public: void Flush( );


[5668] [VB] Overrides Public Sub Flush( )


[5669] [JScript] public override function Flush( );


[5670] Description


[5671] Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.


[5672] This is called instead of System.Xml.XmlTextWriter.Close when you want to write more to the underlying stream without losing what is still in the buffer.


[5673] LookupPrefix


[5674] [C#] public override string LookupPrefix(string ns);


[5675] [C++] public: String* LookupPrefix(String* ns);


[5676] [VB] Overrides Public Function LookupPrefix(ByVal ns As String) As String


[5677] [JScript] public override function LookupPrefix(ns : String) : String;


[5678] Description


[5679] Returns the closest prefix defined in the current namespace scope for the namespace URI.


[5680] Return Value: The matching prefix. Or null if no matching namespace URI is found in the current scope. Namespace URI whose prefix you want to find.


[5681] WriteBase64


[5682] [C#] public override void WriteBase64(byte[ ] buffer, int index, int count);


[5683] [C++] public: void WriteBase64(unsigned char buffer _gc[ ], int index, int count);


[5684] [VB] Overrides Public Sub WriteBase64(ByVal buffer( ) As Byte, ByVal index As Integer, ByVal count As Integer)


[5685] [JScript] public override function WriteBase64(buffer : Byte[ ], index : int, count : int);


[5686] Description


[5687] Encodes the specified binary bytes as base64 and writes out the resulting text.


[5688] For example, the byte buffer may contain the binary contents of a GIF image. This clearly would not be valid XML. The Base64 encoding is designed to represent arbitrary byte sequences in a text form comprised of the 65 US-ASCII characters ([A-Za-z0-9+/=]) where each character encodes 6 bits of the binary data. See RFC 1521. (You can obtain RFCs from the Request for Comments Web site at http://www.rfc-editor.org/.) The following example encodes an input file using WriteBase64 and generates a temporary XML file. The temporary XML file is decoded using the System.Xml.XmlTextReader.ReadBase64(System.Byte[ ],System.Int32,System .Int32) method and compared to the original file. Byte array to encode. The position within the buffer indicating the start of the bytes to write. The number of bytes to write.


[5689] WriteBinHex


[5690] [C#] public override void WriteBinHex(byte[ ] buffer, int index, int count);


[5691] [C++] public: void WriteBinHex(unsigned char buffer _gc[ ], int index, int count);


[5692] [VB] Overrides Public Sub WriteBinHex(ByVal buffer( ) As Byte, ByVal index As Integer, ByVal count As Integer)


[5693] [JScript] public override function WriteBinHex(buffer : Byte[ ], index : int, count : int);


[5694] Description


[5695] Encodes the specified binary bytes as binhex and writes out the resulting text. Byte array to encode. The position within the buffer indicating the start of the bytes to write. The number of bytes to write.


[5696] WriteCData


[5697] [C#] public override void WriteCData(string text);


[5698] [C++] public: void WriteCData(String* text);


[5699] [VB] Overrides Public Sub WriteCData(ByVal text As String)


[5700] [JScript] public override function WriteCData(text : String);


[5701] Description


[5702] Writes out a block containing the specified text.


[5703] If text is either null or String.Empty, this method writes an empty CData block, for example. Text to place inside the CDATA block.


[5704] WriteCharEntity


[5705] [C#] public override void WriteCharEntity(char ch);


[5706] [C++] public: void WriteCharEntity(_wchar_t ch);


[5707] [VB] Overrides Public Sub WriteCharEntity(ByVal ch As Char)


[5708] [JScript] public override function WriteCharEntity(ch : Char);


[5709] Description


[5710] Forces the generation of a character entity for the specified Unicode character value.


[5711] This method writes the Unicode character in hexidecimal character entity reference format. Unicode character for which to generate a character entity.


[5712] WriteChars


[5713] [C#] public override void WriteChars(char[ ] buffer, int index, int count);


[5714] [C++] public: void WriteChars(_wchar_t buffer _gc[ ], int index, int count);


[5715] [VB] Overrides Public Sub WriteChars(ByVal buffer( ) As Char, ByVal index As Integer, ByVal count As Integer)


[5716] [JScript] public override function WriteChars(buffer : Char[ ], index : int, count : int);


[5717] Description


[5718] Writes text a buffer at a time.


[5719] This method can be used to write large amounts of text a buffer at a time. Character array containing the text to write. The position within the buffer indicating the start of the text to write. The number of characters to write.


[5720] WriteComment


[5721] [C#] public override void WriteComment(string text);


[5722] [C++] public: void WriteComment(String* text);


[5723] [VB] Overrides Public Sub WriteComment(ByVal text As String)


[5724] [JScript] public override function WriteComment(text : String);


[5725] Description


[5726] Writes out a comment containing the specified text.


[5727] If text is either null or String.Empty, this method writes a Comment with no data content, for example. Text to place inside the comment.


[5728] WriteDocType


[5729] [C#] public override void WriteDocType(string name, string pubid, string sysid, string subset);


[5730] [C++] public: void WriteDocType(String* name, String* pubid, String* sysid, String* subset);


[5731] [VB] Overrides Public Sub WriteDocType(ByVal name As String, ByVal pubid As String, ByVal sysid As String, ByVal subset As String)


[5732] [JScript] public override function WriteDocType(name : String, pubid : String, sysid : String, subset : String);


[5733] Description


[5734] Writes the DOCTYPE declaration with the specified name and optional attributes.


[5735] This method does not check for invalid characters in pubid, sysid or subset. The name of the DOCTYPE. This must be non-empty. If non-null it also writes PUBLIC “pubid” “sysid” where pubid and sysid are replaced with the value of the given arguments. If pubid is null and sysid is non-null it writes SYSTEM “sysid” where sysid is replaced with the value of this argument. If non-null it writes [subset] where subset is replaced with the value of this argument.


[5736] WriteEndAttribute


[5737] [C#] public override void WriteEndAttribute( );


[5738] [C++] public: void WriteEndAttribute( );


[5739] [VB] Overrides Public Sub WriteEndAttribute( )


[5740] [JScript] public override function WriteEndAttribute( );


[5741] Description


[5742] Closes the previous System.Xml.XmlTextWriter.WriteStartAttribute(System.String,System.Strin g,System.String) call.


[5743] If you call WriteStartAttribute, you can close the attribute with this method.


[5744] WriteEndDocument


[5745] [C#] public override void WriteEndDocument( );


[5746] [C++] public: void WriteEndDocument( );


[5747] [VB] Overrides Public Sub WriteEndDocument( )


[5748] [JScript] public override function WriteEndDocument( );


[5749] Description


[5750] Closes any open elements or attributes and puts the writer back in the Start state.


[5751] WriteEndElement


[5752] [C#] public override void WriteEndElement( );


[5753] [C++] public: void WriteEndElement( );


[5754] [VB] Overrides Public Sub WriteEndElement( )


[5755] [JScript] public override function WriteEndElement( );


[5756] Description


[5757] Closes one element and pops the corresponding namespace scope.


[5758] If the element contains no content a short end tag “/>” is written; otherwise a full end tag is written.


[5759] WriteEntityRef


[5760] [C#] public override void WriteEntityRef(string name);


[5761] [C++] public: void WriteEntityRef(String* name);


[5762] [VB] Overrides Public Sub WriteEntityRef(ByVal name As String)


[5763] [JScript] public override function WriteEntityRef(name : String);


[5764] Description


[5765] Writes out an entity reference as follows: & name;. Name of the entity reference.


[5766] WriteFullEndElement


[5767] [C#] public override void WriteFullEndElement( );


[5768] [C++] public: void WriteFullEndElement( );


[5769] [VB] Overrides Public Sub WriteFullEndElement( )


[5770] [JScript] public override function WriteFullEndElement( );


[5771] Description


[5772] Closes one element and pops the corresponding namespace scope.


[5773] This method always writes the full end tag. This is useful when dealing with elements that must include a full end tag. For example, browsers expect HTML script blocks to be closed with “”.


[5774] WriteName


[5775] [C#] public override void WriteName(string name);


[5776] [C++] public: void WriteName(String* name);


[5777] [VB] Overrides Public Sub WriteName(ByVal name As String)


[5778] [JScript] public override function WriteName(name : String);


[5779] Description


[5780] Writes out the specified name, ensuring it is a valid name according to the W3C XML 1.0 recommendation(http://www.w3.org/TR/1998/REC-xml-19980210#NT-Name).


[5781] If System.Xml.XmlTextWriter.Namespaces is set to true, WriteName also checks that the name is also valid according to the W3C Namespaces in XML recommendation. Name to write.


[5782] WriteNmToken


[5783] [C#] public override void WriteNmToken(string name);


[5784] [C++] public: void WriteNmToken(String* name);


[5785] [VB] Overrides Public Sub WriteNmToken(ByVal name As String)


[5786] [JScript] public override function WriteNmToken(name : String);


[5787] Description


[5788] Writes out the specified name, ensuring it is a valid NmToken according to the W3C XML 1.0 recommendation(http://www.w3.org/TR/1998/REC-xml-19980210#NT-Name). Name to write.


[5789] WriteProcessingInstruction


[5790] [C#] public override void WriteProcessingInstruction(string name, string text);


[5791] [C++] public: void WriteProcessingInstruction(String* name, String* text);


[5792] [VB] Overrides Public Sub WriteProcessingInstruction(ByVal name As String, ByVal text As String)


[5793] [JScript] public override function WriteProcessingInstruction(name : String, text : String);


[5794] Description


[5795] Writes out a processing instruction with a space between the name and text as follows:.


[5796] If text is either null or String.Empty, this method writes a ProcessingInstruction with no data content, for example. Name of the processing instruction. Text to include in the processing instruction.


[5797] WriteQualifiedName


[5798] [C#] public override void WriteQualifiedName(string localName, string ns);


[5799] [C++] public: void WriteQualifiedName(String* localName, String* ns);


[5800] [VB] Overrides Public Sub WriteQualifiedName(ByVal localName As String, ByVal ns As String)


[5801] [JScript] public override function WriteQualifiedName(localName : String, ns : String);


[5802] Description


[5803] Writes out the namespace-qualified name. This method looks up the prefix that is in scope for the given namespace.


[5804] For example, the following C# code: writer.Formatting=Formatting.Indented; writer.WriteStartElement(“root”); writer.WriteAttributeString(“xmlns”,“x”,null,“urn:abc”); writer.WriteStartElement(“item”); writer.WriteStartAttribute(“href”,null); writer.WriteString(“#”); writer.WriteQualifiedName(“test”,“urn:abc”); writer.WriteEndAttribute( ); writer.WriteEndElement( ); writer.WriteEndElement( ); writer.Close( ); Generates the following output: If ns maps to the current default namespace, no prefix is generated. The local name to write. The namespace URI to associate with the name.


[5805] WriteRaw


[5806] [C#] public override void WriteRaw(string data);


[5807] [C++] public: void WriteRaw(String* data);


[5808] [VB] Overrides Public Sub WriteRaw(ByVal data As String)


[5809] [JScript] public override function WriteRaw(data : String);


[5810] Description


[5811] Writes raw markup manually from a string.


[5812] This method bypasses the entitization of special characters. String containing the text to write.


[5813] WriteRaw


[5814] [C#] public override void WriteRaw(char[ ] buffer, int index, int count);


[5815] [C++] public: void WriteRaw(_wchar_t buffer _gc[ ], int index, int count);


[5816] [VB] Overrides Public Sub WriteRaw(ByVal buffer( ) As Char, ByVal index As Integer, ByVal count As Integer)


[5817] [JScript] public override function WriteRaw(buffer : Char[ ], index : int, count : int); Writes raw markup manually.


[5818] Description


[5819] Writes raw markup manually from a character buffer.


[5820] This method bypasses the entitization of special characters. Character array containing the text to write. The position within the buffer indicating the start of the text to write. The number of characters to write.


[5821] WriteStartAttribute


[5822] [C#] public override void WriteStartAttribute(string prefix, string localName, string ns);


[5823] [C++] public: void WriteStartAttribute(String* prefix, String* localName, String* ns);


[5824] [VB] Overrides Public Sub WriteStartAttribute(ByVal prefix As String, ByVal localName As String, ByVal ns As String)


[5825] [JScript] public override function WriteStartAttribute(prefix : String, localName : String, ns : String); Writes the start of an attribute.


[5826] Description


[5827] Writes the start of an attribute.


[5828] This is a more advanced version of System.Xml.XmlWriter.WriteAttributeString(System.String,System.String,S ystem.String) that allows you to write an attribute value using multiple write methods, such as System.Xml.XmlTextWriter.WriteString(System.String). Namespace prefix of the attribute. LocalName of the attribute. NamespaceURI of the attribute


[5829] WriteStartDocument


[5830] [C#] public override void WriteStartDocument( );


[5831] [C++] public: void WriteStartDocument( );


[5832] [VB] Overrides Public Sub WriteStartDocument( )


[5833] [JScript] public override function WriteStartDocument( ); Writes the XML declaration with the version “1.0”.


[5834] Description


[5835] Writes the XML declaration with the version “1.0”.


[5836] The encoding level of the document is determined by how the writer is implemented. For example, if an System.Text.Encoding object is specified in the XmlTextWriter constructor, this determines the value of the encoding attribute. This method does not create a standalone attribute.


[5837] WriteStartDocument


[5838] [C#] public override void WriteStartDocument(bool standalone);


[5839] [C++] public: void WriteStartDocument(bool standalone);


[5840] [VB] Overrides Public Sub WriteStartDocument(ByVal standalone As Boolean)


[5841] [JScript] public override function WriteStartDocument(standalone : Boolean);


[5842] Description


[5843] Writes the XML declaration with the version “1.0” and the standalone attribute.


[5844] The encoding level of the document is determined by how the writer is implemented. For example, if an System.Text.Encoding object is specified in the XmlTextWriter constructor, this determines the value of the encoding attribute. If true, it writes “standalone=yes”; if false, it writes “standalone=no”


[5845] WriteStartElement


[5846] [C#] public override void WriteStartElement(string prefix, string localName, string ns);


[5847] [C++] public: void WriteStartElement(String* prefix, String* localName, String* ns);


[5848] [VB] Overrides Public Sub WriteStartElement(ByVal prefix As String, ByVal localName As String, ByVal ns As String)


[5849] [JScript] public override function WriteStartElement(prefix : String, localName : String, ns : String); Writes the specified start tag.


[5850] Description


[5851] Writes the specified start tag and associates it with the given namespace and prefix.


[5852] After calling this method you can either write attributes or create content using System.Xml.XmlTextWriter.WriteComment(System.String), System.Xml.XmlTextWriter.WriteString(System.String), or System.Xml.XmlTextWriter.WriteStartElement(System.String,System.String,System.String) for child elements. You must close this element with System.Xml.XmlTextWriter.WriteEndElement at which time an end tag is written out. The namespace prefix of the element. The local name of the element. The namespace URI to associate with the element. If this namespace is already in scope and has an associated prefix then the writer will automatically write that prefix also.


[5853] WriteString


[5854] [C#] public override void WriteString(string text);


[5855] [C++] public: void WriteString(String* text);


[5856] [VB] Overrides Public Sub WriteString(ByVal text As String)


[5857] [JScript] public override function WriteString(text : String);


[5858] Description


[5859] Writes the given text content.


[5860] WriteString does the following The characters &, <, and > are replaced with &, <, and >, respectively. Text to write.


[5861] WriteSurrogateCharEntity


[5862] [C#] public override void WriteSurrogateCharEntity(char lowChar, char highChar);


[5863] [C++] public: void WriteSurrogateCharEntity(_wchar_t lowChar, _wchar_t highChar);


[5864] [VB] Overrides Public Sub WriteSurrogateCharEntity(ByVal lowChar As Char, ByVal highChar As Char)


[5865] [JScript] public override function WriteSurrogateCharEntity(lowChar : Char, highChar : Char);


[5866] Description


[5867] Generates and writes the surrogate character entity for the surrogate character pair.


[5868] The surrogate character entity is written in hexadecimal format. The range for surrogate characters is #x10000 to #x10FFFF. The following formula is used to generate the surrogate character entity: (highChar −0xD800) * 0x400+(lowChar −0xDC00)+0x10000 Applications encode DOM strings using UTF-16. For both HTML and XML, the document character set (and therefore the notation of numeric character references) is based on UCS [ISO-10646]. A single numeric character reference in a source document may therefore in some cases correspond to two 16-bit units in a DOM string (a high surrogate and a low surrogate). These 16-bit units are referred to as a surrogate pair. The low surrogate. This must be a value between 0xDC00 and 0xDFFF. The high surrogate. This must be a value between 0xD800 and 0xDBFF.


[5869] WriteWhitespace


[5870] [C#] public override void WriteWhitespace(string ws);


[5871] [C++] public: void WriteWhitespace(String* ws);


[5872] [VB] Overrides Public Sub WriteWhitespace(ByVal ws As String)


[5873] [JScript] public override function WriteWhitespace(ws : String);


[5874] Description


[5875] Writes out the given whitespace.


[5876] This method is used to manually format your document. Use the System.Xml.XmlTextWriter.Formatting property to have the writer format the output automatically. The string of whitespace characters.


[5877] XmlTokenizedType enumeration (System.Xml)


[5878] WriteWhitespace


[5879] Description


[5880] Represents the XML type for the string. This allows the string to be read as a particular XML type, for example a CDATA section type.


[5881] The XML types are based on the W3C Extensible Markup Language (XML) 1.0 recommendation.


[5882] WriteWhitespace


[5883] [C#] public coust XmlTokenizedType CDATA;


[5884] [C++] public: coust XmlTokenizedType CDATA;


[5885] [VB] Public Const CDATA As XmlTokenizedType


[5886] [JScript] public var CDATA : XmlTokenizedType;


[5887] Description


[5888] CDATA type.


[5889] WriteWhitespace


[5890] [C#] public const XmlTokenizedType ENTITIES;


[5891] [C++] public: const XmlTokenizedType ENTITIES;


[5892] [VB] Public Const ENTITIES As XmlTokenizedType


[5893] [JScript] public var ENTITIES : XmlTokenizedType;


[5894] Description


[5895] ENTITIES type.


[5896] WriteWhitespace


[5897] [C#] public const XmlTokenizedType ENTITY;


[5898] [C++] public: const XmlTokenizedType ENTITY;


[5899] [VB] Public Const ENTITY As XmlTokenizedType


[5900] [JScript] public var ENTITY : XmlTokenizedType;


[5901] Description


[5902] ENTITY type.


[5903] WriteWhitespace


[5904] [C#] public const XmlTokenizedType ENUMERATION;


[5905] [C++] public: const XmlTokenizedType ENUMERATION;


[5906] [VB] Public Const ENUMERATION As XmlTokenizedType


[5907] [JScript] public var ENUMERATION : XmlTokenizedType;


[5908] Description


[5909] ENUMERATION type.


[5910] WriteWhitespace


[5911] [C#] public const XmlTokenizedType ID;


[5912] [C++] public: const XmlTokenizedType ID;


[5913] [VB] Public Const ID As XmlTokenizedType


[5914] [JScript] public var ID : XmlTokenizedType;


[5915] Description


[5916] ID type.


[5917] WriteWhitespace


[5918] [C#] public const XmlTokenizedType IDREF;


[5919] [C++] public: const XmlTokenizedType IDREF;


[5920] [VB] Public Const IDREF As XmlTokenizedType


[5921] [JScript] public var IDREF : XmlTokenizedType;


[5922] Description


[5923] IDREF type.


[5924] WriteWhitespace


[5925] [C#] public const XmlTokenizedType IDREFS;


[5926] [C++] public: const XmlTokenizedType IDREFS;


[5927] [VB] Public Const IDREFS As XmlTokenizedType


[5928] [JScript] public var IDREFS : XmlTokenizedType;


[5929] Description


[5930] IDREFS type.


[5931] WriteWhitespace


[5932] [C#] public const XmlTokenizedType NCName;


[5933] [C++] public: const XmlTokenizedType NCName;


[5934] [VB] Public Const NCName As XmlTokenizedType


[5935] [JScript] public var NCName : XmlTokenizedType;


[5936] Description


[5937] NCName type.


[5938] WriteWhitespace


[5939] [C#] public const XmlTokenizedType NMTOKEN;


[5940] [C++] public: const XmlTokenizedType NMTOKEN;


[5941] [VB] Public Const NMTOKEN As XmlTokenizedType


[5942] [JScript] public var NMTOKEN : XmlTokenizedType;


[5943] Description


[5944] NMTOKEN type.


[5945] WriteWhitespace


[5946] [C#] public const XmlTokenizedType NMTOKENS;


[5947] [C++] public: const XmlTokenizedType NMTOKENS;


[5948] [VB] Public Const NMTOKENS As XmlTokenizedType


[5949] [JScript] public var NMTOKENS : XmlTokenizedType;


[5950] Description


[5951] NMTOKENS type.


[5952] WriteWhitespace


[5953] [C#] public const XmlTokenizedType None;


[5954] [C++] public: const XmlTokenizedType None;


[5955] [VB] Public Const None As XmlTokenizedType


[5956] [JScript] public var None : XmlTokenizedType;


[5957] Description


[5958] No type.


[5959] WriteWhitespace


[5960] [C#] public const XmlTokenizedType NOTATION;


[5961] [C++] public: const XmlTokenizedType NOTATION;


[5962] [VB] Public Const NOTATION As XmlTokenizedType


[5963] [JScript] public var NOTATION : XmlTokenizedType;


[5964] Description


[5965] NOTATION type.


[5966] WriteWhitespace


[5967] [C#] public const XmlTokenizedType QName;


[5968] [C++] public: const XmlTokenizedType QName;


[5969] [VB] Public Const QName As XmlTokenizedType


[5970] [JScript] public var QName : XmlTokenizedType;


[5971] Description


[5972] QName type.


[5973] XmlUrlResolver class (System.Xml)


[5974] ToString


[5975] Description


[5976] Resolves external XML resources named by a URI.


[5977] XmlUrlResolver is used to resolve external XML resources such as entities, DTDs or schemas. It is also used to process include and import elements found in Extensible StyleSheet Language (XSL) stylesheets or XML Schema Definition language (XSD) schemas.


[5978] XmlUrlResolver


[5979] Example Syntax:


[5980] ToString


[5981] [C#] public XmlUrlResolver( );


[5982] [C++] public: XmlUrlResolver( );


[5983] [VB] Public Sub New( )


[5984] [JScript] public function XmlUrlResolver( ); Creates a new instance of the XmlUrlResolver class.


[5985] Description


[5986] Creates a new instance of the XmlUrlResolver class.


[5987] Credentials


[5988] ToString


[5989] [C#] ICredentials Credentials {set;}


[5990] [C++] public: _property virtual void set_Credentials(ICredentials*);


[5991] [VB] Property Credentials As ICredentials


[5992] [JScript] public function set Credentials(ICredentials);


[5993] Description


[5994] Sets credentials used to authenticate Web requests.


[5995] If the virtual directory is configured to allow anonymous access, this property does not need to be set. Otherwise, the credentials of the user must be supplied. If credentials are needed but not supplied, XmlUrlResolver uses default credentials (CredentialCache.DefaultCredential).


[5996] GetEntity


[5997] [C#] public override object GetEntity(Uri absoluteUri, string role, Type ofobjectToReturn);


[5998] [C++] public: Object* GetEntity(Uri* absoluteUri, String* role, Type* ofobjectToReturn);


[5999] [VB] Overrides Public Function GetEntity(ByVal absoluteUri As Uri, ByVal role As String, ByVal ofObjectToReturn As Type) As Object


[6000] [JScript] public override function GetEntity(absoluteUri : Uri, role : String, ofObjectToReturn : Type) : Object;


[6001] Description


[6002] Maps a URI to an object containing the actual resource.


[6003] Return Value: A System.IO.Stream object or null if a type other than stream is specified.


[6004] This method is used when the caller wants to map a given URI into an object containing the actual resource that the URI represents. The URI returned from System.Xml.XmlUrlResolver.ResolveUri(System.Uri,System.String) The current implementation does not use this parameter when resolving URIs. This is provided for future extensibility purposes. For example, this can be mapped to the xlink:role and used as an implementation specific argument in other scenarios. The type of object to return. The current implementation only returns System.IO.Stream objects.


[6005] ResolveUri


[6006] [C#] public override Uri ResolveUri(Uri baseUri, string relativeUri);


[6007] [C++] public: Uri* ResolveUri(Uri* baseUri, String* relativeUri);


[6008] [VB] Overrides Public Function ResolveUri(ByVal baseUri As Uri, ByVal relativeUri As String) As Uri


[6009] [JScript] public override function ResolveUri(baseUri : Uri, relativeUri : String) : Uri;


[6010] Description


[6011] Resolves the absolute URI from the base and relative URIs.


[6012] Return Value: The absolute URI or null if the relative URI can not be resolved.


[6013] The absolute URI may be used as the base URI for any subsequent requests for entities that are relative to this URI. The base URI used to resolve the relative URI The URI to resolve. The URI can be absolute or relative. If absolute, this value effectively replaces the baseUri value. If relative, it combines with the baseUri to make an absolute URI.


[6014] XmlValidatingReader class (System.Xml)


[6015] ToString


[6016] Description


[6017] Represents a reader that provides DTD, XML-Data Reduced Language (XDR), and XML Schema Definition language (XSD) schema validation.


[6018] XmlValidatingReader implements the System.Xml.XmlReader class and provides support for data validation. Use the System.Xml.XmlValidatingReader.Schemas property to have the reader validate using schema files cached in an System.Xml.Schema.XmlSchemaCollection. The System.Xml.XmlValidatingReader.ValidationType property specifies what type of validation the reader should perform. Setting the property to ValidationType.None creates a non-validating reader.


[6019] XmlValidatingReader


[6020] Example Syntax:


[6021] ToString


[6022] [C#] public XmlValidatingReader(XmlReader reader);


[6023] [C++] public: XmlValidatingReader(XmlReader* reader);


[6024] [VB] Public Sub New(ByVal reader As XmlReader)


[6025] [JScript] public function XmlValidatingReader(reader : XmlReader); Initializes a new instance of the XmlValidatingReader class.


[6026] Description


[6027] Initializes a new instance of the XmlValidatingReader class that validates the content returned from the given System.Xml.XmlReader.


[6028] All nodes returned from the given XmlReader are also returned from this validating reader, so there is no information loss in the process. New nodes not returned from the underlying reader may be added by this reader (for example, default attributes and the children of an entity reference). Any properties set on the given XmlTextReader also applies to this validating reader. For example, if the supplied reader had WhitespaceHandling.None set, this validating reader also ignores whitespace. The XmlReader to read from while validating. The current implementation only supports System.Xml.XmlTextReader.


[6029] XmlValidatingReader


[6030] Example Syntax:


[6031] ToString


[6032] [C#] public XmlValidatingReader(Stream xmlFragment, XmlNodeType fragType, XmlParserContext context);


[6033] [C++] public: XmlValidatingReader(Stream* xmlFragment, XmlNodeType fragType, XmlParserContext* context);


[6034] [VB] Public Sub New(ByVal xmlFragment As Stream, ByVal fragtype As XmlNodeType, ByVal context As XmlParserContext)


[6035] [JScript] public function XmlValidatingReader(xmlFragment : Stream, fragType : XmlNodeType, context : XmlParserContext);


[6036] Description


[6037] Initializes a new instance of the XmlValidatingReader class with the specified values.


[6038] This constructor parses the given string as a fragment of XML. If the XML fragment is an element or attribute, you can bypass the root level rules for well-formed XML documents. The stream containing the XML fragment to parse. The System.Xml.XmlNodeTypeof the XML fragment. This determines what the fragment can contain (see table below). The System.Xml.XmlParserContext in which the XML fragment is to be parsed. This includes the System.Xml.XmlNameTable to use, the namespace scope, the current xml:lang and the xml:space scope.


[6039] XmlValidatingReader


[6040] Example Syntax:


[6041] ToString


[6042] [C#] public XmlValidatingReader(string xmlFragment, XmlNodeType fragType, XmlParserContext context);


[6043] [C++] public: XmlValidatingReader(String* xmlFragment, XmlNodeType fragType, XmlParserContext* context);


[6044] [VB] Public Sub New(ByVal xmlFragment As String, ByVal fragType As XmlNodeType, ByVal context As XmlParserContext)


[6045] [JScript] public function XmlValidatingReader(xmlFragment : String, fragType : XmlNodeType, context : XmlParserContext);


[6046] Description


[6047] Initializes a new instance of the XmlValidatingReader class with the specified values.


[6048] This constructor parses the given string as a fragment of XML. If the XML fragment is an element or attribute, you can bypass the root level rules for well-formed XML documents. This constructor can handle strings returned from System.Xml.XmlValidatingReader.ReadInnerXml. The string containing the XML fragment to parse. The System.Xml.XmlNodeTypeof the XML fragment. This also determines what the fragment string can contain (see table below). The System.Xml.XmlParserContext in which the XML fragment is to be parsed. This includes the NameTable to use, the namespace scope, the current xml:lang and the xml:space scope.


[6049] AttributeCount


[6050] ToString


[6051] [C#] public override int AttributeCount {get;}


[6052] [C++] public: _property virtual int get_AttributeCount( );


[6053] [VB] Overrides Public ReadOnly Property AttributeCount As Integer


[6054] [JScript] public function get AttributeCount( ) : int;


[6055] Description


[6056] Gets the number of attributes on the current node.


[6057] This property is relevant to Element, DocumentType and XmlDeclaration nodes only. (Other node types do not have attributes.) The following example reads all the elements on the root node.


[6058] BaseURI


[6059] ToString


[6060] [C#] public override string BaseURI {get;}


[6061] [C++] public: _property virtual String* get_BaseURI( );


[6062] [VB] Overrides Public ReadOnly Property BaseURI As String


[6063] [JScript] public function get BaseURI( ) : String;


[6064] Description


[6065] Gets the base URI of the current node.


[6066] A networked XML document is comprised of chunks of data aggregated using various W3C standard inclusion mechanisms and therefore contains nodes that come from different places. DTD entities are an example of this, but this is not limited to DTDs. The base URI tells you where these nodes came from. If there is no base URI for the nodes being returned (for example, they were parsed from an in-memory string), String.Empty is returned.


[6067] CanResolveEntity


[6068] ToString


[6069] [C#] public override bool CanResolveEntity {get;}


[6070] [C++] public: _property virtual bool get_CanResolveEntity( );


[6071] [VB] Overrides Public ReadOnly Property CanResolveEntity As Boolean


[6072] [JScript] public function get CanResolveEntity( ) : Boolean;


[6073] Description


[6074] Gets a value indicating whether this reader can parse and resolve entities.


[6075] Depth


[6076] ToString


[6077] [C#] public override int Depth {get;}


[6078] [C++] public: _property virtual int get_Depth( );


[6079] [VB] Overrides Public ReadOnly Property Depth As Integer


[6080] [JScript] public function get Depth( ) : int;


[6081] Description


[6082] Gets the depth of the current node in the XML document.


[6083] Encoding


[6084] ToString


[6085] [C#] public Encoding Encoding {get;}


[6086] [C++] public: _property Encoding* get_Encoding( );


[6087] [VB] Public ReadOnly Property Encoding As Encoding


[6088] [JScript] public function get Encoding( ) : Encoding;


[6089] Description


[6090] Gets the encoding attribute for the document.


[6091] When any external reference is read (such as expanding an entity in a DTD file or reading a schema file) the encoding property is set to the encoding value of the external reference. If encoding is not specified in the external reference, and there is no byte-order mark, this defaults to UTF-8.


[6092] EntityHandling


[6093] ToString


[6094] [C#] public EntityHandling EntityHandling {get; set;}


[6095] [C++] public: _property EntityHandling get_EntityHandling( );public: _property void set_EntityHandling(EntityHandling);


[6096] [VB] Public Property EntityHandling As EntityHandling


[6097] [JScript] public function get EntityHandling( ) : EntityHandling;public function set EntityHandling(EntityHandling);


[6098] Description


[6099] Gets or sets a value that specifies how the reader handles entities.


[6100] This property can be changed on the fly and takes affect after the next System.Xml.XmlValidatingReader.Read call.


[6101] EOF


[6102] ToString


[6103] [C#] public override bool EOF {get;}


[6104] [C++] public: _property virtual bool get_EOF( );


[6105] [VB] Overrides Public ReadOnly Property EOF As Boolean


[6106] [JScript] public function get EOF( ) : Boolean;


[6107] Description


[6108] Gets a value indicating whether the reader is positioned at the end of the stream.


[6109] HasAttributes


[6110] HasValue


[6111] ToString


[6112] Description


[6113] Gets a value indicating whether the current node can have a System.Xml.XmlValidatingReader.Value.


[6114] The following table lists node types that have a value to return.


[6115] IsDefault


[6116] ToString


[6117] [C#] public override bool IsDefault {get;}


[6118] [C++] public: _property virtual bool get_IsDefault( );


[6119] [VB] Overrides Public ReadOnly Property IsDefault As Boolean


[6120] [JScript] public function get IsDefault( ) : Boolean;


[6121] Description


[6122] Gets a value indicating whether the current node is an attribute that was generated from the default value defined in the DTD or schema.


[6123] This property applies only to an attribute node.


[6124] IsEmptyElement


[6125] ToString


[6126] [C#] public override bool IsEmptyElement {get;}


[6127] [C++] public: _property virtual bool get_IsEmptyElement( );


[6128] [VB] Overrides Public ReadOnly Property IsEmptyElement As Boolean


[6129] [JScript] public function get IsEmptyElement( ) : Boolean;


[6130] Description


[6131] Gets a value indicating whether the current node is an empty element (for example,).


[6132] This property enables you to determine the difference between the following: (IsEmptyElement is true).


[6133] Item


[6134] ToString


[6135] [C#] public override string this[int i] {get;}


[6136] [C++] public: _property virtual String* get_Item(int i);


[6137] [VB] Overrides Public Default ReadOnly Property Item(ByVal i As Integer) As String


[6138] [JScript] returnValue=XmlValidatingReaderObject.Item(i); Gets the value of the specified attribute.


[6139] Description


[6140] Gets the value of the attribute with the specified index.


[6141] This property does not move the reader. The index of the attribute.


[6142] Item


[6143] ToString


[6144] [C#] public override string this[string name] {get;}


[6145] [C++] public: _property virtual String* get_Item(String* name);


[6146] [VB] Overrides Public Default ReadOnly Property Item(ByVal name As String) As String


[6147] [JScript] returnValue=XmlValidatingReaderObject.Item(name);


[6148] Description


[6149] Gets the value of the attribute with the specified name.


[6150] This property does not move the reader. The qualified name of the attribute.


[6151] Item


[6152] ToString


[6153] [C#] public override string this[string name, string namespaceURI] {get;}


[6154] [C++] public: _property virtual String* get_Item(String* name, String* namespaceURI);


[6155] [VB] Overrides Public Default ReadOnly Property Item(ByVal name As String, ByVal namespaceURI As String) As String


[6156] [JScript] returnValue=XmlValidatingReaderObject.Item(name, namespaceURI);


[6157] Description


[6158] Gets the value of the attribute with the specified local name and namespace URI.


[6159] This property does not move the reader. The local name of the attribute. The namespace URI of the attribute.


[6160] LocalName


[6161] ToString


[6162] [C#] public override string LocalName {get;}


[6163] [C++] public: _property virtual String* get_LocalName( );


[6164] [VB] Overrides Public ReadOnly Property LocalName As String


[6165] [JScript] public function get LocalName( ) : String;


[6166] Description


[6167] Gets the local name of the current node.


[6168] Name


[6169] ToString


[6170] [C#] public override string Name {get;}


[6171] [C++] public: _property virtual String* get_Name( );


[6172] [VB] Overrides Public ReadOnly Property Name As String


[6173] [JScript] public function get Name( ) : String;


[6174] Description


[6175] Gets the qualified name of the current node.


[6176] Namespaces


[6177] ToString


[6178] [C#] public bool Namespaces {get; set;}


[6179] [C++] public: _property bool get_Namespaces( );public: _property void set_Namespaces(bool);


[6180] [VB] Public Property Namespaces As Boolean


[6181] [JScript] public function get Namespaces( ) : Boolean;public function set Namespaces(Boolean);


[6182] Description


[6183] Gets or sets a value indicating whether to do namespace support.


[6184] NamespaceURI


[6185] ToString


[6186] [C#] public override string NamespaceURI {get;}


[6187] [C++] public: _property virtual String* get_NamespaceURI( );


[6188] [VB] Overrides Public ReadOnly Property NamespaceURI As String


[6189] [JScript] public function get NamespaceURI( ) : String;


[6190] Description


[6191] Gets the namespace URI (as defined in the W3C Namespace specification) of the node on which the reader is positioned.


[6192] This property is relevant to Element and Attribute nodes only.


[6193] NameTable


[6194] ToString


[6195] [C#] public override XmlNameTable NameTable {get;}


[6196] [C++] public: _property virtual XmlNameTable* get_NameTable( );


[6197] [VB] Overrides Public ReadOnly Property NameTable As XmlNameTable


[6198] [JScript] public function get NameTable( ) : XmlNameTable;


[6199] Description


[6200] Gets the System.Xml.XmlNameTable associated with this implementation.


[6201] All node and attribute names returned from this class are atomized using the NameTable. When the same name is returned multiple times (for example, Customer), then the same String object will be returned for that name. This makes it possible for you to write efficient code that does object comparisons on these strings instead of expensive string comparisons.


[6202] NodeType


[6203] ToString


[6204] [C#] public override XmlNodeType NodeType {get;}


[6205] [C++] public: _property virtual XmlNodeType get_NodeType( );


[6206] [VB] Overrides Public ReadOnly Property NodeType As XmlNodeType


[6207] [JScript] public function get NodeType( ) : XmlNodeType;


[6208] Description


[6209] Gets the type of the current node.


[6210] This property never returns the following XmlNodeType types: Document, DocumentFragment, Entity, or Notation.


[6211] Prefix


[6212] ToString


[6213] [C#] public override string Prefix {get;}


[6214] [C++] public: _property virtual String* get_Prefix( );


[6215] [VB] Overrides Public ReadOnly Property Prefix As String


[6216] [JScript] public function get Prefix( ) : String;


[6217] Description


[6218] Gets the namespace prefix associated with the current node.


[6219] QuoteChar


[6220] ToString


[6221] [C#] public override char QuoteChar {get;}


[6222] [C++] public: _property virtual _wchar_t get_QuoteChar( );


[6223] [VB] Overrides Public ReadOnly Property QuoteChar As Char


[6224] [JScript] public function get QuoteChar( ) : Char;


[6225] Description


[6226] Gets the quotation mark character used to enclose the value of an attribute node.


[6227] This property applies only to an attribute node.


[6228] Reader


[6229] ToString


[6230] [C#] public XmlReader Reader {get;}


[6231] [C++] public: _property XmlReader* get_Reader( );


[6232] [VB] Public ReadOnly Property Reader As XmlReader


[6233] [JScript] public function get Reader( ) : XmlReader;


[6234] Description


[6235] Gets the System.Xml.XmlReader used to construct this XmlValidatingReader.


[6236] This property allows the user to access properties specific to the supplied reader. For example, the user could get the underlying the System.Xml.Xm1TextReader.LineNumber and System.Xml.XmlTextReader.LinePosition of the underlying reader. This can be useful when reporting validation errors.


[6237] ReadState


[6238] ToString


[6239] [C#] public override ReadState ReadState {get;}


[6240] [C++] public: _property virtual ReadState get_ReadState( );


[6241] [VB] Overrides Public ReadOnly Property ReadState As ReadState


[6242] [JScript] public function get ReadState( ) : ReadState;


[6243] Description


[6244] Gets the state of the reader.


[6245] Schemas


[6246] ToString


[6247] [C#] public XmlSchemaCollection Schemas {get;}


[6248] [C++] public: _property XmlSchemaCollection* get_Schemas( );


[6249] [VB] Public ReadOnly Property Schemas As XmlSchemaCollection


[6250] [JScript] public function get Schemas( ) : XmlSchemaCollection;


[6251] Description


[6252] Gets a System.Xml.Schema.XmlSchemaCollection to use for validation.


[6253] The XmlSchemaCollection holds pre-loaded XDR and XSD schemas. This property gives the reader access to the cache of schemas and allows it to validate without having to re-load schemas every time. The reader does not add anything to the XmlSchemaCollection.


[6254] SchemaType


[6255] ToString


[6256] [C#] public object SchemaType {get;}


[6257] [C++] public: _property Object* get_SchemaType( );


[6258] [VB] Public ReadOnly Property SchemaType As Object


[6259] [JScript] public function get SchemaType( ) : Object;


[6260] Description


[6261] Gets a schema type object.


[6262] The user needs to test for the returned type. For example object obj=vreader.SchemaType; if (obj is XmlSchemaType) XmlSchemaType st=obj.BaseSchemaType; if (obj is XmlSchemaDataType) Type vt=obj.ValueType; If XSD schema validation is being performed then the XmlSchemaType or XmlSchemaDataType corresponds to the current element being read. If DTD validation is being performed this property returns null.


[6263] ValidationType


[6264] ToString


[6265] [C#] public ValidationType ValidationType {get; set;}


[6266] [C++] public: _property ValidationType get_ValidationType( );public: _property void set_ValidationType(ValidationType);


[6267] [VB] Public Property ValidationType As ValidationType


[6268] [JScript] public function get ValidationType( ) : ValidationType;public function set ValidationType(ValidationType);


[6269] Description


[6270] Gets a value describing what type of validation to perform.


[6271] This property must be set before the first call to System.Xml.XmlValidatingReader.Read. Setting this property to ValidationType.None creates a non-validating reader.


[6272] Value


[6273] ToString


[6274] [C#] public override string Value {get;}


[6275] [C++] public: _property virtual String* get_Value( );


[6276] [VB] Overrides Public ReadOnly Property Value As String


[6277] [JScript] public function get Value( ) : String;


[6278] Description


[6279] Gets the text value of the current node.


[6280] XmlLang


[6281] ToString


[6282] [C#] public override string XmlLang {get;}


[6283] [C++] public: _property virtual String* get_XmlLang( );


[6284] [VB] Overrides Public ReadOnly Property XmlLang As String


[6285] [JScript] public function get XmlLang( ) : String;


[6286] Description


[6287] Gets the current xml:lang scope.


[6288] This property represents the xml:lang scope within which the current node resides. For example, here is an XML fragment with xml:lang set to US English in the root element: Fred When the reader is positioned on the name element, you can use this property to find that it is in the scope of a US English xml:lang attribute.


[6289] XmlResolver


[6290] ToString


[6291] [C#] XmlResolver XmlResolver {set;}


[6292] [C++] public: _property void set_XmlResolver(XmlResolver*);


[6293] [VB] Property XmlResolver As XmlResolver


[6294] [JScript] public function set XmlResolver(XmlResolver);


[6295] Description


[6296] Sets the System.Xml.XmlResolver used for resolving external DTD and schema location references. The XmlResolver is also used to handle any import or include elements found in XSD schemas.


[6297] The XmlResolver is used to load any DTDs, entities or schemas needed to complete the validation process.


[6298] XmlSpace


[6299] ToString


[6300] [C#] public override XmlSpace XmlSpace {get;}


[6301] [C++] public: _property virtual XmlSpace get_XmlSpace( );


[6302] [VB] Overrides Public ReadOnly Property XmlSpace As XmlSpace


[6303] [JScript] public function get XmlSpace( ) : XmlSpace;


[6304] Description


[6305] Gets the current xml:space scope.


[6306] ToString


[6307] [C#] public event ValidationEventHandler ValidationEventHandler;


[6308] [C++] public: _event ValidationEventHandler* ValidationEventHandler;


[6309] [VB] Public Event ValidationEventHandler As ValidationEventHandler


[6310] Description


[6311] Sets an event handler for receiving information about DTD, XDR and XSD schema validation errors.


[6312] These events occur during System.Xml.XmlValidatingReader.Read and only if a System.Xml.XmlValidatingReader.ValidationType of DTD, XDR, Schema, or Auto is specified.


[6313] Close


[6314] [C#] public override void Close( );


[6315] [C++] public: void Close( );


[6316] [VB] Overrides Public Sub Close( )


[6317] [JScript] public override function Close( );


[6318] Description


[6319] Changes the System.Xml.XmlReader.ReadState to Closed.


[6320] This method also releases any resources held while reading. If this reader was constructed using an System.Xml.XmlTextReader, this method also calls Close on the underlying reader. If this reader was constructed using a stream, this method also calls Close on the underlying stream.


[6321] GetAttribute


[6322] [C#] public override string GetAttribute(int i);


[6323] [C++] public: String* GetAttribute(int i);


[6324] [VB] Overrides Public Function GetAttribute(ByVal i As Integer) As String


[6325] [JScript] public override function GetAttribute(i : int) : String; Gets the value of an attribute.


[6326] Description


[6327] Gets the value of the attribute with the specified index.


[6328] Return Value: The value of the specified attribute.


[6329] This method does not move the reader. The index of the attribute. The index is zero-based. (The first attribute has index 0.)


[6330] GetAttribute


[6331] [C#] public override string GetAttribute(string name);


[6332] [C++] public: String* GetAttribute(String* name);


[6333] [VB] Overrides Public Function GetAttribute(ByVal name As String) As String


[6334] [JScript] public override function GetAttribute(name : String) : String;


[6335] Description


[6336] Gets the value of the attribute with the specified name.


[6337] Return Value: The value of the specified attribute. If the attribute is not found, String.Empty is returned.


[6338] This method does not move the reader. The qualified name of the attribute.


[6339] GetAttribute


[6340] [C#] public override string GetAttribute(string localName, string namespaceURI);


[6341] [C++] public: String* GetAttribute(String* localName, String* namespaceURI);


[6342] [VB] Overrides Public Function GetAttribute(ByVal localName As String, ByVal namespaceURI As String) As String


[6343] [JScript] public override function GetAttribute(localName : String, namespaceURI : String) : String;


[6344] Description


[6345] Gets the value of the attribute with the specified local name and namespace URI.


[6346] Return Value: The value of the specified attribute. If the attribute is not found, String.Empty is returned. This method does not move the reader.


[6347] The following XML contains an attribute in a specific namespace: You can lookup the dt:type attribute using one argument (prefix and local name) or two arguments (local name and namespace URI): String dt=reader.GetAttribute(“dt:type”); String dt2=reader.GetAttribute(“type”,“urn:datatypes”); To lookup the xmlns:dt attribute, use one of the following arguments: String dt3=reader.GetAttribute(“xmlns:dt”); String dt4=reader.GetAttribute(“dt”,http://www.w3.org/2000/xmlns/); You can also get this information using the System.Xml.XmlValidatingReader.Prefix property. The local name of the attribute. The namespace URI of the attribute.


[6348] LookupNamespace


[6349] [C#] public override string LookupNamespace(string prefix);


[6350] [C++] public: String* LookupNamespace(String* prefix);


[6351] [VB] Overrides Public Function LookupNamespace(ByVal prefix As String) As String


[6352] [JScript] public override function LookupNamespace(prefix : String) : String;


[6353] Description


[6354] Resolves a namespace prefix in the current element's scope.


[6355] Return Value: The namespace URI to which the prefix maps or null if no matching prefix is found.


[6356] In the preceding XML, if the reader is positioned on the href attribute, the prefix a is resolved by calling reader.LookupNamesapce(“a”). The returned string is urn:456. The prefix whose namespace URI you want to resolve. To match the default namespace, pass an empty string. This string does not have to be atomized.


[6357] MoveToAttribute


[6358] [C#] public override void MoveToAttribute(int i);


[6359] [C++] public: void MoveToAttribute(int i);


[6360] [VB] Overrides Public Sub MoveToAttribute(ByVal i As Integer)


[6361] [JScript] public override function MoveToAttribute(i : int);


[6362] Description


[6363] Moves to the attribute with the specified index. The index of the attribute.


[6364] MoveToAttribute


[6365] [C#] public override bool MoveToAttribute(string name);


[6366] [C++] public: bool MoveToAttribute(String* name);


[6367] [VB] Overrides Public Function MoveToAttribute(ByVal name As String) As Boolean


[6368] [JScript] public override function MoveToAttribute(name : String) : Boolean; Moves to the specified attribute.


[6369] Description


[6370] Moves to the attribute with the specified name.


[6371] Return Value: true if the attribute is found; otherwise, false. If false, the position of the reader does not change.


[6372] After calling this method, the System.Xml.XmlValidatingReader.Name, System.Xml.XmlValidatingReader.NamespaceURI, and System.Xml.XmlValidatingReader.Prefix properties reflect the properties of that attribute. The qualified name of the attribute.


[6373] MoveToAttribute


[6374] [C#] public override bool MoveToAttribute(string localName, string namespaceURI);


[6375] [C++] public: bool MoveToAttribute(String* localName, String* namespaceURI);


[6376] [VB] Overrides Public Function MoveToAttribute(ByVal localName As String, ByVal namespaceURI As String) As Boolean


[6377] [JScript] public override function MoveToAttribute(localName : String, namespaceURI : String) : Boolean;


[6378] Description


[6379] Moves to the attribute with the specified local name and namespace URI.


[6380] Return Value: true if the attribute is found; otherwise, false. If false, the position of the reader does not change.


[6381] After calling this method, the System.Xml.XmlValidatingReader.Name, System.Xml.XmlValidatingReader.NamespaceURI, and System.Xml.XmlValidatingReader.Prefix properties reflect the properties of that attribute. The local name of the attribute. The namespace URI of the attribute.


[6382] MoveToElement


[6383] [C#] public override bool MoveToElement( );


[6384] [C++] public: bool MoveToElement( );


[6385] [VB] Overrides Public Function MoveToElement( ) As Boolean


[6386] [JScript] public override function MoveToElement( ) : Boolean;


[6387] Description


[6388] Moves to the element that contains the current attribute node.


[6389] Return Value: true if the reader is positioned on an attribute (the reader moves to the element that owns the attribute); false if the reader is not positioned on an attribute (the position of the reader does not change).


[6390] Use this method to return to an element after navigating through its attributes. This method moves the reader to one of the following node types: Element, DocumentType, or XmlDeclaration.


[6391] MoveToFirstAttribute


[6392] [C#] public override bool MoveToFirstAttribute( );


[6393] [C++] public: bool MoveToFirstAttribute( );


[6394] [VB] Overrides Public Function MoveToFirstAttribute( ) As Boolean


[6395] [JScript] public override function MoveToFirstAttribute( ) : Boolean;


[6396] Description


[6397] Moves to the first attribute.


[6398] Return Value: true if an attribute exists (the reader moves to the first attribute); otherwise, false (the position of the reader does not change).


[6399] MoveToNextAttribute


[6400] [C#] public override bool MoveToNextAttribute( );


[6401] [C++] public: bool MoveToNextAttribute( );


[6402] [VB] Overrides Public Function MoveToNextAttribute( ) As Boolean


[6403] [JScript] public override function MoveToNextAttribute( ) : Boolean;


[6404] Description


[6405] Moves to the next attribute.


[6406] Return Value: true if there is a next attribute; false if there are no more attributes.


[6407] If the current node is an element node, this method is equivalent to System.Xml.XmlValidatingReader.MoveToFirstAttribute. If MoveToNextAttribute returns true, the reader moves to the next attribute; otherwise, the position of the reader does not change.


[6408] Read


[6409] [C#] public override bool Read( );


[6410] [C++] public: bool Read( );


[6411] [VB] Overrides Public Function Read( ) As Boolean


[6412] [JScript] public override function Read( ) : Boolean;


[6413] Description


[6414] Reads the next node from the stream.


[6415] Return Value: true if the next node was read successfully; false if there are no more nodes to read.


[6416] When a reader is first created and initialized, there is no information available. You must call Read to read the first node.


[6417] ReadAttributeValue


[6418] [C#] public override bool ReadAttributeValue( );


[6419] [C++] public: bool ReadAttributeValue( );


[6420] [VB] Overrides Public Function ReadAttributeValue( ) As Boolean


[6421] [JScript] public override function ReadAttributeValue( ) : Boolean;


[6422] Description


[6423] Parses the attribute value into one or more Text or EntityReference nodes.


[6424] Return Value: true if there are nodes to return.


[6425] Use this method after calling System.Xml.XmlValidatingReader.MoveToAttribute(System.String) to read through the text or entity reference nodes that make up the attribute value. The System.Xml.XmlReader.Depth of the attribute value nodes is one plus the depth of the attribute node. The Depth increments and decrements by one when you step into and out of general entity references.


[6426] ReadInnerXml


[6427] [C#] public override string ReadInnerXml( );


[6428] [C++] public: String* ReadInnerXml( );


[6429] [VB] Overrides Public Function ReadInnerXml( ) As String


[6430] [JScript] public override function ReadInnerXml( ) : String;


[6431] Description


[6432] Reads all the content, including markup, as a string.


[6433] Return Value: All the XML content, including markup, in the current node. If the current node has no children, an empty string is returned.


[6434] This method returns all the content of the current node including the markup. The current node (start tag) and corresponding end node (end tag) are not returned. For example, if you had the following: this ReadInnerXml returns this This method handles element and attribute nodes in the following way: Node Type Child Content Return Value Position After the Call Element text text After the end tag.


[6435] ReadOuterXml


[6436] [C#] public override string ReadOuterXml( );


[6437] [C++] public: String* ReadOuterXml( );


[6438] [VB] Overrides Public Function ReadOuterXml( ) As String


[6439] [JScript] public override function ReadOuterXml( ) : String;


[6440] Description


[6441] Reads the content, including markup, representing this node and all its children.


[6442] Return Value: If the reader is positioned on an element or an attribute node, this method returns all the XML content, including markup, of the current node and all its children; otherwise, it returns an empty string.


[6443] This method is similar to System.Xml.XmlValidatingReader.ReadInnerXml except it also returns the start and end tags.


[6444] ReadString


[6445] [C#] public override string ReadString( );


[6446] [C++] public: String* ReadString( );


[6447] [VB] Overrides Public Function ReadString( ) As String


[6448] [JScript] public override function ReadString( ) : String;


[6449] Description


[6450] Reads the contents of an element or text node as a string.


[6451] Return Value: The contents of the element or text node. This can be an empty string if the reader is positioned on something other than an element or text node, or if there is no more text content to return in the current context.


[6452] If positioned on an element, ReadString concatenates all text, significant whitespace, whitespace and CData section node types together and returns the concatenated data as the element content. The reader stops when any markup is encountered. This could occur in a mixed content model, or when an element end tag is read.


[6453] ReadTypedValue


[6454] [C#] public object ReadTypedValue( );


[6455] [C++] public: Object* ReadTypedValue( );


[6456] [VB] Public Function ReadTypedValue( ) As Object


[6457] [JScript] public function ReadTypedValue( ) : Object;


[6458] Description


[6459] Gets the common language runtime type for the specified XSD type


[6460] For example, if the type is defined as xsd:int the the runtime type int32 is returned for the object. This can be tested using the System.Object.GetType method and cast accordingly. This property always return a subclassed type of object. An object of the type object is never returned.


[6461] ResolveEntity


[6462] [C#] public override void ResolveEntity( );


[6463] [C++] public: void ResolveEntity( );


[6464] [VB] Overrides Public Sub ResolveEntity( )


[6465] [JScript] public override function ResolveEntity( );


[6466] Description


[6467] Resolves the entity reference for EntityReference nodes.


[6468] If the reader is positioned on an EntityReference node (XmlNodeType.EntityReference), if System.Xml.XmlValidatingReader.Read is called after calling this method, the entity replacement text is parsed. When the entity replacement text is finished, an EndEntity node is returned to close the entity reference scope.


[6469] IXmlLineInfo.HasLineInfo


[6470] [C#] bool IXmlLineInfo.HasLineInfo( );


[6471] [C++] bool IXmlLineInfo::HasLineInfo( );


[6472] [VB] Function HasLineInfo( ) As Boolean Implements IXmlLineInfo.HasLineInfo


[6473] [JScript] function IXmlLineInfo.HasLineInfo( ) : Boolean;


[6474] XmlWhitespace class (System.Xml)


[6475] ToString


[6476] Description


[6477] Represents whitespace in element content. These nodes are created automatically at System.Xml.XmlDocument.Load(System.String) time only if the System.Xml.XmlDocument.PreserveWhitespace flag is true.


[6478] XmlWhitespace


[6479] Example Syntax:


[6480] ToString


[6481] [C#] protected internal XmlWhitespace(string strData, XmlDocument doc);


[6482] [C++] internal: XmlWhitespace(String* strData, XmlDocument* doc);


[6483] [VB] Protected Friend Sub New(ByVal strData As String, ByVal doc As XmlDocument)


[6484] [JScript] package function XmlWhitespace(strData : String, doc : XmlDocument);


[6485] Description


[6486] Attributes


[6487] BaseURI


[6488] ChildNodes


[6489] Data


[6490] FirstChild


[6491] HasChildNodes


[6492] InnerText


[6493] InnerXml


[6494] IsReadOnly


[6495] Item


[6496] Item


[6497] LastChild


[6498] Length


[6499] LocalName


[6500] ToString


[6501] Description


[6502] Gets the local name of the node.


[6503] Name


[6504] ToString


[6505] [C#] public override string Name {get;}


[6506] [C++] public: _property virtual String* get_Name( );


[6507] [VB] Overrides Public ReadOnly Property Name As String


[6508] [JScript] public function get Name( ) : String;


[6509] Description


[6510] Gets the qualified name of the node.


[6511] NamespaceURI


[6512] NextSibling


[6513] NodeType


[6514] ToString


[6515] Description


[6516] Gets the type of the node.


[6517] OuterXml


[6518] OwnerDocument


[6519] ParentNode


[6520] Prefix


[6521] PreviousSibling


[6522] Value


[6523] ToString


[6524] Description


[6525] Gets or sets the value of the node.


[6526] CloneNode


[6527] [C#] public override XmlNode CloneNode(bool deep);


[6528] [C++] public: XmlNode* CloneNode(bool deep);


[6529] [VB] Overrides Public Function CloneNode(ByVal deep As Boolean) As XmlNode


[6530] [JScript] public override function CloneNode(deep : Boolean) : XmlNode;


[6531] Description


[6532] Creates a duplicate of this node.


[6533] Return Value: The duplicate node.


[6534] This method serves as a generic copy constructor for nodes. The duplicate node has no parent (ParentNode returns null). true to recursively clone the subtree under the specified node; false to clone only the node itself (and its attributes if the node is an XmlElement).


[6535] WriteContentTo


[6536] [C#] public override void WriteContentTo(XmlWriter w);


[6537] [C++] public: void WriteContento(XmlWriter* w);


[6538] [VB] Overrides Public Sub WriteContentTo(ByVal w As XmlWriter)


[6539] [JScript] public override function WriteContentTo(w : XmlWriter);


[6540] Description


[6541] Saves all the children of the node to the specified XmlWriter. The XmlWriter where you want to save the current node.


[6542] WriteTo


[6543] [C#] public override void WriteTo(XmlWriter w);


[6544] [C++] public: void WriteTo(XmlWriter* w);


[6545] [VB] Overrides Public Sub WriteTo(ByVal w As XmlWriter)


[6546] [JScript] public override function WriteTo(w : XmlWriter);


[6547] Description


[6548] Saves the node to the specified XmlWriter. The XmlWriter where you want to save the node.


[6549] XmlWriter class (System.Xml)


[6550] WriteTo


[6551] Description


[6552] Represents a writer that provides a fast, non-cached, forward-only means of generating streams or files containing XML data that conforms to the W3C Extensible Markup Language (XML) 1.0 and the Namespaces in XML recommendations.


[6553] XmlWriter is implemented in the System.Xml.XmlTextWriter class.


[6554] XmlWriter


[6555] Example Syntax:


[6556] WriteTo


[6557] [C#] protected XmlWriter( );


[6558] [C++] protected: XmlWriter( );


[6559] [VB] Protected Sub New( )


[6560] [JScript] protected function XmlWriter( );


[6561] WriteState


[6562] WriteTo


[6563] [C#] public abstract WriteState WriteState {get;}


[6564] [C++] public: _property virtual WriteState get_WriteState( )=0;


[6565] [VB] MustOverride Public ReadOnly Property WriteState As WriteState


[6566] [JScript] public abstract function get WriteState( ) : WriteState;


[6567] Description


[6568] When overridden in a derived class, gets the state of the writer.


[6569] XmlLang


[6570] WriteTo


[6571] [C#] public abstract string XmlLang {get;}


[6572] [C++] public: _property virtual String* get_XmlLang( )=0;


[6573] [VB] MustOverride Public ReadOnly Property XmlLang As String


[6574] [JScript] public abstract function get XmlLang( ) : String;


[6575] Description


[6576] When overridden in a derived class, gets the current xml:lang scope.


[6577] This property allows one component to find out in what state another component has left the writer. For example, perhaps one component wants to tell another which language help text to generate. The language information is communicated by writing an xml:lang attribute.


[6578] XmlSpace


[6579] WriteTo


[6580] [C#] public abstract XmlSpace XmlSpace {get;}


[6581] [C++] public: _property virtual XmlSpace get_XmlSpace( )=0;


[6582] [VB] MustOverride Public ReadOnly Property XmlSpace As XmlSpace


[6583] [JScript] public abstract function get XmlSpace( ) : XmlSpace;


[6584] Description


[6585] When overridden in a derived class, gets an System.Xml.XmlSpace representing the current xml:space scope.


[6586] This allows one component to find out what state another component has left the writer in.


[6587] Close


[6588] [C#] public abstract void Close( );


[6589] [C++] public: virtual void Close( )=0;


[6590] [VB] MustOverride Public Sub Close( )


[6591] [JScript] public abstract function Close( );


[6592] Description


[6593] When overridden in a derived class, closes this stream and the underlying stream.


[6594] Any elements or attributes left open will be automatically closed.


[6595] Flush


[6596] [C#] public abstract void Flush( );


[6597] [C++] public: virtual void Flush( )=0;


[6598] [VB] MustOverride Public Sub Flush( )


[6599] [JScript] public abstract function Flush( );


[6600] Description


[6601] When overridden in a derived class, flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.


[6602] This is called instead of System.Xml.XmlWriter.Close when you want to write more to the underlying stream without losing what is still in the buffer.


[6603] LookupPrefix


[6604] [C#] public abstract string LookupPrefix(string us);


[6605] [C++] public: virtual String* LookupPrefix(String* ns)=0;


[6606] [VB] MustOverride Public Function LookupPrefix(ByVal ns As String) As String


[6607] [JScript] public abstract function LookupPrefix(ns : String) : String;


[6608] Description


[6609] When overridden in a derived class, returns the closest prefix defined in the current namespace scope for the namespace URI.


[6610] Return Value: The matching prefix or null if no matching namespace URI is found in the current scope. The namespace URI whose prefix you want to find.


[6611] WriteAttributes


[6612] [C#] public virtual void WriteAttributes(XmlReader reader, bool defattr);


[6613] [C++] public: virtual void WriteAttributes(XmlReader* reader, bool defattr);


[6614] [VB] Overridable Public Sub WriteAttributes(ByVal reader As XmlReader, ByVal defattr As Boolean)


[6615] [JScript] public function WriteAttributes(reader : XmlReader, defattr : Boolean);


[6616] Description


[6617] When overridden in a derived class, writes out all the attributes found at the current position in the System.Xml.XmlReader.


[6618] If the reader is positioned on an element node WriteAttributes copies all the contained attributes. If the reader is positioned on an attribute node, this method writes the current attribute, then the rest of the attributes until the element closing tag. If the reader is positioned on an XmlDeclaration node, this method writes all the attributes in the declaration. If the reader is positioned on any other node type this method has no operation. The XmlReader from which to copy the attributes. true to copy the default attributes from the XmlReader; otherwise, false.


[6619] WriteAttributeString


[6620] [C#] public void WriteAttributeString(string localName, string value);


[6621] [C++] public: void WriteAttributeString(String* localName, String* value);


[6622] [VB] Public Sub WriteAttributeString(ByVal localName As String, ByVal value As String)


[6623] [JScript] public function WriteAttributeString(localName : String, value : String);


[6624] Description


[6625] When overridden in a derived class, writes out the attribute with the specified local name and value.


[6626] WriteAttributeString does the following If the attribute value includes double or single quotes, they are replaced with “ and &apos; respectively. The local name of the attribute. The value of the attribute.


[6627] WriteAttributeString


[6628] [C#] public void WriteAttributeString(string localName, string us, string value);


[6629] [C++] public: void WriteAttributeString(String* localName, String* ns, String* value);


[6630] [VB] Public Sub WriteAttributeString(ByVal localName As String, ByVal ns As String, ByVal value As String)


[6631] [JScript] public function WriteAttributeString(localName : String, ns : String, value : String); When overridden in a derived class, writes an attribute with the specified value.


[6632] Description


[6633] When overridden in a derived class, writes an attribute with the specified parameters.


[6634] This method writes out the attribute with a user defined namespace prefix and associates it with the given namespace. If localName is “xmlns” then this method also treats this as a namespace declaration. In this case, the ns argument should be null. The local name of the attribute. The namespace URI to associate with the attribute. The value of the attribute.


[6635] WriteAttributeString


[6636] [C#] public void WriteAttributeString(string prefix, string localName, string ns, string value);


[6637] [C++] public: void WriteAttributeString(String* prefix, String* localName, String* ns, String* value);


[6638] [VB] Public Sub WriteAttributeString(ByVal prefix As String, ByVal localName As String, ByVal ns As String, ByVal value As String)


[6639] [JScript] public function WriteAttributeString(prefix : String, localName : String, ns : String, value : String);


[6640] Description


[6641] When overridden in a derived class, writes out the attribute with the specified prefix, local name, namespace URI and value.


[6642] This method writes out the attribute with a user defined namespace prefix and associates it with the given namespace. If the prefix is “xmlns” then this method also treats this as a namespace declaration and associates the declared prefix with the namespace URI provided in the given attribute value. In this case the ns argument should be null. The namespace prefix of the attribute. The local name of the attribute. The namespace URI of the attribute. The value of the attribute.


[6643] WriteBase64


[6644] [C#] public abstract void WriteBase64(byte[ ] buffer, int index, int count);


[6645] [C++] public: virtual void WriteBase64(unsigned char buffer _gc[ ], int index, int count)=0;


[6646] [VB] MustOverride Public Sub WriteBase64(ByVal buffer( ) As Byte, ByVal index As Integer, ByVal count As Integer)


[6647] [JScript] public abstract function WriteBase64(buffer : Byte[ ], index : int, count : int);


[6648] Description


[6649] When overridden in a derived class, encodes the specified binary bytes as base64 and writes out the resulting text.


[6650] For example, the byte buffer may contain the binary contents of a GIF image. This clearly would not be valid XML. The base64 encoding is designed to represent arbitrary byte sequences in a text form comprised of the 65 US-ASCII characters ([A-Za-z0-9+/=]) where each character encodes 6 bits of the binary data. See RFC 1521. (You can obtain RFCs from the Request for Comments Web site at http://www.rfc-editor.org/.) See System.Xml.XmlTextWriter.WriteBase64(System.Byte[ ],System.Int32,Syste m.Int32) (in the XmlTextWriter class) for an example using this method. Byte array to encode. The position within the buffer indicating the start of the bytes to write. The number of bytes to write.


[6651] WriteBinHex


[6652] [C#] public abstract void WriteBinHex(byte[ ] buffer, int index, int count);


[6653] [C++] public: virtual void WriteBinHex(unsigned char buffer hd —gc[ ], int index, int count)=0;


[6654] [VB] MustOverride Public Sub WriteBinHex(ByVal buffer( ) As Byte, ByVal index As Integer, ByVal count As Integer)


[6655] [JScript] public abstract function WriteBinHex(buffer : Byte[ ], index : int, count : int);


[6656] Description


[6657] When overridden in a derived class, encodes the specified binary bytes as binhex and writes out the resulting text. Byte array to encode. The position within the buffer indicating the start of the bytes to write. The number of bytes to write.


[6658] WriteCData


[6659] [C#] public abstract void WriteCData(string text);


[6660] [C++] public: virtual void WriteCData(String* text)=0;


[6661] [VB] MustOverride Public Sub WriteCData(ByVal text As String)


[6662] [JScript] public abstract function WriteCData(text : String);


[6663] Description


[6664] When overridden in a derived class, writes out a block containing the specified text.


[6665] If text is either null or String.Empty, this method writes an empty CData block, for example. The text to place inside the CDATA block.


[6666] WriteCharEntity


[6667] [C#] public abstract void WriteCharEntity(char ch);


[6668] [C++] public: virtual void WriteCharEntity(_wchar_t ch)=0;


[6669] [VB] MustOverride Public Sub WriteCharEntity(ByVal ch As Char)


[6670] [JScript] public abstract function WriteCharEntity(ch : Char);


[6671] Description


[6672] When overridden in a derived class, forces the generation of a character entity for the specified Unicode character value.


[6673] This method writes the Unicode character in hexidecimal character entity reference format. The Unicode character for which to generate a character entity.


[6674] WriteChars


[6675] [C#] public abstract void WriteChars(char[ ] buffer, int index, int count);


[6676] [C++] public: virtual void WriteChars(_wchar_t buffer _gc[ ], int index, int count)=0;


[6677] [VB] MustOverride Public Sub WriteChars(ByVal buffer( ) As Char, ByVal index As Integer, ByVal count As Integer)


[6678] [JScript] public abstract function WriteChars(buffer : Char[ ], index : int, count : int.);


[6679] Description


[6680] When overridden in a derived class, writes text a buffer at a time.


[6681] This method can be used to write large amounts of text a buffer at a time. Character array containing the text to write. The position within the buffer indicating the start of the text to write. The number of characters to write.


[6682] WriteComment


[6683] [C#] public abstract void WriteComment(string text);


[6684] [C++] public: virtual void WriteComment(String* text)=0;


[6685] [VB] MustOverride Public Sub WriteComment(ByVal text As String)


[6686] [JScript] public abstract function WriteComment(text : String);


[6687] Description


[6688] When overridden in a derived class, writes out a comment containing the specified text.


[6689] If text is either null or String.Empty, this method writes a Comment with no data content, for example. Text to place inside the comment.


[6690] WriteDocType


[6691] [C#] public abstract void WriteDocType(string name, string pubid, string sysid, string subset);


[6692] [C++] public: virtual void WriteDocType(String* name, String* pubid, String* sysid, String* subset)=0;


[6693] [VB] MustOverride Public Sub WriteDocType(ByVal name As String, ByVal pubid As String, ByVal sysid As String, ByVal subset As String)


[6694] [JScript] public abstract function WriteDocType(name : String, pubid : String, sysid : String, subset : String);


[6695] Description


[6696] When overridden in a derived class, writes the DOCTYPE declaration with the specified name and optional attributes.


[6697] This method does not check for invalid characters in pubid, sysid or subset. The name of the DOCTYPE. This must be non-empty. If non-null it also writes PUBLIC “pubid” “sysid” where pubid and sysid are replaced with the value of the given arguments. If pubid is null and sysid is non-null it writes SYSTEM “sysid” where sysid is replaced with the value of this argument. If non-null it writes [subset] where subset is replaced with the value of this argument.


[6698] WriteElementString


[6699] [C#] public void WriteElementString(string localName, string value);


[6700] [C++] public: void WriteElementString(String* localName, String* value);


[6701] [VB] Public Sub WriteElementString(ByVal localName As String, ByVal value As String)


[6702] [JScript] public function WriteElementString(localName : String, value : String); When overridden in a derived class, writes an element containing a string value.


[6703] Description


[6704] When overridden in a derived class, writes an element with the specified local name and value. The local name of the element The value of the element


[6705] WriteElementString


[6706] [C#] public void WriteElementString(string localName, string ns, string value);


[6707] [C++] public: void WriteElementString(String* localName, String* ns, String* value);


[6708] [VB] Public Sub WriteElementString(ByVal localName As String, ByVal ns As String, ByVal value As String)


[6709] [JScript] public function WriteElementString(localName : String, ns : String, value : String);


[6710] Description


[6711] When overridden in a derived class, writes an element with the specified parameters. The local name of the element The namespace URI to associate with the element The value of the element


[6712] WriteEndAttribute


[6713] [C#] public abstract void WriteEndAttribute( );


[6714] [C++] public: virtual void WriteEndAttribute( )=0;


[6715] [VB] MustOverride Public Sub WriteEndAttribute( )


[6716] [JScript] public abstract function WriteEndAttribute( );


[6717] Description


[6718] When overridden in a derived class, closes the previous System.Xml.XmlWriter.WriteStartAttribute(System.String,System.String) call.


[6719] If you call WriteStartAttribute, you can close the attribute with this method.


[6720] WriteEndDocument


[6721] [C#] public abstract void WriteEndDocument( );


[6722] [C++] public: virtual void WriteEndDocument( )=0;


[6723] [VB] MustOverride Public Sub WriteEndDocument( )


[6724] [JScript] public abstract function WriteEndDocument( );


[6725] Description


[6726] When overridden in a derived class, closes any open elements or attributes and puts the writer back in the Start state.


[6727] WriteEndElement


[6728] [C#] public abstract void WriteEndElement( );


[6729] [C++] public: virtual void WriteEndElement( )=0;


[6730] [VB] MustOverride Public Sub WriteEndElement( )


[6731] [JScript] public abstract function WriteEndElement( );


[6732] Description


[6733] When overridden in a derived class, closes one element and pops the corresponding namespace scope.


[6734] If the element contains no content, a short end tag “/>” is written; otherwise, a full end tag is written.


[6735] WriteEntityRef


[6736] [C#] public abstract void WriteEntityRef(string name);


[6737] [C++] public: virtual void WriteEntityRef(String* name)=0;


[6738] [VB] MustOverride Public Sub WriteEntityRef(ByVal name As String)


[6739] [JScript] public abstract function WriteEntityRef(name : String);


[6740] Description


[6741] When overridden in a derived class, writes out an entity reference as follows: & name;. The name of the entity reference.


[6742] WriteFullEndElement


[6743] [C#] public abstract void WriteFullEndElement( );


[6744] [C++] public: virtual void WriteFullEndElement( )=0;


[6745] [VB] MustOverride Public Sub WriteFullEndElement( )


[6746] [JScript] public abstract function WriteFullEndElement( );


[6747] Description


[6748] When overridden in a derived class, closes one element and pops the corresponding namespace scope.


[6749] This method always writes the full end tag. This is useful when dealing with elements that must include a full end tag. For example, browsers expect HTML script blocks to be closed with “”.


[6750] WriteName


[6751] [C#] public abstract void WriteName(string name);


[6752] [C++] public: virtual void WriteName(String* name)=0;


[6753] [VB] MustOverride Public Sub WriteName(ByVal name As String)


[6754] [JScript] public abstract function WriteName(name : String);


[6755] Description


[6756] When overridden in a derived class, writes out the specified name, ensuring it is a valid name according to the W3C XML 1.0 recommendation (http://www.w3.org/TR/1998/REC-xml-19980210#NT-Name).


[6757] If System.Xml.XmlTextWriter.Namespaces is set to true, WriteName also checks that the name is also valid according to the W3C Namespaces in XML recommendation. The name to write.


[6758] WriteNmToken


[6759] [C#] public abstract void WriteNmToken(string name);


[6760] [C++] public: virtual void WriteNmToken(String* name)=0;


[6761] [VB] MustOverride Public Sub WriteNmToken(ByVal name As String)


[6762] [JScript] public abstract function WriteNmToken(name : String);


[6763] Description


[6764] When overridden in a derived class, writes out the specified name, ensuring it is a valid NmToken according to the W3C XML 1.0 recommendation (http://www.w3.org/TR/1998/REC-xml-19980210#NT-Name). The name to write.


[6765] WriteNode


[6766] [C#] public virtual void WriteNode(XmlReader reader, bool defattr);


[6767] [C++] public: virtual void WriteNode(XmlReader* reader, bool defattr);


[6768] [VB] Overridable Public Sub WriteNode(ByVal reader As XmlReader, ByVal defattr As Boolean)


[6769] [JScript] public function WriteNode(reader : XmlReader, defattr : Boolean);


[6770] Description


[6771] When overridden in a derived class, copies everything from the reader to the writer and moves the reader to the start of the next sibling.


[6772] The following table shows the supported node types for this method. The System.Xml.XmlReader to read from. true to copy the default attributes from the XmlReader; otherwise, false.


[6773] WriteProcessingInstruction


[6774] [C#] public abstract void WriteProcessingInstruction(string name, string text);


[6775] [C++] public: virtual void WriteProcessingInstruction(String* name, String* text)=0;


[6776] [VB] MustOverride Public Sub WriteProcessingInstruction(ByVal name As String, ByVal text As String)


[6777] [JScript] public abstract function WriteProcessingInstruction(name : String, text : String);


[6778] Description


[6779] When overridden in a derived class, writes out a processing instruction with a space between the name and text as follows:.


[6780] This method can be used to write the XML declaration (rather than System.Xml.XmlWriter.WriteStartDocument). This could result in the encoding attribute being incorrectly written. For example, the following C# code would result in an invalid XML document. The name of the processing instruction. The text to include in the processing instruction.


[6781] WriteQualifiedName


[6782] [C#] public abstract void WriteQualifiedName(string localName, string ns);


[6783] [C++] public: virtual void WriteQualifiedName(String* localName, String* ns)=0;


[6784] [VB] MustOverride Public Sub WriteQualifiedName(ByVal localName As String, ByVal ns As String)


[6785] [JScript] public abstract function WriteQualifiedName(localName : String, ns : String);


[6786] Description


[6787] When overridden in a derived class, writes out the namespace-qualified name. This method looks up the prefix that is in scope for the given namespace.


[6788] For example, the following C# code: writer.Formatting=Formatting.Indented; writer.WriteStartElement(“root”); writer.WriteAttributeString(“xmlns”,“x”,null,“urn:abc”); writer.WriteStartElement(“item”); writer.WriteStartAttribute(“href”,null); writer.WriteString(“#”); writer.WriteQualifiedName(“test”,“urn:abc”); writer.WriteEndAttribute( ); writer.WriteEndElement( ); writer.WriteEndElement( ); writer.Close( ); Generates the following output: If ns maps to the current default namespace, no prefix is generated. The local name to write. The namespace URI for the name.


[6789] WriteRaw


[6790] [C#] public abstract void WriteRaw(string data);


[6791] [C++] public: virtual void WriteRaw(String* data)=0;


[6792] [VB] MustOverride Public Sub WriteRaw(ByVal data As String)


[6793] [JScript] public abstract function WriteRaw(data : String);


[6794] Description


[6795] When overridden in a derived class, writes raw markup manually from a string.


[6796] This method bypasses the entitization of special characters. String containing the text to write.


[6797] WriteRaw


[6798] [C#] public abstract void WriteRaw(char[ ] buffer, int index, int count);


[6799] [C++] public: virtual void WriteRaw(_wchar_t buffer _gc[ ], int index, int count)=0;


[6800] [VB] MustOverride Public Sub WriteRaw(ByVal buffer( ) As Char, ByVal index As Integer, ByVal count As Integer)


[6801] [JScript] public abstract function WriteRaw(buffer : Char[ ], index : int, count : int); When overridden in a derived class, writes raw markup manually.


[6802] Description


[6803] When overridden in a derived class, writes raw markup manually from a character buffer.


[6804] This method bypasses the entitization of special characters. Character array containing the text to write. The position within the buffer indicating the start of the text to write. The number of characters to write.


[6805] Write StartAttribute


[6806] [C#] public void WriteStartAttribute(string localName, string ns);


[6807] [C++] public: void WriteStartAttribute(String* localName, String* ns);


[6808] [VB] Public Sub WriteStartAttribute(ByVal localName As String, ByVal us As String)


[6809] [JStript] public function WriteStartAttribute(localName : String, ns : String); When overridden in a derived class, writes the start of an attribute.


[6810] Description


[6811] When overridden in a derived class, writes the start of an attribute.


[6812] This is a more advanced version of System.Xml.XmlWriter.WriteAttributeString(System.String,System.String,S ystem.String) that allows you to write an attribute value using multiple write methods, such as System.Xml.XmlWriter.WriteString(System.String), System.Xml.XmlWriter.WriteQualifiedName(System.String,System.String), and so on. The local name of the attribute. The namespace URI of the attribute


[6813] WriteStartAttribute


[6814] [C#] public abstract void WriteStartAttribute(string prefix, string localName, string ns);


[6815] [C++] public: virtual void WriteStartAttribute(String* prefix, String* localName, String* ns)=0;


[6816] [VB] MustOverride Public Sub WriteStartAttribute(ByVal prefix As String, ByVal localName As String, ByVal ns As String)


[6817] [JScript] public abstract function WriteStartAttribute(prefix : String, localName : String, ns : String);


[6818] Description


[6819] When overridden in a derived class, writes the start of an attribute.


[6820] This method allows you to write a value using multiple Write methods. The namespace prefix of the attribute. The local name of the attribute. The namespace URI for the attribute.


[6821] WriteStartDocument


[6822] [C#] public abstract void WriteStartDocument( );


[6823] [C++] public: virtual void WriteStartDocument( )=0;


[6824] [VB] MustOverride Public Sub WriteStartDocument( )


[6825] [JScript] public abstract function WriteStartDocument( ); When overridden in a derived class, writes the XML declaration.


[6826] Description


[6827] When overridden in a derived class, writes the XML declaration with the version “1.0”.


[6828] The encoding level of the document is determined by how the writer is implemented. For example, if an System.Text.Encoding object is specified in the XmlTextWriter constructor, this determines the value of the encoding attribute. This method does not create a standalone attribute.


[6829] WriteStartDocument


[6830] [C#] public abstract void WriteStartDocument(bool standalone);


[6831] [C++] public: virtual void WriteStartDocument(bool standalone)=0;


[6832] [VB] MustOverride Public Sub WriteStartDocument(ByVal standalone As Boolean)


[6833] [JScript] public abstract function WriteStartDocument(standalone : Boolean);


[6834] Description


[6835] When overridden in a derived class, writes the XML declaration with the version “1.0” and the standalone attribute.


[6836] The encoding level of the document is determined by how the writer is implemented. For example, if an System.Text.Encoding object is specified in the XmlTextWriter constructor, this determines the value of the encoding attribute. If true, it writes “standalone=yes”; if false, it writes “standalone=no”


[6837] WriteStartElement


[6838] [C#] public void WriteStartElement(string LocalName);


[6839] [C++] public: void WriteStartElement(String* localName);


[6840] [VB] Public Sub WriteStartElement(ByVal localName As String)


[6841] [JScript] public function WriteStartElement(localName: String);


[6842] Description


[6843] When overridden in a derived class, writes out a start tag with the specified local name. The local name of the element.


[6844] WriteStartElement


[6845] [C#] public void WriteStartElement(string localName, string ns);


[6846] [C++] public: void WriteStartElement(String* localName, String* ns);


[6847] [VB] Public Sub WriteStartElement(ByVal localName As String, ByVal ns As String)


[6848] [JScript] public function WriteStartElement(localName : String, ns : String); When overridden in a derived class, writes the specified start tag.


[6849] Description


[6850] When overridden in a derived class, writes the specified start tag and associates it with the given namespace.


[6851] After calling this method you can either write attributes, or create content using System.Xml.XmlWriter.WriteComment(System.String), System.Xml.XmlWriter.WriteString(System.String), or WriteStartElement for child elements. You must close this element with either System.Xml.XmlWriter.WriteEndElement or System.Xml.XmlWriter.WriteFullEndElement. For example, the following C# code writer.WriteStartElement(“item”,null); writer.WriteString(“some text”); writer.WriteEndElement( ); generates the following output: some text See System.Xml.XmlTextWriter.WriteStartElement(System.String,System.String,System.String) (in the XmlTextWriter class) for an example using this method. The local name of the element. The namespace URI to associate with the element. If this namespace is already in scope and has an associated prefix, the writer automatically writes that prefix also.


[6852] WriteStartElement


[6853] [C#] public abstract void WriteStartElement(string prefix, string localName, string ns);


[6854] [C++] public: virtual void WriteStartElement(String* prefix, String* localName, String* ns)=0;


[6855] [VB] MustOverride Public Sub WriteStartElement(ByVal prefix As String, ByVal localName As String, ByVal ns As String)


[6856] [JScript] public abstract function WriteStartElement(prefix : String, localName : String, ns : String);


[6857] Description


[6858] When overridden in a derived class, writes the specified start tag and associates it with the given namespace and prefix. The namespace prefix of the element. The local name of the element. The namespace URI to associate with the element.


[6859] WriteString


[6860] [C#] public abstract void WriteString(string text);


[6861] [C++] public: virtual void WriteString(String* text)=0;


[6862] [VB] MustOverride Public Sub WriteString(ByVal text As String)


[6863] [JScript] public abstract function WriteString(text : String);


[6864] Description


[6865] When overridden in a derived class, writes the given text content.


[6866] WriteString does the following The characters &, <, and > are replaced with &, <, and >, respectively. The text to write.


[6867] WriteSurrogateCharEntity


[6868] [C#] public abstract void WriteSurrogateCharEntity(char lowChar, char highchar);


[6869] [C++] public: virtual void WriteSurrogateCharEntity(_wchar_t lowChar, _wchar_t highchar)=0;


[6870] [VB] MustOverride Public Sub WriteSurrogateCharEntity(ByVal lowChar As Char, ByVal highChar As Char)


[6871] [JScript] public abstract function WriteSurrogateCharEntity(lowChar : Char, highChar : Char);


[6872] Description


[6873] When overridden in a derived class, generates and writes the surrogate character entity for the surrogate character pair.


[6874] The surrogate character entity is written in hexadecimal format. The range for surrogate characters is #x10000 to #x10FFFF. The following formula is used to generate the surrogate character entity: ( highChar −0xD800) * 0x400+(lowChar −0xDC00)+0x10000 Applications encode DOM strings using UTF-16. For both HTML and XML, the document character set (and therefore the notation of numeric character references) is based on UCS [ISO-10646]. A single numeric character reference in a source document may therefore in some cases correspond to two 16-bit units in a DOM string (a high surrogate and a low surrogate). These 16-bit units are referred to as a surrogate pair. The low surrogate. This must be a value between 0xDC00 and 0xDFFF. The high surrogate. This must be a value between 0xD800 and 0xDBFF.


[6875] WriteWhitespace


[6876] [C#] public abstract void WriteWhitespace(string ws);


[6877] [C++] public: virtual void WriteWhitespace(String* ws)=0;


[6878] [VB] MustOverride Public Sub WriteWhitespace(ByVal ws As String)


[6879] [JScript] public abstract function WriteWhitespace(ws : String);


[6880] System.Xml.Schema


[6881] This is the namespace for the XML classes that provide standards-based support for XML schemas. The supported standards are: XML Schemas for Structures—http://www.w3.org/TR/xmlschema-1/—supports for schema mapping and for validation. See also XmlSchemaCollection which currently provides XSD and XDR schema validation.


[6882] Description


[6883] This is the namespace for the XML classes that provide standards-based support for XML schemas. The supported standards are: XML Schemas for Structures—http://www.w3.org/TR/xmlschema-1/—supports for schema mapping and for validation. See also XmlSchemaCollection which currently provides XSD and XDR schema validation.


[6884] ValidationEventArgs class (System.Xml.Schema)


[6885] Description


[6886] Returns detailed information relating to the ValidationEventhandler.


[6887] Properties:


[6888] Exception


[6889] [C#] public XmlSchemaException Exception {get;}


[6890] [C++] public: _property XmlSchemaException* get_Exception( );


[6891] [VB] Public ReadOnly Property Exception As XmlSchemaException


[6892] [JScript] public function get Exception( ) : XmlSchemaException;


[6893] Description


[6894] Gets the System.Xml.Schema.XmlSchemaException associated with the validation event.


[6895] Message


[6896] [C#] public string Message {get;}


[6897] [C++] public: _property String* get_Message( );


[6898] [VB] Public ReadOnly Property Message As String


[6899] [JScript] public function get Message( ) : String;


[6900] Description


[6901] Gets the text description corresponding to the validation event.


[6902] Severity


[6903] [C#] public XmlSeverityType Severity {get;}


[6904] [C++] public: _property XmlSeverityType get_Severity( );


[6905] [VB] Public ReadOnly Property Severity As XmlSeverityType


[6906] [JScript] public function get Severity( ) : XmlSeverityType;


[6907] Description


[6908] Gets the severity of the validation event.


[6909] Methods:


[6910] ValidationEventHandler delegate (System.Xml.Schema)


[6911] ToString


[6912] Description


[6913] Represents the method that will handle the System.Xml.Schema.ValidationEventArgs.


[6914] XmlSchema class (System.Xml.Schema)


[6915] ToString


[6916] Description


[6917] Contains the definition of a schema. The class for schema element. All XML Schema Definition language (XSD) elements are children of the schema element. Represents the W3C schema element.


[6918] ToString


[6919] [C#] public const string InstanceNamespace;


[6920] [C++] public: const String* InstanceNamespace;


[6921] [VB] Public Const InstanceNamespace As String


[6922] [JScript] public var InstanceNamespace : String;


[6923] Description


[6924] Provides the instance namespace.


[6925] ToString


[6926] [C#] public const string Namespace;


[6927] [C++] public: const String* Namespace;


[6928] [VB] Public Const Namespace As String


[6929] [JScript] public var Namespace : String;


[6930] Description


[6931] Provides the namespace for validation.


[6932] Constructors:


[6933] XmlSchema


[6934] Example Syntax:


[6935] ToString


[6936] [C#] public XmlSchema( );


[6937] [C++] public: XmlSchema( );


[6938] [VB] Public Sub New( )


[6939] [JScript] public function XmlSchema( );


[6940] Description


[6941] Constructs a new, empty schema.


[6942] Annotation


[6943] AttributeFormDefault


[6944] ToString


[6945] Description


[6946] Indicates the form for attributes declared in the target namespace of the schema.


[6947] The value must be one of XmlSchemaForm values. The default value is unqualified.


[6948] AttributeGroups


[6949] ToString


[6950] [C#] public XmlSchemaObjectTable AttributeGroups {get;}


[6951] [C++] public: _property XmlSchemaObjectTable* get_AttributeGroups( );


[6952] [VB] Public ReadOnly Property AttributeGroups As XmlSchemaObjectTable


[6953] [JScript] public function get AttributeGroups( ) : XmlSchemaObjectTable;


[6954] Description


[6955] The XmlSchemaObjectTable for all attribute groups in the schema.


[6956] Attributes


[6957] ToString


[6958] [C#] public XmlSchemaObjectTable Attributes {get;}


[6959] [C++] public: _property XmlSchemaObjectTable* get_Attributes( );


[6960] [VB] Public ReadOnly Property Attributes As XmlSchemaObjectTable


[6961] [JScript] public function get Attributes( ) : XmlSchemaObjectTable;


[6962] Description


[6963] The XmlSchemaObjectTable for all attributes in the schema.


[6964] BlockDefault


[6965] ToString


[6966] [C#] public XmlSchemaDerivationMethod BlockDefault {get; set;}


[6967] [C++] public: _property XmlSchemaDerivationMethod get_BlockDefault( );public: _property void set_BlockDefault(XmlSchemaDerivationMethod);


[6968] [VB] Public Property BlockDefault As XmlSchemaDerivationMethod


[6969] [JScript] public function get BlockDefault( ) : XmlSchemaDerivationMethod;public function set Blocklefault(XmlSchemaDerivationMethod);


[6970] Description


[6971] Type of derivation. The BlockDefault attribute sets the default value of the block attribute on element and complex type elements in the target namespace of the schema. The block attribute prevents a complex type (or element) that has the specified type of derivation from being used in place of the inherited complex type (or element).


[6972] This value can contain all or a list that is a subset of extension/restriction/substitution.


[6973] ElementFormDefault


[6974] ToString


[6975] [C#] public XmlSchemaForm ElementFormDefault {get; set;}


[6976] [C++] public: _property XmlSchemaForm get_ElementFormDefault( );public: _property void set_ElementFormDefault(XmlSchemaForm);


[6977] [VB] Public Property ElementFormDefault As XmlSchemaForm


[6978] [JScript] public function get ElementFormDefault( ) : XmlSchemaForm;public function set ElementFormDefault(XmlSchemaForm);


[6979] Description


[6980] Indicates the form for elements declared in the target namespace of the schema.


[6981] The value must be one of the XmlSchemaForm values. The default value is Unqualified.


[6982] Elements


[6983] ToString


[6984] [C#] public XmlSchemaObjectTable Elements {get;}


[6985] [C++] public: _property XmlSchemaObjectTable* get_Elements( );


[6986] [VB] Public ReadOnly Property Elements As XmlSchemaObjectTable


[6987] [JScript] public function get Elements( ) : XmlSchemaObjectTable;


[6988] Description


[6989] The XmlSchemaObjectTable for all elements in the schema.


[6990] FinalDefault


[6991] ToString


[6992] [C#] public XmlSchemaDerivationMethod FinalDefault {get; set;}


[6993] [C++] public: _property XmlSchemaDerivationMethod get_FinalDefault( );public: _property void set_FinalDefault(XmlSchemaDerivationMethod);


[6994] [VB] Public Property FinalDefault As XmlSchemaDerivationMethod


[6995] [JScript] public function get FinalDefault( ) : XmlSchemaDerivationMethod;public function set FinalDefault(XmlSchemaDerivationMethod);


[6996] Description


[6997] Type of derivation. The FinalDefault attribute sets the default value of the final attribute on element and complex type elements in the target namespace of this schema. The final attribute prevents the specified type of derivation of a element or complex type.


[6998] This value can contain all or a list that is a subset of extension/restriction.


[6999] Groups


[7000] ToString


[7001] [C#] public XmlSchemaObjectTable Groups {get;}


[7002] [C++] public: _property XmlSchemaObjectTable* get_Groups( );


[7003] [VB] Public ReadOnly Property Groups As XmlSchemaObjectTable


[7004] [JScript] public function get Groups( ) : XmlSchemaObjectTable;


[7005] Description


[7006] The XmlSchemaObjectTable for all groups in the schema.


[7007] Id


[7008] Includes


[7009] ToString


[7010] Description


[7011] Collection of included and imported schemas.


[7012] IsCompiled


[7013] ToString


[7014] [C#] public bool IsCompiled {get;}


[7015] [C++] public: _property bool get_IsCompiled( );


[7016] [VB] Public ReadOnly Property IsCompiled As Boolean


[7017] [JScript] public function get IsCompiled( ) : Boolean;


[7018] Description


[7019] Indicates if the schema has been compiled.


[7020] If value is true, the schema has been compiled.


[7021] Items


[7022] ToString


[7023] [C#] public XmlSchemaObjectCollection Items {get;}


[7024] [C++] public: _property XmlSchemaObjectCollection* get_Items( );


[7025] [VB] Public ReadOnly Property Items As XmlSchemaObjectCollection


[7026] [JScript] public function get Items( ) : XmlSchemaObjectCollection;


[7027] Description


[7028] This Items collection is used to add new element types at the schema element level.


[7029] Collection of XmlSchemaAnnotation, XmlSchemaAttribute, XmlSchemaAttributeGroup, XmlSchemaComplexType, XmlSchemaSimpleType, XmlSchemaElement, XmlSchemaGroup, or XmlSchemaNotation.


[7030] LineNumber


[7031] LinePosition


[7032] Notations


[7033] ToString


[7034] Description


[7035] The XmlSchemaObjectTable for all notations in the schema.


[7036] SchemaTypes


[7037] ToString


[7038] [C#] public XmlSchemaObjectTable SchemaTypes {get;}


[7039] [C++] public: _property XmlSchemaObjectTable* get_SchemaTypes( );


[7040] [VB] Public ReadOnly Property SchemaTypes As XmlSchemaObjectTable


[7041] [JScript] public function get SchemaTypes( ) : XmlSchemaObjectTable;


[7042] Description


[7043] The XmlSchemaObjectTable for all schema types in the schema.


[7044] SourceUri


[7045] TargetNamespace


[7046] ToString


[7047] Description


[7048] Property for the schema target namespace. The URI reference of the namespace of this schema.


[7049] This is the namespace of all schema components in this schema as well as any schema included using the include element. Included schemas must either have the same target namespace as the containing schema or have no target namespace specified.


[7050] UnhandledAttributes


[7051] Version


[7052] ToString


[7053] Description


[7054] Version of the schema.


[7055] Optional.


[7056] Compile


[7057] [C#] public void Compile(ValidationEventHandler validationEventHandler);


[7058] [C++] public: void Compile(ValidationEventHandler* validationEventHandler);


[7059] [VB] Public Sub Compile(ByVal validationEventHandler As ValidationEventHandler)


[7060] [JScript] public function Compile(validationEventHandler : ValidationEventHandler);


[7061] Description


[7062] Compiles the XML Schema Definition language (XSD) Schema Object Model (SOM) into schema information for validation. Used to check the syntactic and semantic structure of the programmatically built SOM. Semantic validation checking is performed before compiling. Validation Event Handler


[7063] Read


[7064] [C#] public static XmlSchema Read(Stream stream, ValidationEventHandler validationEventHandler);


[7065] [C++] public: static XmlSchema* Read(Stream* stream, ValidationEventHandler* validationEventHandler);


[7066] [VB] Public Shared Function Read(ByVal stream As Stream, ByVal validationEventHandler As ValidationEventHandler) As XmlSchema


[7067] [JScript] public static function Read(stream : Stream, validationEventHandler : ValidationEventHandler) : XmlSchema;


[7068] Description


[7069] Reads an XML Schema Definition language (XSD) schema from the supplied stream. Data stream Validation Event Handler


[7070] Read


[7071] [C#] public static XmlSchema Read(TextReader reader, ValidationEventHandler validationEventHandler);


[7072] [C++] public: static XmlSchema* Read(TextReader* reader, ValidationEventHandler* validationEventHandler);


[7073] [VB] Public Shared Function Read(ByVal reader As TextReader, ByVal validationEventHandler As ValidationEventHandler) As XmlSchema


[7074] [JScript] public static function Read(reader : TextReader, validationEventHandler : ValidationEventHandler) : XmlSchema; Reads an XML Schema Definition language (XSD) schema.


[7075] Description


[7076] Reads an XSD schema from the supplied text reader. TextReader Validation Event Handler


[7077] Read


[7078] [C#] public static XmlSchema Read(XmlReader reader, ValidationEventHandler validationEventHandler);


[7079] [C++] public: static XmlSchema* Read(XmlReader* reader, ValidationEventHandler* validationEventHandler);


[7080] [VB] Public Shared Function Read(ByVal reader As XmlReader, ByVal validationEventHandler As ValidationEventHandler) As XmlSchema


[7081] [JScript] public static function Read(reader : XmlReader, validationEventHandler : ValidationEventHandler) : XmlSchema;


[7082] Description


[7083] Reads an XML Schema Definition language (XSD) schema from the supplied reader. XmlReader Validation Event Handler


[7084] Write


[7085] [C#] public void Write(Stream stream);


[7086] [C++] public: void Write(Stream* stream);


[7087] [VB] Public Sub Write(ByVal stream As Stream)


[7088] [JScript] public function Write(stream : Stream); Writes out an XML Schema Definition language (XSD) schema.


[7089] Description


[7090] Writes the XSD schema to the supplied data stream. Data stream


[7091] Write


[7092] [C#] public void Write(TextWriter writer);


[7093] [C++] public: void Write(TextWriter* writer);


[7094] [VB] Public Sub Write(ByVal writer As TextWriter)


[7095] [JScript] public function Write(writer : TextWriter);


[7096] Description


[7097] Writes the XML Schema Definition language (XSD) schema to the supplied XmlWriter. XmlWriter


[7098] Write


[7099] [C#] public void Write(XmlWriter writer);


[7100] [C++] public: void Write(XmlWriter* writer);


[7101] [VB] Public Sub Write(ByVal writer As XmlWriter)


[7102] [JScript] public function Write(writer : XmlWriter);


[7103] Description


[7104] Writes out the XML Schema Definition language (XSD) schema. XmlWriter


[7105] Write


[7106] [C#] public void Write(Stream stream, XmlNamespaceManager namespaceManager);


[7107] [C++] public: void Write(Stream* stream, XmlNamespaceManager* namespaceManager);


[7108] [VB] Public Sub Write(ByVal stream As Stream, ByVal namespaceManager As XmlNamespaceManager)


[7109] [JScript] public function Write(stream : Stream, namespaceManager : XmlNamespaceManager);


[7110] Description


[7111] Writes the XML Schema Definition language (XSD) schema to the supplied TextWriter.


[7112] Write


[7113] [C#] public void Write(TextWriter writer, XmlNamespaceManager namespaceManager);


[7114] [C++] public: void Write(TextWriter* writer, XmlNamespaceManager* namespaceManager);


[7115] [VB] Public Sub Write(ByVal writer As TextWriter, ByVal namespaceManager As XmlNamespaceManager)


[7116] [JScript] public function Write(writer : TextWriter, namespaceManager : XmlNamespaceManager);


[7117] Description


[7118] Writes the XML Schema Definition language (XSD) schema to the supplied XmlWriter. TextWriter XmlNamespaceManager


[7119] Write


[7120] [C#] public void Write(XmlWriter writer, XmlNamespaceManager namespaceManager);


[7121] [C++] public: void Write(XmlWriter* writer, XmlNamespaceManager* namespaceManager);


[7122] [VB] Public Sub Write(ByVal writer As XmlWriter, ByVal namespaceManager As XmlNamespaceManager)


[7123] [JScript] public function Write(writer : XmlWriter, namespaceManager : XmlNamespaceManager);


[7124] Description


[7125] Writes out the XML Schema Definition language (XSD) schema. XmlWriter XmlNamespaceManager


[7126] XmlSchemaAll class (System.Xml.Schema)


[7127] Write


[7128] Description


[7129] Permits the elements in the group to appear in any order in the containing element. Represents the W3C all element (compositor).


[7130] XmlSchemaAll


[7131] Example Syntax:


[7132] Write


[7133] [C#] public XmlSchemaAll( );


[7134] [C++] public: XmlSchemaAll( );


[7135] [VB] Public Sub New( )


[7136] [JScript] public function XmlSchemaAll( );


[7137] Annotation


[7138] Id


[7139] Items


[7140] Write


[7141] Description


[7142] Collection of XmlSchemaElement, elements contained within the all compositor.


[7143] LineNumber


[7144] LinePosition


[7145] MaxOccurs


[7146] MaxOccursString


[7147] MinOccurs


[7148] MinOccursString


[7149] SourceUri


[7150] UnhandledAttributes


[7151] XmlSchemaAnnotated class (System.Xml.Schema)


[7152] ToString


[7153] Description


[7154] Class for all element types. The class for any element that can contain annotation elements.


[7155] XmlSchemaAnnotated


[7156] Example Syntax:


[7157] ToString


[7158] [C#] public XmlSchemaAnnotated( );


[7159] [C++] public: XmlSchemaAnnotated( );


[7160] [VB] Public Sub New( )


[7161] [JScript] public function XmlSchemaAnnotated( );


[7162] Annotation


[7163] ToString


[7164] [C#] public XmlSchemaAnnotation Annotation {get; set;}


[7165] [C++] public: _property XmlSchemaAnnotation* get_Annotation( );public: _property void set_Annotation(XmlSchemaAnnotation*);


[7166] [VB] Public Property Annotation As XmlSchemaAnnotation


[7167] [JScript] public function get Annotation( ) : XmlSchemaAnnotation;public function set Annotation(XmlSchemaAnnotation);


[7168] Description


[7169] Sets or retrieves the annotation property.


[7170] Id


[7171] ToString


[7172] [C#] public string Id {get; set;}


[7173] [C++] public: _property String* get_Id( );public: _property void set_Id(String*);


[7174] [VB] Public Property Id As String


[7175] [JScript] public function get Id( ) : String;public function set Id(String);


[7176] Description


[7177] Provides the string id.


[7178] The id value must be of type ID and be unique within the document containing this element.


[7179] LineNumber


[7180] LinePosition


[7181] SourceUri


[7182] UnhandledAttributes


[7183] ToString


[7184] Description


[7185] Stores qualified attributes that do not belong to the schema target namespace.


[7186] XmlSchemaAnnotation class (System.Xml.Schema)


[7187] ToString


[7188] Description


[7189] Defines an annotation. Creates an annotation element. Represents the W3C annotation element.


[7190] An annotation element can contain one or more XmlSchemaAppInfo classes (information for applications) and XmlSchemaDocumentation classes (comments or text for humans).


[7191] XmlSchemaAnnotation


[7192] Example Syntax:


[7193] ToString


[7194] [C#] public XmlSchemaAnnotation( );


[7195] [C++] public: XmlSchemaAnnotation( );


[7196] [VB] Public Sub New( )


[7197] [JScript] public function XmlSchemaAnnotation( );


[7198] Items


[7199] ToString


[7200] [C#] public XmlSchemaObjectCollection Items {get;}


[7201] [C++] public: _property XmlSchemaObjectCollection* get_Items( );


[7202] [VB] Public ReadOnly Property Items As XmlSchemaObjectCollection


[7203] [JScript] public function get Items( ) : XmlSchemaObjectCollection;


[7204] Description


[7205] Provides a collection of annotation elements.


[7206] Read-only property.


[7207] LineNumber


[7208] LinePosition


[7209] SourceUri


[7210] XmlSchemaAny class (System.Xml.Schema)


[7211] ToString


[7212] Description


[7213] Enables any element from the specified namespace(s) to appear in the containing complexType, sequence, or choice element. Represents the W3C any element.


[7214] XmlSchemaAny


[7215] Example Syntax:


[7216] ToString


[7217] [C#] public XmlSchemaAny( );


[7218] [C++] public: XmlSchemaAny( );


[7219] [VB] Public Sub New( )


[7220] [JScript] public function XmlSchemaAny( );


[7221] Annotation


[7222] Id


[7223] LineNumber


[7224] LinePosition


[7225] MaxOccurs


[7226] MaxOccursString


[7227] MinOccurs


[7228] MinOccursString


[7229] Namespace


[7230] ToString


[7231] Description


[7232] Namespaces containing the elements that can be used.


[7233] If no namespace is specified, any is the default. If the namespace is specified, it must be one of the following: Namespace Value Description any Elements from any namespace can be present.


[7234] ProcessContents


[7235] ToString


[7236] [C#] public XmlSchemaContentProcessing ProcessContents {get; set;}


[7237] [C++] public: _property XmlSchemaContentProcessing get_ProcessContents( );public: _property void set_ProcessContents(XmlSchemaContentProcessing);


[7238] [VB] Public Property ProcessContents As XmlSchemaContentProcessing


[7239] [JScript] public function get ProcessContents( ) : XmlSchemaContentProcessing;public function set ProcessContents(XmlSchemaContentProcessing);


[7240] Description


[7241] Indicates how an application or XML processor should handle the validation of XML documents for the elements specified by the any element.


[7242] If no processContents attribute is specified, the default is strict. If processContents is specified, it must one of the following: Enum Description Skip The XML processor does not attempt to validate any attributes from the specified namespace.


[7243] SourceUri


[7244] UnhandledAttributes


[7245] XmlSchemaAnyAttribute class (System.Xml.Schema)


[7246] ToString


[7247] Description


[7248] Enables any attribute from the specified namespace(s) to appear in the containing complexType element. Represents the W3C anyAttribute element.


[7249] XmlSchemaAnyAttribute


[7250] Example Syntax:


[7251] ToString


[7252] [C#] public XmlSchemaAnyAttribute( );


[7253] [C++] public: XmlSchemaAnyAttribute( );


[7254] [VB] Public Sub New( )


[7255] [JScript] public function XmlSchemaAnyAttribute( );


[7256] Annotation


[7257] Id


[7258] LineNumber


[7259] LinePosition


[7260] Namespace


[7261] ToString


[7262] Description


[7263] Namespaces containing the attributes that can be used.


[7264] If no namespace is specified, any is the default. If the namespace is specified, it must one of the following. If processContents is specified, it must one of the following: Namespace Value Description any Elements from any namespace can be present.


[7265] ProcessContents


[7266] ToString


[7267] [C#] public XmlSchemaContentProcessing ProcessContents {get; set;}


[7268] [C++] public: _property XmlSchemaContentProcessing get_ProcessContents( );public: _property void set_ProcessContents(XmlSchemaContentProcessing);


[7269] [VB] Public Property ProcessContents As XmlSchemaContentProcessing


[7270] [JScript] public function get ProcessContents( ) :


[7271] XmlSchemaContentProcessing;public function set


[7272] ProcessContents(XmlSchemaContentProcessing);


[7273] Description


[7274] Indicates how an application or XML processor should handle the validation of XML documents for the attributes specified by the anyAttribute element.


[7275] If no processContents attribute is specified, the default is strict. If processContents is specified, it must one of the following.


[7276] SourceUri


[7277] UnhandledAttributes


[7278] XmlSchemaAppInfo class (System.Xml.Schema)


[7279] ToString


[7280] Description


[7281] Class that specifies information to be used by applications within an annotation. Represents the W3C AppInfo element.


[7282] XmlSchemaAppInfo


[7283] Example Syntax:


[7284] ToString


[7285] [C#] public XmlSchemaAppInfo( );


[7286] [C++] public: XmlSchemaAppInfo( );


[7287] [VB] Public Sub New( )


[7288] [JScript] public function XmlSchemaAppInfo( );


[7289] LineNumber


[7290] LinePosition


[7291] Markup


[7292] ToString


[7293] Description


[7294] Returns an array of XmlNode that represents the document text markup.


[7295] Source


[7296] ToString


[7297] [C#] public string Source {get; set;}


[7298] [C++] public: _property String* get_Source( );public: _property void set_Source(String*);


[7299] [VB] Public Property Source As String


[7300] [JScript] public function get Source( ) : String;public function set Source(String);


[7301] Description


[7302] Provides the source of the application information.


[7303] The source must be a URI reference. Optional.


[7304] SourceUri


[7305] XmlSchemaAttribute class (System.Xml.Schema)


[7306] ToString


[7307] Description


[7308] Class for attribute types. Represents the W3C attribute element.


[7309] Attribute declarations can be present as child elements of the schema element (having global scope) or within complex type definitions. For complex types, attribute declarations can be present as local declarations or references to attributes with global scope. Both global and local attribute declarations have the optional type attribute that refers to an existing simple type. If the attribute is not used, then the attribute (global or local) must define a local simple type.


[7310] XmlSchemaAttribute


[7311] Example Syntax:


[7312] ToString


[7313] [C#] public XmlSchemaAttribute( );


[7314] [C++] public: XmlSchemaAttrbute( );


[7315] [VB] Public Sub New( )


[7316] [JScript] public function XmlSchemaAttribute( );


[7317] Annotation


[7318] AttributeType


[7319] ToString


[7320] Description


[7321] Name of a built-in data type defined in this schema (or another schema indicated by the specified namespace).


[7322] The type must be a QName. The type can include a namespace prefix.


[7323] DefaultValue


[7324] ToString


[7325] [C#] public string DefaultValue {get; set;}


[7326] [C++] public: _property String* get_DefaultValue( );public: _property void set_DefaultValue(String*);


[7327] [VB] Public Property DefaultValue As String


[7328] [JScript] public function get DefaultValue( ) : String;public function set DefaultValue(String);


[7329] Description


[7330] The default value for the attribute.


[7331] The fixed and default properties are mutually exclusive.


[7332] FixedValue


[7333] ToString


[7334] [C#] public string FixedValue {get; set;}


[7335] [C++] public: _property String* get_FixedValue( );public: _property void set_FixedValue(String*);


[7336] [VB] Public Property FixedValue As String


[7337] [JScript] public function get FixedValue( ) : String;public function set FixedValue(String);


[7338] Description


[7339] The fixed value for the attribute.


[7340] This is a predetermined and unchangeable value.


[7341] Form


[7342] ToString


[7343] [C#] public XmlSchemaForm Form {get; set;}


[7344] [C++] public: _property XmlSchemaFormget_Form( );public: _property void set_Form(XmlSchemaForm);


[7345] [VB] Public Property Form As XmlSchemaForm


[7346] [JScript] public function get Form( ) : XmlSchemaForm;public function set Form(XmlSchemaForm);


[7347] Description


[7348] Form for the attribute.


[7349] The default value is the value of the attributeFormDefault attribute of the schema element containing the attribute. The value of XmlSchemaForm is defined as one of the following: Enum Description Qualified Attribute is not required to be qualified with the namespace prefix.


[7350] Id


[7351] LineNumber


[7352] LinePosition


[7353] Name


[7354] ToString


[7355] Description


[7356] Provides the name of the attribute.


[7357] The name must be an NCName as defined in the W3C XML Namespaces specification. When a XML document is validated against a schema, each attribute in the document is validated against an attribute element in the schema. The attribute element with a name attribute that matches the local name of the attribute in the document is used to validate that attribute.


[7358] QualifiedName


[7359] ToString


[7360] [C#] public XmlQualifiedName QualifiedName {get;}


[7361] [C++] public: _property XmlQualifiedName* get_QualifiedName( );


[7362] [VB] Public ReadOnly Property QualifiedName As XmlQualifiedName


[7363] [JScript] public function get QualifiedName( ) : XmlQualifiedName;


[7364] Description


[7365] The qualified name for the attribute.


[7366] Optional.


[7367] RefName


[7368] ToString


[7369] [C#] public XmlQualifiedName RefName {get; set;}


[7370] [C++] public: _property XmlQualifiedName* get_RefName( );public: _property void set_RefName(XmlQualifiedName*);


[7371] [VB] Public Property RefName As XmlQualifiedName


[7372] [JScript] public function get RefName( ) : XmlQualifiedName;public function set RefName(XmlQualifiedName);


[7373] Description


[7374] Name of an attribute declared (referenced) in this schema (or another schema indicated by the specified namespace).


[7375] The RefName must be a QName. The type can include a namespace prefix.


[7376] SchemaType


[7377] ToString


[7378] [C#] public XmlSchemaSimpleType SchemaType {get; set;}


[7379] [C++] public: _property XmlSchemaSimpleType* get_SchemaType( );public: _property void set_SchemaType(XmlSchemaSimpleType*);


[7380] [VB] Public Property SchemaType As XmlSchemaSimpleType


[7381] [JScript] public function get SchemaType( ) : XmlSchemaSimpleType;public function set SchemaType(XmlSchemaSimpleType);


[7382] Description


[7383] Name of a built-in data type or simple type defined in this schema (or another schema indicated by the specified namespace).


[7384] The type must be a QName. The type can include a namespace prefix.


[7385] SchemaTypeName


[7386] ToString


[7387] [C#] public XmlQualifiedName SchemaTypeName {get; set;}


[7388] [C++] public: _property XmlQualifiedName* get_SchemaTypeName( );public: _property void set_SchemaTypeName(XmlQualifiedName*);


[7389] [VB] Public Property SchemaTypeName As XmlQualifiedName


[7390] [JScript] public function get SchemaTypeName( ) : XmlQualifiedName;public function set SchemaTypeName(XmlQualifiedName);


[7391] Description


[7392] Name of the simple type defined in this schema (or another schema indicated by the specified namespace).


[7393] The type must be a QName. The type can include a namespace prefix.


[7394] SourceUri


[7395] UnhandledAttributes


[7396] Use


[7397] ToString


[7398] Description


[7399] Indicates how the attribute is used.


[7400] If specified, this attribute must have one of the following values: Enum Description None Attribute has no value.


[7401] XmlSchemaAttributeGroup class (System.Xml.Schema)


[7402] ToString


[7403] Description


[7404] Class for attribute groups. Groups a set of attribute declarations so that they can be incorporated as a group into complex type definitions. Represents the W3C attributeGroup element.


[7405] An attribute group can be defined only as a child of the schema element. In this case, the name attribute must be present and contain the attribute, attributeGroup, or anyAttribute elements that make up the attribute group.


[7406] XmlSchemaAttributeGroup


[7407] Example Syntax:


[7408] ToString


[7409] [C#] public XmlSchemaAttributeGroup( );


[7410] [C++] public: XmlSchemaAttributeGroup( );


[7411] [VB] Public Sub New( )


[7412] [JScript] public function XmlSchemaAttributeGroup( );


[7413] Annotation


[7414] AnyAttribute


[7415] ToString


[7416] Description


[7417] Allows an XmlSchemaAnyAttribute class to be used interchangeably for the attribute.


[7418] Attributes


[7419] ToString


[7420] [C#] public XmlSchemaObjectCollection Attributes {get;}


[7421] [C++] public: _property XmlSchemaObjectCollection* get_Attributes( );


[7422] [VB] Public ReadOnly Property Attributes As XmlSchemaObjectCollection


[7423] [JScript] public function get Attributes( ) : XmlSchemaObjectCollection;


[7424] Description


[7425] Collection of attributes for the attribute group. Contains XmlSchemaAttribute and XmlSchemaAttributeGroupRef elements.


[7426] Id


[7427] LineNumber


[7428] LinePosition


[7429] Name


[7430] ToString


[7431] Description


[7432] The name of the attribute group.


[7433] Is The name must be an NCName as defined in the XML Namespaces specification. When a complexType or attributeGroup element includes an attribute group, the name of the attributeGroup element is used for the ref attribute. This value must be a NCName.


[7434] SourceUri


[7435] UnhandledAttributes


[7436] XmlSchemaAttributeGroupRef class (System.Xml.Schema)


[7437] ToString


[7438] Description


[7439] Class for attribute group reference. Represents the W3C AttributeGroupRef element.


[7440] XmlSchemaAttributeGroupRef must be present if the attribute group includes an attributeGroup or complexType element.


[7441] XmlSchemaAttributeGroupRef


[7442] Example Syntax:


[7443] ToString


[7444] [C#] public XmlSchemaAttributeGroupRef( );


[7445] [C++] public: XmlSchemaAttributeGroupRef( );


[7446] [VB] Public Sub New( )


[7447] [JScript] public function XmlSchemaAttributeGroupRef( );


[7448] Annotation


[7449] Id


[7450] LineNumber


[7451] LinePosition


[7452] RefName


[7453] ToString


[7454] Description


[7455] The referenced name for the AttributeGroupRef element.


[7456] SourceUri


[7457] UnhandledAttributes


[7458] XmlSchemaChoice class (System.Xml.Schema)


[7459] ToString


[7460] Description


[7461] Allows only one of its children to appear in an instance. Represents the W3C choice (compositor) element.


[7462] XmlSchemaChoice


[7463] Example Syntax:


[7464] ToString


[7465] [C#] public XmlSchemaChoice( );


[7466] [C++] public: XmlSchemaChoice( );


[7467] [VB] Public Sub New( )


[7468] [JScript] public function XmlSchemaChoice( );


[7469] Annotation


[7470] Id


[7471] Items


[7472] ToString


[7473] Description


[7474] Collection of the elements contained with the compositor (choice): XmlSchemaElement, XmlSchemaGroupRef, XmlSchemaChoice, XmlSchemaSequence, or XmlSchemaAny.


[7475] LineNumber


[7476] LinePosition


[7477] MaxOccurs


[7478] MaxOccursString


[7479] MinOccurs


[7480] MinOccursString


[7481] SourceUri


[7482] UnhandledAttributes


[7483] XmlSchemaCollection class (System.Xml.Schema)


[7484] ToString


[7485] Description


[7486] Contains a cache of XML Schema Definition language (XSD) and XML-Data Reduced Language (XDR) schemas. This class cannot be inherited.


[7487] Schemas are loaded using the System.Xml.Schema.XmlSchemaCollection.Add(System.String,System.Stringmethod, at which time the schema is associated with a namespace URI. For XSD schemas, this will typically be the schema's targetNamespace property.


[7488] XmlSchemaCollection


[7489] Example Syntax:


[7490] ToString


[7491] [C#] public XmlSchemaCollection( );


[7492] [C++] public: XmlSchemaCollection( );


[7493] [VB] Public Sub New( )


[7494] [JScript] public function XmlSchemaCollection( ); Initializes a new instance of the XmlSchemaCollection class.


[7495] Description


[7496] Initializes a new instance of the XmlSchemaCollection class.


[7497] XmlSchemaCollection


[7498] Example Syntax:


[7499] ToString


[7500] [C#] public XmlSchemaCollection(XmlNameTable nametable);


[7501] [C++] public: XmlSchemaCollection(XmlNameTable* nametable);


[7502] [VB] Public Sub New(ByVal nametable As XmlNameTable)


[7503] [JScript] public function XmlSchemaCollection(nametable : XmlNameTable);


[7504] Description


[7505] Initializes a new instance of the XmlSchemaCollection class with the specified System.Xml.XmlNameTable. The XmlNameTable is used when loading schemas. The XmlNameTable to use.


[7506] Count


[7507] ToString


[7508] [C#] public int Count {get;}


[7509] [C++] public: _property int get_Count( );


[7510] [VB] Public ReadOnly Property Count As Integer


[7511] [JScript] public function get Count( ) : int;


[7512] Description


[7513] Gets the number of namespaces defined in this collection.


[7514] Item


[7515] ToString


[7516] [C#] public XmlSchema this[string ns] {get;}


[7517] [C++] public: _property XmlSchema* get_Item(String* ns);


[7518] [VB] Public Default ReadOnly Property Item(ByVal ns As String) As XmlSchema


[7519] [JScript] returnValue=XmlSchemaCollectionObject.Item(ns);


[7520] Description


[7521] Gets the System.Xml.Schema.XmlSchema associated with the given namespace URI. The namespace URI associated with the schema you want to return. This will typically be the targetNamespace of the schema.


[7522] NameTable


[7523] ToString


[7524] [C#] public XmlNameTable NameTable {get;}


[7525] [C++] public: _property XmlNameTable* get_NameTable( );


[7526] [VB] Public ReadOnly Property NameTable As XmlNameTable


[7527] [JScript] public function get NameTable( ) : XmlNameTable;


[7528] Description


[7529] Gets the default XmlNameTable used by the XmlSchemaCollection when loading new schemas.


[7530] ToString


[7531] [C#] public event ValidationEventHandler ValidationEventHandler;


[7532] [C++] public: _event ValidationEventHandler* ValidationEventHandler;


[7533] [VB] Public Event ValidationEventHandler As ValidationEventHandler


[7534] Description


[7535] Sets an event handler for receiving information about the XML-Data Reduced Language (XDR) and XML Schema Definition language (XSD) schema validation errors.


[7536] These events occur when the schemas are added to the collection. If an event handler is not provided, an System.Xml.XmlException is thrown on any validation errors where the System.Xml.Schema.ValidationEventArgs.Severity is XmlSeverityType.Error. To specify an event handler, define a callback function and add it to the ValidationEventHandler.


[7537] Add


[7538] [C#] public XmlSchema Add(XmlSchema schema);


[7539] [C++] public: XmlSchema* Add(XmlSchema* schema);


[7540] [VB] Public Function Add(ByVal schema As XmlSchema) As XmlSchema


[7541] [JScript] public function Add(schema : XmlSchema) : XmlSchema;


[7542] Description


[7543] Adds the System.Xml.Schema.XmlSchema to the collection.


[7544] Return Value: The XmlSchema object.


[7545] The targetNamespace attribute is used to identify this schema. The XmlSchema to add to the collection.


[7546] Add


[7547] [C#] public void Add(XmlSchemaCollection schema);


[7548] [C++] public: void Add(XmlSchemaCollection* schema);


[7549] [VB] Public Sub Add(ByVal schema As XmlSchemaCollection)


[7550] [JScript] public function Add(schema : XmlSchemaCollection);


[7551] Description


[7552] Adds all the namespaces defined in the given collection (including their associated schemas) to this collection. The XmlSchemaCollection you want to add to this collection.


[7553] Add


[7554] [C#] public XmlSchema Add(string ns, string uri);


[7555] [C++] public: XmlSchema* Add(String* ns, String* uri);


[7556] [VB] Public Function Add(ByVal ns As String, ByVal uri As String) As XmlSchema


[7557] [JScript] public function Add(ns : String, uri : String) : XmlSchema; Adds the given schema into the schema collection.


[7558] Description


[7559] Adds the schema located by the given URL into the schema collection.


[7560] Return Value: The System.Xml.Schema.XmlSchema added to the schema collection.


[7561] If ns has already been associated with another schema in the collection, the schema being added replaces the original schema in the collection. For example, in the following C# code, authors.xsd is removed from the collection and names.xsd is added. The namespace URI associated with the schema. For XML Schema Definition language (XSD) schemas, this will typically be the targetNamespace. The URL that specifies the schema to load.


[7562] Add


[7563] [C#] public XmlSchema Add(string ns, XmlReader reader);


[7564] [C++] public: XmlSchema* Add(String* ns, XmlReader* reader);


[7565] [VB] Public Function Add(ByVal ns As String, ByVal reader As XmlReader) As XmlSchema


[7566] [JScript] public function Add(ns : String, reader : XmlReader) : XmlSchema;


[7567] Description


[7568] Adds the given schema into the schema collection.


[7569] Return Value: The System.Xml.Schema.XmlSchema added to the schema collection.


[7570] If ns has already been associated with another schema in the collection, the schema being added replaces the original schema in the collection. The namespace URI associated with the schema. For XML Schema Definition language (XSD) schemas, this will typically be the targetNamespace. System.Xml.XmlReader containing the schema to add.


[7571] Contains


[7572] [C#] public bool Contains(string ns);


[7573] [C++] public: bool Contains(String* ns);


[7574] [VB] Public Function Contains(ByVal ns As String) As Boolean


[7575] [JScript] public function Contains(ns : String) : Boolean;


[7576] Description


[7577] Gets a value indicating whether the specified schema is in the collection.


[7578] Return Value: true if the schema is in the collection; otherwise, false. The namespace URI associated with the schema. For XML Schema Definition language (XSD) schemas, this will typically be the target namespace.


[7579] Contains


[7580] [C#] public bool Contains(XmlSchema schema);


[7581] [C++] public: bool Contains(XmlSchema* schema);


[7582] [VB] Public Function Contains(ByVal schema As XmlSchema) As Boolean


[7583] [JScript] public function Contains(schema : XmlSchema) : Boolean; Gets a value indicating whether the specified schema is in the collection.


[7584] Description


[7585] Gets a value indicating whether the specified System.Xml.Schema.XmlSchema is in the collection.


[7586] Return Value: true if the schema is in the collection; otherwise, false. The name of the schema.


[7587] CopyTo


[7588] [C#] public void CopyTo(XmlSchema[ ] array, it index);


[7589] [C++] public: void CopyTo(XmlSchema* array[ ], int index);


[7590] [VB] Public Sub CopyTo(ByVal array( ) As XmlSchema, ByVal index As Integer)


[7591] [JScript] public function CopyTo(array : XmlSchema[ ], index : int);


[7592] Description


[7593] Copies all the XmlSchema objects from this collection into the given array starting at the given index. The array to copy the objects to. The index in array where copying will begin.


[7594] GetEnumerator


[7595] [C#] public XmlSchemaCollectionEnumerator GetEnumerator( );


[7596] [C++] public: XmlSchemaCollectionEnumerator* GetEnumerator( );


[7597] [VB] Public Function GetEnumerator( ) As XmlSchemaCollectionEnumerator


[7598] [J Script] public function GetEnumerator( ) : XmlSchemaCollectionEnumerator;


[7599] Description


[7600] Provides support for the “for each” style iteration over the collection of schemas.


[7601] Return Value: An enumerator for iterating over all schemas in the current collection.


[7602] ICollection.CopyTo


[7603] [C#] void ICollection.CopyTo(Array array, int index);


[7604] [C++] void ICollection::CopyTo(Array* array, int index);


[7605] [VB] Sub CopyTo(ByVal array As Array, ByVal index As Integer) Implements ICollection.CopyTo


[7606] [JScript] function ICollection.CopyTo(array : Array, index : int);


[7607] IEnumerable.GetEnumerator


[7608] [C#] IEnumerator IEnumerable.GetEnumerator( );


[7609] [C++] IEnumerator* IEnumerable::GetEnumerator( );


[7610] [VB] Function GetEnumerator( ) As IEnumerator Implements IEnumerable.GetEnumerator


[7611] [JScript] function IEnumerable.GetEnumerator( ) : IEnumerator;


[7612] XmlSchemaCollectionEnumerator class (System.Xml.Schema)


[7613] ToString


[7614] Description


[7615] Supports a simple iteration over a collection. This class cannot be inherited.


[7616] Current


[7617] ToString


[7618] [C#] public XmlSchema Current {get;}


[7619] [C++] public: _property XmlSchema* get_Current( );


[7620] [VB] Public ReadOnly Property Current As XmlSchema


[7621] [JScript] public function get Current( ) : XmlSchema;


[7622] Description


[7623] Gets the current System.Xml.Schema.XmlSchema in the collection.


[7624] MoveNext


[7625] [C#] public bool MoveNext( );


[7626] [C++] public: bool MoveNext( );


[7627] [VB] Public Function MoveNext( ) As Boolean


[7628] [JScript] public function MoveNext( ) : Boolean;


[7629] Description


[7630] Advances the enumerator to the next schema in the collection.


[7631] Return Value: true if the move was successful; false if the enumerator has passed the end of the collection.


[7632] IEnumerator.MoveNext


[7633] [C#] bool IEnumerator.MoveNext( );


[7634] [C++] bool IEnumerator::MoveNext( );


[7635] [VB] Function MoveNext( ) As Boolean Implements IEnumerator.MoveNext


[7636] [JScript] function IEnumerator.MoveNext( ) : Boolean;


[7637] IEnumerator.Reset


[7638] [C#] void IEnumerator.Reset( );


[7639] [C++] void IEnumerator::Reset( );


[7640] [VB] Sub Reset( ) Implements IEnumerator.Reset


[7641] [JScript] function IEnumerator.Reset( );


[7642] XmlSchemaComplexContent class (System.Xml.Schema)


[7643] ToString


[7644] Description


[7645] Class that represents complex content model for complex types. Contains extensions or restrictions on a complex type that has mixed content or elements only.


[7646] XmlSchemaComplexContent


[7647] Example Syntax:


[7648] ToString


[7649] [C#] public XmlSchemaComplexContent( );


[7650] [C++] public: XmlSchemaComplexContent( );


[7651] [VB] Public Sub New( )


[7652] [JScript] public function XmlSchemaComplexContent( );


[7653] Annotation


[7654] Content


[7655] ToString


[7656] Description


[7657] One of either the XmlSchemaComplexContentRestriction or XmlSchemaComplexContentExtension classes.


[7658] Id


[7659] IsMixed


[7660] ToString


[7661] Description


[7662] Indicates that this type has a mixed content model. Character data is allowed to appear between the child elements of the complex type.


[7663] This mixed attribute can override the mixed attribute value on the containing complexType element. The default is false.


[7664] LineNumber


[7665] LinePosition


[7666] SourceUri


[7667] UnhandledAttributes


[7668] XmlSchemaComplexContentExtension class (System.Xml.Schema)


[7669] ToString


[7670] Description


[7671] Class for complex types with a simple content model that is extended by extension.


[7672] XmlSchemaComplexContentExtension


[7673] Example Syntax:


[7674] ToString


[7675] [C#] public XmlSchemaComplexContentExtension( );


[7676] [C++] public: XmlSchemaComplexContentExtension( );


[7677] [VB] Public Sub New( )


[7678] [JScript] public function XmlSchemaComplexContentExtension( );


[7679] Annotation


[7680] AnyAttribute


[7681] ToString


[7682] Description


[7683] Allows an XmlSchemaAnyAttribute class to be used for the attribute value.


[7684] Attributes


[7685] ToString


[7686] [C#] public XmlSchemaObjectCollection Attributes {get;}


[7687] [C++] public: _property XmlSchemaObjectCollection* get_Attributes( );


[7688] [VB] Public ReadOnly Property Attributes As XmlSchemaObjectCollection


[7689] [JScript] public function get Attributes( ) : XmlSchemaObjectCollection;


[7690] Description


[7691] Contains XmlSchemaAttribute and XmlSchemaAttributeGroupRef classes. Collection of attributes for the complexType element.


[7692] BaseTypeName


[7693] ToString


[7694] [C#] public XmlQualifiedName BaseTypeName {get; set;}


[7695] [C++] public: _property XmlQualifiedName* get_BaseTypeName( );public: _property void set_BaseTypeName(XmlQualifiedName*);


[7696] [VB] Public Property BaseTypeName As XmlQualifiedName


[7697] [JScript] public function get BaseTypeName( ) : XmlQualifiedName;public function set BaseTypeName(XmlQualifiedName);


[7698] Description


[7699] Name of a built-in data type, simple type, or complex type. This complexType is derived from the type specified by the base value.


[7700] The base value must be a QName.


[7701] Id


[7702] LineNumber


[7703] LinePosition


[7704] Particle


[7705] ToString


[7706] Description


[7707] One of the XmlSchemaGroupRef, XmlSchemaChoice, XmlSchemaAll, or XmlSchemaSequence classes.


[7708] SourceUri


[7709] UnhandledAttributes


[7710] XmlSchemaComplexContentRestriction class (System.Xml.Schema)


[7711] ToString


[7712] Description


[7713] Class for complex types with complex content model that are extended by restriction. Restricts the contents of the complexType element to a subset of the inherited complexType element.


[7714] XmlSchemaComplexContentRestriction


[7715] Example Syntax:


[7716] ToString


[7717] [C#] public XmlSchemaComplexContentRestriction( );


[7718] [C++] public: XmlSchemaComplexContentRestriction( );


[7719] [VB] Public Sub New( )


[7720] [JScript] public function XmlSchemaComplexContentRestriction( );


[7721] Annotation


[7722] AnyAttribute


[7723] ToString


[7724] Description


[7725] Allows an XmlSchemaAnyAttribute to be used for the attribute.


[7726] Attributes


[7727] ToString


[7728] [C#] public XmlSchemaObjectCollection Attributes {get;}


[7729] [C++] public: _property XmlSchemaObjectCollection* get_Attributes( );


[7730] [VB] Public ReadOnly Property Attributes As XmlSchemaObjectCollection


[7731] [JScript] public function get Attributes( ) : XmlSchemaObjectCollection;


[7732] Description


[7733] Contains XmlSchemaAttribute and XmlSchemaAttributeGroupRef classes. Collection of attributes for the complex type.


[7734] BaseTypeName


[7735] ToString


[7736] [C#] public XmlQualifiedName BaseTypeName {get; set;}


[7737] [C++] public: _property XmlQualifiedName* get_BaseTypeName( );public: _property void set_Base_TypeName(XmlQualifiedName*);


[7738] [VB] Public Property BaseTypeName As XmlQualifiedName


[7739] [JScript] public function get BaseTypeName( ) : XmlQualifiedName;public function set BaseTypeName(XmlQualifiedName);


[7740] Description


[7741] Name of a built-in data type, simple type, or complex type. The complex type is derived from the type specified by the base value.


[7742] The base value must be a QName.


[7743] Id


[7744] LineNumber


[7745] LinePosition


[7746] Particle


[7747] ToString


[7748] Description


[7749] One of the XmlSchemaGroupRef, XmlSchemaChoice, XmlSchemaAll, or XmlSchemaSequence classes.


[7750] SourceUri


[7751] UnhandledAttributes


[7752] XmlSchemaComplexType class (System.Xml.Schema)


[7753] ToString


[7754] Description


[7755] Class for complex types. Defines a complex type that determines the set of attributes and content of an element.


[7756] An element can reference a simple type in the type attribute. A complex type is essentially a type definition for elements. An element can be declared with a type attribute that refers to a complexType element that defines the structure, content, and attributes of that element. An element can also take a reference to a simpleType element in its type attribute.


[7757] XmlSchemaComplexType


[7758] Example Syntax:


[7759] ToString


[7760] [C#] public XmlSchemaComplexType( );


[7761] [C++] public: XmlISchemaComplexType( );


[7762] [VB] Public Sub New( )


[7763] [JScript] public function XmlSchemaComplexType( );


[7764] Description


[7765] Used to create a complexType element.


[7766] Annotation


[7767] AnyAttribute


[7768] ToString


[7769] Description


[7770] Complex type can contain any attributes from the specified namespace(s).


[7771] Attributes


[7772] ToString


[7773] [C#] public XmlSchemaObjectCollection Attributes {get;}


[7774] [C++] public: _property XmlSchemaObjectCollection* get_Attributes( );


[7775] [VB] Public ReadOnly Property Attributes As XmlSchemaObjectCollection


[7776] [JScript] public function get Attributes( ) : XmlSchemaObjectCollection;


[7777] Description


[7778] Collection of attributes for the complex type. Contains XmlSchemaAttribute and XmlSchemaAttributeGroupRef classes.


[7779] If the group, sequence, choice, or all element is specified as the child element, these are the attributes for the complex type.


[7780] AttributeUses


[7781] ToString


[7782] [C#] public XmlSchemaObjectTable AttributeUses {get;}


[7783] [C++] public: _property XmlSchemaObjectTable* get_AttributeUses( );


[7784] [VB] Public ReadOnly Property AttributeUses As XmlSchemaObjectTable


[7785] [JScript] public function get AttributeUses( ) : XmlSchemaObjectTable;


[7786] Description


[7787] Uses all the attributes from this complex type and its base derived types.


[7788] For example, a combination of all the attributes from the Attributes property from each type.


[7789] AttributeWildcard


[7790] ToString


[7791] [C#] public XmlSchemaAnyAttribute AttributeWildcard {get;}


[7792] [C++] public: _property XmlSchemaAnyAttribute* get_AttributeWildcard( );


[7793] [VB] Public ReadOnly Property AttributeWildcard As XmlSchemaAnyAttribute


[7794] [JScript] public function get AttributeWildcard( ) : XmlSchemaAnyAttribute;


[7795] Description


[7796] The anyAttribute element from this complex type and its base derived types.


[7797] For example, anyAttribute from the base anyAttribute property.


[7798] BaseSchemaType


[7799] Block


[7800] ToString


[7801] Description


[7802] Indicates the type of derivation.The block attribute prevents a complex type that has the specified type of derivation from being used in place of this complex type.


[7803] The value can contain all or a list that is a subset of extension/restriction.


[7804] BlockResolved


[7805] ToString


[7806] [C#] public XmlSchemaDerivationMethod BlockResolved {get;}


[7807] [C++] public: _property XmlSchemaDerivationMethod get_BlockResolved( );


[7808] [VB] Public ReadOnly Property BlockResolved As XmlSchemaDerivationMethod


[7809] [JScript] public function get BlockResolved( ) : XmlSchemaDerivationMethod;


[7810] Description


[7811] The value after an element has been compiled to post-schema infoset. This value indicates how the type is enforced when xsi:type is used in the instance document.


[7812] This value is either from the type itself or, if the type is not defined, the type is taken from the schema element. For example, if the value is restricted, only the specifically defined type can be used, not types derived from the specifically defined type.


[7813] ContentModel


[7814] ToString


[7815] [C#] public XmlSchemaContentModel ContentModel {get; set;}


[7816] [C++] public: _property XmlSchemaContentModel* get_ContentModel( );public: _property void set_ContentModel(XmlSchemaContentModel*);


[7817] [VB] Public Property ContentModel As XmlSchemaContentModel


[7818] [JScript] public function get ContentModel( ) : XmlSchemaContentModel;public function set ContentModel(XmlSchemaContentModel);


[7819] Description


[7820] Indicates the content model type. One of the XmlSchemaSimpleContent or XmlSchemaComplexContent classes.


[7821] This is mutually exclusive with the System.Xml.Schema.Particle property.


[7822] ContentType


[7823] ToString


[7824] [C#] public XmlSchemaContentType ContentType {get;}


[7825] [C++] public: _property XmlSchemaContentType get_ContentType( );


[7826] [VB] Public ReadOnly Property ContentType As XmlSchemaContentType


[7827] [JScript] public function get ContentType( ) : XmlSchemaContentType;


[7828] Description


[7829] The content model of the complex type.


[7830] This is the content in the post-schema Infoset.


[7831] ContentTypeParticle


[7832] ToString


[7833] [C#] public XmlSchemaParticle ContentTypeParticle {get;}


[7834] [C++] public: _property XmlSchemaParticle* get_ContentTypeParticle( );


[7835] [VB] Public ReadOnly Property ContentTypeParticle As XmlSchemaParticle


[7836] [JScript] public function get ContentTypeParticle( ) : XmlSchemaParticle;


[7837] Description


[7838] The particle that is determined after the content models of the most derived types and the base complex type have been resolved according to the rules defined in the W3C XML Schema Definition language (XSD) specification.


[7839] Datatype


[7840] DerivedBy


[7841] Final


[7842] FinalResolved


[7843] Id


[7844] IsAbstract


[7845] ToString


[7846] Description


[7847] Indicates if the complexType element can be used in the instance document.


[7848] If true, an element cannot use this complexType element directly and must use a complex type that is derived from this complexType element. The default is false.


[7849] IsMixed


[7850] ToString


[7851] [C#] public override bool IsMixed {get; set;}


[7852] [C++] public: _property virtual bool get_IsMixed( );public: _property virtual void set_IsMixed(bool);


[7853] [VB] Overrides Public Property IsMixed As Boolean


[7854] [JScript] public function get IsMixed( ) : Boolean;public function set IsMixed(Boolean);


[7855] Description


[7856] Indicates that this type has a mixed content model (markup within the content).


[7857] Indicates if character data can appear between the child elements of this complexType. If the simpleContent element is a child element, the mixed attribute is not allowed (false). If the complexContent element is a child element, the mixed attribute can be overriden by the mixed attribute on the complexContent element.


[7858] LineNumber


[7859] LinePosition


[7860] Name


[7861] Particle


[7862] ToString


[7863] Description


[7864] Indicates the compositor type as one of the XmlSchemaGroupRef, XmlSchemaChoice, XmlSchemaAll, or XmlSchemaSequence classes.


[7865] Particles must be one of the following compositors: Element Description group The complex type contains the elements defined in the referenced group.


[7866] QualifiedName


[7867] SourceUri


[7868] UnhandledAttributes


[7869] XmlSchemaContent class (System.Xml.Schema)


[7870] ToString


[7871] Description


[7872] An abstract class for schema content.


[7873] XmlSchemaContent


[7874] Example Syntax:


[7875] ToString


[7876] [C#] protected XmlSchemaContent( );


[7877] [C++] protected: XmlSchemaContent( );


[7878] [VB] Protected Sub New( )


[7879] [JScript] protected function XmlSchemaContent( );


[7880] Annotation


[7881] Id


[7882] LineNumber


[7883] LinePosition


[7884] SourceUri


[7885] UnhandledAttributes


[7886] XmlSchemaContentModel class (System.Xml.Schema)


[7887] ToString


[7888] Description


[7889] An abstract class for the schema content model.


[7890] XmlSchemaContentModel


[7891] Example Syntax:


[7892] ToString


[7893] [C#] protected XmlSchemaContentModel( );


[7894] [C++] protected: XmlSchemaContentModel( );


[7895] [VB] Protected Sub New( )


[7896] [JScript] protected function XmlSchemaContentModel( );


[7897] Annotation


[7898] Content


[7899] ToString


[7900] Description


[7901] Provides the content of the type.


[7902] Id


[7903] LineNumber


[7904] LinePosition


[7905] SourceUri


[7906] UnhandledAttributes


[7907] XmlSchemaContentProcessing enumeration (System.Xml.Schema)


[7908] ToString


[7909] Description


[7910] Provides information about the constraints placed on the replacement elements.


[7911] ToString


[7912] [C#] public const XmlSchemaContentProcessing Lax;


[7913] [C++] public: const XmlSchemaContentProcessing Lax;


[7914] [VB] Public Const Lax As XmlSchemaContentProcessing


[7915] [JScript] public var Lax : XmlSchemaContentProcessing;


[7916] Description


[7917] Lax. The document should recognize element types but can ignore element types that it does not recognize.


[7918] ToString


[7919] [C#] public const XmlSchemaContentProcessing None;


[7920] [C++] public: const XmlSchemaContentProcessing None;


[7921] [VB] Public Const None As XmlSchemaContentProcessing


[7922] [JScript] public var None : XmlSchemaContentProcessing;


[7923] Description


[7924] ToString


[7925] [C#] public const XmlSchemaContentProcessing Skip;


[7926] [C++] public: const XmlSchemaContentProcessing Skip;


[7927] [VB] Public Const Skip As XmlSchemaContentProcessing


[7928] [JScript] public var Skip : XmlSchemaContentProcessing;


[7929] Description


[7930] Skip. The document must consist of well-formed XML and is not validated by the schema.


[7931] ToString


[7932] [C#] public const XmlSchemaContentProcessing Strict;


[7933] [C++] public: const XmlSchemaContentProcessing Strict;


[7934] [VB] Public Const Strict As XmlSchemaContentProcessing


[7935] [JScript] public var Strict : XmlSchemaContentProcessing;


[7936] Description


[7937] Strict. The document must be schema-valid based on the schema definition derived from the namespace-qualified element name.


[7938] XmlSchemaContentType enumeration (System.Xml.Schema)


[7939] ToString


[7940] Description


[7941] Enumerations for the content model of the complex type. This represents the content in the post-schema infoset.


[7942] If the IsMixed property is set to True on the ContentModel property that has the type XmlSchemaComplexContent, the value returned here is Mixed. If the IsMixed property is False, the value is either Empty or ElementOnly.


[7943] ToString


[7944] [C#] public const XmlSchemaContentType ElementOnly;


[7945] [C++] public: const XmlSchemaContentType ElementOnly;


[7946] [VB] Public Const ElementOnly As XmlSchemaContentType


[7947] [JScript] public var ElementOnly : XmlSchemaContentType;


[7948] Description


[7949] Element only content.


[7950] ToString


[7951] [C#] public const XmlSchemaContentType Empty;


[7952] [C++] public: const XmlSchemaContentType Empty;


[7953] [VB] Public Const Empty As XmlSchemaContentType


[7954] [JScript] public var Empty : XmlSchemaContentType;


[7955] Description


[7956] Empty content.


[7957] ToString


[7958] [C#] public const XmlSchemaContentType Mixed;


[7959] [C++] public: const XmlSchemaContentType Mixed;


[7960] [VB] Public Const Mixed As XmlSchemaContentType


[7961] [JScript] public var Mixed : XmlSchemaContentType;


[7962] Description


[7963] Mixed content.


[7964] ToString


[7965] [C#] public const XmlSchemaContentType TextOnly;


[7966] [C++] public: const XmlSchemaContentType TextOnly;


[7967] [VB] Public Const TextOnly As XmlSchemaContentType


[7968] [JScript] public var TextOnly : XmlSchemaContentType;


[7969] Description


[7970] Text only content.


[7971] XmlSchemaDatatype class (System.Xml.Schema)


[7972] ToString


[7973] Description


[7974] Represents the abstract class for mapping XML Schema Definition language (XSD) and common language runtime types.


[7975] XmlSchemaDatatype


[7976] Example Syntax:


[7977] ToString


[7978] [C#] protected XmlSchemaDatatype( );


[7979] [C++] protected: XmlSchemaDatatype( );


[7980] [VB] Protected Sub New( )


[7981] [JScript] protected function XmlSchemaDatatype( );


[7982] TokenizedType


[7983] ToString


[7984] [C#] public abstract XmlTokenizedType TokenizedType {get;}


[7985] [C++] public: _property virtual XmlTokenizedType get_TokenizedType( )=0;


[7986] [VB] MustOverride Public ReadOnly Property TokenizedType As XmlTokenizedType


[7987] [JScript] public abstract function get TokenizedType( ) : XmlTokenizedType;


[7988] Description


[7989] Represents the type for the string as specified in the XML 1.0 specification.


[7990] This allows the string to be read as a particular XML type, for example, a CDATA section type.


[7991] ValueType


[7992] ToString


[7993] [C#] public abstract Type ValueType {get;}


[7994] [C++] public: _property virtual Type* get_ValueType( )=0;


[7995] [VB] MustOverride Public ReadOnly Property ValueType As Type


[7996] [JScript] public abstract function get ValueType( ) : Type;


[7997] Description


[7998] Returns the common language runtime type for the specified XML Schema Definition language (XSD) type.


[7999] The table maps the XSD and common language runtime types.


[8000] ParseValue


[8001] [C#] public abstract object ParseValue(string s, XmlNameTable nameTable, XmlNamespaceManager nsmgr);


[8002] [C++] public: virtual Object* ParseValue(String* s, XmlNameTable* nameTable, XmlNamespaceManager* nsmgr)=0;


[8003] [VB] MustOverride Public Function ParseValue(ByVal s As String, ByVal nameTable As XmlNameTable, ByVal nsmgr As XmlNamespaceManager) As Object


[8004] [JScript] public abstract function ParseValue(s : String, nameTable : XmlNameTable, nsmgr : XmlNamespaceManager) : Object;


[8005] Description


[8006] Parses values from the XmlNameTable. string XmlNameTableXmlNamespaceManager


[8007] XmlSchemaDerivationMethod enumeration (System.Xml.Schema)


[8008] ToString


[8009] Description


[8010] Prevents derivations by restriction from replacing the complex type in an instance.


[8011] XmlSchemaBlock does not prevent the replacement of complex types that are derived by extension.


[8012] ToString


[8013] [C#] public const XmlSchemaDerivationMethod All;


[8014] [C++] public: const XmlSchemaDerivationMethod All;


[8015] [VB] Public Const All As XmlSchemaDerivationMethod


[8016] [JScript] public var All : XmlSchemaDerivationMethod;


[8017] Description


[8018] No restrictions on derivations from this type.


[8019] ToString


[8020] [C#] public const XmlSchemaDerivationMethod Empty;


[8021] [C++] public: const XmlSchemaDerivationMethod Empty;


[8022] [VB] Public Const Empty As XmlSchemaDerivationMethod


[8023] [JScript] public var Empty : XmlSchemaDerivationMethod;


[8024] Description


[8025] Sets a derived setting to an empty string that allows any extension or restriction regardless of the schema element's default setting.


[8026] ToString


[8027] [C#] public const XmlSchemaDerivationMethod Extension;


[8028] [C++] public: const XmlSchemaDerivationMethod Extension;


[8029] [VB] Public Const Extension As XmlSchemaDerivationMethod


[8030] [JScript] public var Extension : XmlSchemaDerivationMethod;


[8031] Description


[8032] Can only be derived by Extension.


[8033] ToString


[8034] [C#] public const XmlSchemaDerivationMethod List;


[8035] [C++] public: const XmlSchemaDerivationMethod List;


[8036] [VB] Public Const List As XmlSchemaDerivationMethod


[8037] [JScript] public var List : XmlSchemaDerivationMethod;


[8038] Description


[8039] Can only be derived by List.


[8040] ToString


[8041] [C#] public const XmlSchemaDerivationMethod None;


[8042] [C++] public: const XmlSchemaDerivationMethod None;


[8043] [VB] Public Const None As XmlSchemaDerivationMethod


[8044] [JScript] public var None : XmlSchemaDerivationMethod;


[8045] Description


[8046] The normal default setting that can be overridden by the schema element's default setting.


[8047] ToString


[8048] [C#] public const XmlSchemaDerivationMethod Restriction;


[8049] [C++] public: const XmlSchemaDerivationMethod Restriction;


[8050] [VB] Public Const Restriction As XmlSchemaDerivationMethod


[8051] [JScript] public var Restriction : XmlSchemaDerivationMethod;


[8052] Description


[8053] Can only be derived by Restriction.


[8054] ToString


[8055] [C#] public const XmlSchemaDerivationMethod Substitution;


[8056] [C++] public: const XmlSchemaDerivationMethod Substitution;


[8057] [VB] Public Const Substitution As XmlSchemaDerivationMethod


[8058] [JScript] public var Substitution : XmlSchemaDerivationMethod;


[8059] Description


[8060] Can only be derived by Substitution.


[8061] ToString


[8062] [C#] public const XmlSchemaDerivationMethod Union;


[8063] [C++] public: const XmlSchemaDerivationMethod Union;


[8064] [VB] Public Const Union As XmlSchemaDerivationMethod


[8065] [JScript] public var Union : XmlSchemaDerivationMethod;


[8066] Description


[8067] Can only be derived by Union.


[8068] XmlSchemaDocumentation class (System.Xml.Schema)


[8069] ToString


[8070] Description


[8071] Class that specifies information to be read or used by humans within an annotation. Represents the W3C documentation element.


[8072] Information supplied within the XmlSchemaDocumentation class is not used in validation. However, it provides a standardized way to supply information that can be retrieved by tools.


[8073] XmlSchemaDocumentation


[8074] Example Syntax:


[8075] ToString


[8076] [C#] public XmlSchemaDocumentation( );


[8077] [C++] public: XmlSchemaDocumentation( );


[8078] [VB] Public Sub New( )


[8079] [JScript] public function XmlSchemaDocumentation( );


[8080] Language


[8081] ToString


[8082] [C#] public string Language {get; set;}


[8083] [C++] public: _property String* get_Language( );public: _property void set_Language(String*);


[8084] [VB] Public Property Language As String


[8085] [JScript] public function get Language( ) : String;public function set Language(String);


[8086] Description


[8087] Provides the xml:lang attribute.


[8088] LineNumber


[8089] LinePosition


[8090] Markup


[8091] ToString


[8092] Description


[8093] Returns an array of XmlNodes that represents the document text markup.


[8094] Source


[8095] ToString


[8096] [C#] public string Source {get; set;}


[8097] [C++] public: _property String* get_Source( );public: _property void set_Source(String*);


[8098] [VB] Public Property Source As String


[8099] [JScript] public function get Source( ) : String;public function set Source(String);


[8100] Description


[8101] Provides the URI source of the application information.


[8102] Source must be a URI reference.


[8103] SourceUri


[8104] XmlSchemaElement class (System.Xml.Schema)


[8105] ToString


[8106] Description


[8107] Class for elements.


[8108] XmlSchemaElement


[8109] Example Syntax:


[8110] ToString


[8111] [C#] public XmlSchemaElement( );


[8112] [C++] public: XmlSchemaElement( );


[8113] [VB] Public Sub New( )


[8114] [JScript] public function XmlSchemaElement( );


[8115] Annotation


[8116] Block


[8117] ToString


[8118] Description


[8119] Attribute used to block a type derivation.


[8120] This attribute can contain the following values: Enum Description None The normal default block setting can be overridden by the schema element blockDefault setting.


[8121] BlockResolved


[8122] ToString


[8123] [C#] public XmlSchemaDerivationMethod BlockResolved {get;}


[8124] [C++] public: _property XmlSchemaDerivationMethod get_BlockResolved( );


[8125] [VB] Public ReadOnly Property BlockResolved As XmlSchemaDerivationMethod


[8126] [JScript] public function get BlockResolved( ) : XmlSchemaDerivationMethod;


[8127] Description


[8128] The value after an element has been compiled to post-schema infoset. This value is either from the type itself or, if not defined on the type, taken from the schema element.


[8129] This value indicates how the type is enforced when xsi:type is used in the instance document. For example, if the value is restricted, then only the specific defined type can be used, not types derived from the specific defined type.


[8130] Constraints


[8131] ToString


[8132] [C#] public XmlSchemaObjectCollection Constraints {get;}


[8133] [C++] public: _property XmlSchemaObjectCollection* get_Constraints( );


[8134] [VB] Public ReadOnly Property Constraints As XmlSchemaObjectCollection


[8135] [JScript] public function get Constraints( ) : XmlSchemaObjectCollection;


[8136] Description


[8137] Returns a collection of constraints on the element.


[8138] Returns a collection of constraints on the element. Can be any of XmlSchemaKey, XmlSchemaKeyref, or XmlSchemaUnique.


[8139] DefaultValue


[8140] ToString


[8141] [C#] public string DefaultValue {get; set;}


[8142] [C++] public: _property String* get_DefaultValue( );public: _property void set_DefaultValue(String*);


[8143] [VB] Public Property DefaultValue As String


[8144] [JScript] public function get DefaultValue( ) : String;public function set DefaultValue(String);


[8145] Description


[8146] Provides the default value of the element if its content is a simple type or the element's content is textOnly.


[8147] The fixed and default attributes are mutually exclusive. If the element contains a simple type, this value must be a valid value of that type.


[8148] ElementType


[8149] ToString


[8150] [C#] public object ElementType {get;}


[8151] [C++] public: _property Object* get_ElementType( );


[8152] [VB] Public ReadOnly Property ElementType As Object


[8153] [JScript] public function get ElementType( ) : Object;


[8154] Description


[8155] Returns the correct common runtime library object based upon the SchemaType for the element.


[8156] Final


[8157] ToString


[8158] [C#] public XmlSchemaDerivationMethod Final {get; set;}


[8159] [C++] public: _property XmlSchemaDerivationMethod get_Final( );public: _property void set_Final(XmlSchemaDerivationMethod);


[8160] [VB] Public Property Final As XmlSchemaDerivationMethod


[8161] [JScript] public function get Final( ) : XmlSchemaDerivationMethod;public function set Final(XmlSchemaDerivationMethod);


[8162] Description


[8163] Indicates that no further derivations are allowed.


[8164] This attribute can contain the following values: Enum Description None The normal default final setting can be overridden by the schema element finalDefault setting.


[8165] FinalResolved


[8166] ToString


[8167] [C#] public XmlSchemaDerivationMethod FinalResolved {get;}


[8168] [C++] public: _property XmlSchemaDerivationMethod get_FinalResolved( );


[8169] [VB] Public ReadOnly Property FinalResolved As XmlSchemaDerivationMethod


[8170] [JScript] public function get FinalResolved( ) : XmlSchemaDerivationMethod;


[8171] Description


[8172] The value after an element has been compiled to post-schema infoset. This value is either from the type itself or, if not defined on the type, taken from the schema element.


[8173] This value indicates how the type is restricted when the type is extended through restriction. If the type is marked as final, then this type cannot be extended.


[8174] FixedValue


[8175] ToString


[8176] [C#] public string FixedValue {get; set;}


[8177] [C++] public: _property String* get_FixedValue( );public: _property void set_FixedValue(String*);


[8178] [VB] Public Property FixedValue As String


[8179] [JScript] public function get FixedValue( ) : String;public function set FixedValue(String);


[8180] Description


[8181] Provides the fixed value.


[8182] If the content is a simple type or its content is textOnly, then the value is predetermined and cannot change its value. The fixed and default attributes are mutually exclusive.


[8183] Form


[8184] ToString


[8185] [C#] public XmlSchemaForm Form {get; set;}


[8186] [C++] public: _property XmlSchemaForm get_Form( );public: _property void set_Form(XmlSchemaForm);


[8187] [VB] Public Property Form As XmlSchemaForm


[8188] [JScript] public function get Form( ) : XmlSchemaForm;public function set Form(XmlSchemaForm);


[8189] Description


[8190] Form for the element.


[8191] The default value is the value of the elementFormDefault attribute for the schema element containing the attribute. The default is Unqualified.


[8192] Id


[8193] IsAbstract


[8194] ToString


[8195] Description


[8196] Indicates abstract type. Indicates whether the element can be used in an instance document.


[8197] If this value is true, the element cannot appear in the instance document. The default is false.


[8198] IsNillable


[8199] ToString


[8200] [C#] public bool IsNillable {get; set;}


[8201] [C++] public: _property bool get_IsNillable( );public: _property void set_IsNillable(bool);


[8202] [VB] Public Property IsNillable As Boolean


[8203] [JScript] public function get IsNillable( ) : Boolean;public function set IsNillable(Boolean);


[8204] Description


[8205] Indicates that xsi:null can occur in the instance data. Indicates if an explicit null value can be assigned to the element.


[8206] This applies to element content and not the attributes of the element. The default is false.


[8207] LineNumber


[8208] LinePosition


[8209] MaxOccurs


[8210] MaxOccursString


[8211] MinOccurs


[8212] MinOccursString


[8213] Name


[8214] ToString


[8215] Description


[8216] Provides the name of the element.


[8217] The name must be an NCName as defined in the XML Namespaces specification.


[8218] QualifiedName


[8219] ToString


[8220] [C#] public XmlQualifiedName QualifiedName {get;}


[8221] [C++] public: _property XmlQualifiedName* get_QualifiedName( );


[8222] [VB] Public ReadOnly Property QualifiedName As XmlQualifiedName


[8223] [JScript] public function get QualifiedName( ) : XmlQualifiedName;


[8224] Description


[8225] Returns the qualified name of the element. Name of the a simpleType or complexType element defined in this schema (or another schema indicated by the specified namespace).


[8226] RefName


[8227] ToString


[8228] [C#] public XmlQualifiedName RefName {get; set;}


[8229] [C++] public: _property XmlQualifiedName* get_RefName( );public: _property void set_RefName(XmlQualifiedName*);


[8230] [VB] Public Property RefName As XmlQualifiedName


[8231] [JScript] public function get RefName( ) : XmlQualifiedName;public function set RefName(XmlQualifiedName);


[8232] Description


[8233] Provides the reference name of an element declared in this schema (or another schema indicated by the specified namespace).


[8234] The RefName must be a QName. The RefName can include a namespace prefix. The type and refName attributes are mutually exclusive. To declare an element using an existing element definition, use the RefName attribute to specify the existing element definition.


[8235] SchemaType


[8236] ToString


[8237] [C#] public XmlSchemaType SchemaType {get; set;}


[8238] [C++] public: _property XmlSchemaType* get_SchemaType( );public: _property void set_SchemaType(XmlSchemaType*);


[8239] [VB] Public Property SchemaType As XmlSchemaType


[8240] [JScript] public function get SchemaType( ) : XmlSchemaType;public function set SchemaType(XmlSchemaType);


[8241] Description


[8242] Returns the type of the element. This can either be a complex type or a simple type.


[8243] The SchemaType and RefName attributes are mutually exclusive. To declare an element using an existing simpleType or complexType definition, use the type attribute to specify the existing type.


[8244] SchemaTypeName


[8245] ToString


[8246] [C#] public XmlQualifiedName SchemaTypeName {get; set;}


[8247] [C++] public: _property XmlQualifiedName* get_SchemaTypeName( );public: _property void set_SchemaTypeName(XmlQualifiedName*);


[8248] [VB] Public Property SchemaTypeName As XmlQualifiedName


[8249] [JScript] public function get SchemaTypeName( ) : XmlQualifiedName;public function set SchemaTypeName(XmlQualifiedName);


[8250] Description


[8251] Name of a built-in data type defined in this schema or another schema indicated by the specified namespace.


[8252] SourceUri


[8253] SubstitutionGroup


[8254] ToString


[8255] Description


[8256] Name of an element that can be a substitute for this element.


[8257] This element must have the same type or a type derived from the type of the specified element. This value must be a QName.


[8258] UnhandledAttributes


[8259] XmlSchemaEnumerationFacet class (System.Xml.Schema)


[8260] ToString


[8261] Description


[8262] Class for defining enumeration facets.


[8263] XmlSchemaEnumerationFacet


[8264] Example Syntax:


[8265] ToString


[8266] [C#] public XmlSchemaEnumerationFacet( );


[8267] [C++] public: XmlSchemaEnumerationFacet( );


[8268] [VB] Public Sub New( )


[8269] [JScript] public function XmlSchemaEnumerationFacet( );


[8270] Annotation


[8271] Id


[8272] IsFixed


[8273] LineNumber


[8274] LinePosition


[8275] SourceUri


[8276] UnhandledAttributes


[8277] Value


[8278] XmlSchemaException class (System.Xml.Schema)


[8279] ToString


[8280] Description


[8281] Returns detailed information about the schema exception.


[8282] XmlSchemaException


[8283] Example Syntax:


[8284] ToString


[8285] [C#] protected XmlSchemaException(SerializationInfo info, StreamingContext context);


[8286] [C++] protected: XmlSchemaException(SerializationInfo* info, StreamingContext context);


[8287] [VB] Protected Sub New(ByVal info As SerializationInfo, ByVal context As StreamingContext)


[8288] [JScript] protected function XmlSchemaException(info : SerializationInfo, context : StreamingContext); Streams all the XmlSchemaException properties into the SerializationInfo class for the given StreamingContext.


[8289] Description


[8290] Constructs a new XmlSchemaException object with the given SerializationInfo and StreamingContext information that contains all the properties of the XmlSchemaException.


[8291] XmlSchemaException


[8292] Example Syntax:


[8293] ToString


[8294] [C#] public XmlSchemaException(string message, Exception innerException);


[8295] [C++] public: XmlSchemaException(String* message, Exception* innerException);


[8296] [VB] Public Sub New(ByVal message As String, ByVal innerException As Exception)


[8297] [JScript] public function XmlSchemaException(message : String, innerException : Exception);


[8298] Description


[8299] The formatted error message describing the error code.


[8300] HelpLink


[8301] HResult


[8302] InnerException


[8303] LineNumber


[8304] ToString


[8305] Description


[8306] Gets the line number indicating where the error occurred.


[8307] LinePosition


[8308] ToString


[8309] [C#] public int LinePosition {get;}


[8310] [C++] public: _property int get_LinePosition( );


[8311] [VB] Public ReadOnly Property LinePosition As Integer


[8312] [JScript] public function get LinePosition( ) : int;


[8313] Description


[8314] Gets the line position indicating where the error occurred.


[8315] Message


[8316] ToString


[8317] [C#] public override string Message {get;}


[8318] [C++] public: _property virtual String* get_Message( );


[8319] [VB] Overrides Public ReadOnly Property Message As String


[8320] [JScript] public function get Message( ) : String;


[8321] Description


[8322] Gets the formatted error message describing the System.Xml.Schema.XmlSchemaException.ErrorCode.


[8323] Source


[8324] SourceSchemaObject


[8325] ToString


[8326] Description


[8327] The XmlSchemaObject that produced the XmlSchemaException.


[8328] This can be queried for the LineNumber, LinePosition, and SourceUri of the XML Schema Definition language (XSD) schema file. A return value of nill indicates a syntactic parsing validation error in the Schema Object Model (SOM).


[8329] SourceUri


[8330] ToString


[8331] [C#] public string SourceUri {get;}


[8332] [C++] public: _property String* get_SourceUri( );


[8333] [VB] Public ReadOnly Property SourceUri As String


[8334] [JScript] public function get SourceUri( ) : String;


[8335] Description


[8336] The location of the file used to load the schema.


[8337] StackTrace


[8338] TargetSite


[8339] GetObjectData


[8340] [C#] public override void GetObjectData(SerializationInfo info, StreamingContext context);


[8341] [C++] public: void GetObjectData(SerializationInfo* info, StreamingContext context);


[8342] [VB] Overrides Public Sub GetObjectData(ByVal info As SerializationInfo, ByVal context As StreamingContext)


[8343] [JScript] public override function GetObjectData(info : SerializationInfo, context : StreamingContext);


[8344] Description


[8345] Streams all the XmlSchemaException properties into the SerializationInfo class for the given StreamingContext.


[8346] XmlSchemaExternal class (System.Xml.Schema)


[8347] ToString


[8348] Description


[8349] An abstract class. Provides information about the included schema.


[8350] XmlSchemaExternal


[8351] Example Syntax:


[8352] ToString


[8353] [C#] protected XmlSchemaExternal( );


[8354] [C++] protected: XmlSchemaExternal( );


[8355] [VB] Protected Sub New( )


[8356] [JScript] protected function XmlSchemaExternal( );


[8357] Annotation


[8358] Id


[8359] LineNumber


[8360] LinePosition


[8361] Schema


[8362] ToString


[8363] Description


[8364] Returns the XmlSchema for the referenced schema.


[8365] SchemaLocation


[8366] ToString


[8367] [C#] public string SchemaLocation {get; set;}


[8368] [C++] public: _property String* get_SchemaLocation( );public: _property void set_SchemaLocation(String*);


[8369] [VB] Public Property SchemaLocation As String


[8370] [JScript] public function get SchemaLocation( ) : String;public function set SchemaLocation(String);


[8371] Description


[8372] Provides the URI location for the schema, which tells the schema processor where the schema physically resides.


[8373] Imported schemas that do not have this attribute allow the imported schema's namespace to be determined by the XML document that is an instance of the containing schema or the application that is processing the schema.


[8374] SourceUri


[8375] UnhandledAttributes


[8376] XmlSchemaFacet class (System.Xml.Schema)


[8377] ToString


[8378] Description


[8379] Abstract class for all facets that are used when simple types are extended by restriction.


[8380] A facet is defined as an element. Each facet element has a fixed attribute that is a Boolean value.


[8381] XmlSchemaFacet


[8382] Example Syntax:


[8383] ToString


[8384] [C#] protected XmlSchemaFacet( );


[8385] [C++] protected: XmlSchemaFacet( );


[8386] [VB] Protected Sub New( )


[8387] [JScript] protected function XmlSchemaFacet( );


[8388] Annotation


[8389] Id


[8390] IsFixed


[8391] ToString


[8392] Description


[8393] Indicates that this facet is fixed.


[8394] If True, value is fixed. If False, value is not fixed.


[8395] LineNumber


[8396] LinePosition


[8397] SourceUri


[8398] UnhandledAttributes


[8399] Value


[8400] ToString


[8401] Description


[8402] Provides the value attribute of the facet.


[8403] XmlSchemaForm enumeration (System.Xml.Schema)


[8404] ToString


[8405] Description


[8406] Indicates if form is qualified or unqualified.


[8407] ToString


[8408] [C#] public const XmlSchemaForm None;


[8409] [C++] public: const XmlSchemaForm None;


[8410] [VB] Public Const None As XmlSchemaForm


[8411] [JScript] public var None : XmlSchemaForm;


[8412] Description


[8413] Attribute can be qualified with the namespace prefix.


[8414] ToString


[8415] [C#] public const XmlSchemaForm Qualified;


[8416] [C++] public: const XmlSchemaForm Qualified;


[8417] [VB] Public Const Qualified As XmlSchemaForm


[8418] [JScript] public var Qualified : XmlSchemaForm;


[8419] Description


[8420] Attribute is not required to be qualified with the namespace prefix.


[8421] ToString


[8422] [C#] public const XmlSchemaForm Unqualified;


[8423] [C++] public: const XmlSchemaForm Unqualified;


[8424] [VB] Public Const Unqualified As XmlSchemaForm


[8425] [JScript] public var Unqualified : XmlSchemaForm;


[8426] Description


[8427] Attribute must be qualified with the namespace prefix.


[8428] XmlSchemaFractionDigitsFacet class (System.Xml.Schema)


[8429] ToString


[8430] Description


[8431] Class for defining fractionDigits facets.


[8432] XmlSchemaFractionDigitsFacet


[8433] Example Syntax:


[8434] ToString


[8435] [C#] public XmlSchemaFractionDigitsFacet( );


[8436] [C++] public: XmlSchemaFractionDigitsFacet( );


[8437] [VB] Public Sub New( )


[8438] [JScript] public function XmlSchemaFractionDigitsFacet( );


[8439] Annotation


[8440] Id


[8441] IsFixed


[8442] LineNumber


[8443] LinePosition


[8444] SourceUri


[8445] UnhandledAttributes


[8446] Value


[8447] XmlSchemaGroup class (System.Xml.Schema)


[8448] ToStrng


[8449] Description


[8450] Class that defines groups at the schema level that are referenced from the complex types. Groups a set of element declarations so that they can be incorporated as a group into complex type definitions.


[8451] XmlSchemaGroup


[8452] Example Syntax:


[8453] ToString


[8454] [C#] public XmlSchemaGroup( );


[8455] [C++] public: XmlSchemaGroup( );


[8456] [VB] Public Sub New( )


[8457] [JScript] public function XmlSchemaGroup( );


[8458] Annotation


[8459] Id


[8460] LineNumber


[8461] LinePosition


[8462] Name


[8463] ToString


[8464] Description


[8465] Provides the name of the schema group.


[8466] The name must be an NCName as defined in the XML Namespaces specification.


[8467] Particle


[8468] ToString


[8469] [C#] public XmlSchemaGroupBase Particle {get; set;}


[8470] [C++] public: _property XmlSchemaGroupBase* get_Particle( );public: _property void set_Particle(XmlSchemaGroupBase*);


[8471] [VB] Public Property Particle As XmlSchemaGroupBase


[8472] [JScript] public function get Particle( ) : XmlSchemaGroupBase;public function set Particle(XmlSchemaGroupBase);


[8473] Description


[8474] One of XmlSchemaChoice, XmlSchemaAll, or XmlSchemaSequence classes.


[8475] SourceUri


[8476] UnhandledAttributes


[8477] XmlSchemaGroupBase class (System.Xml.Schema)


[8478] ToString


[8479] Description


[8480] An abstract class for XmlSchemaChoice, XmlSchemaAll, or XmlSchemaSequence.


[8481] XmlSchemaGroupBase


[8482] Example Syntax:


[8483] ToString


[8484] [C#] protected XmlSchemaGroupBase( );


[8485] [C++] protected: XmlSchemaGroupBase( );


[8486] [VB] Protected Sub New( )


[8487] [JScript] protected function XmlSchemaGroupBase( );


[8488] Annotation


[8489] Id


[8490] Items


[8491] ToString


[8492] Description


[8493] This collection is used to add new element types at the schema level.


[8494] LineNumber


[8495] LinePosition


[8496] MaxOccurs


[8497] MaxOccursString


[8498] MinOccurs


[8499] MinOccursString


[8500] SourceUri


[8501] UnhandledAttributes


[8502] XmlSchemaGroupRef class (System.Xml.Schema)


[8503] ToString


[8504] Description


[8505] Class that defines groups at the schema level that are referenced from complex types. Groups a set of element declarations so that they can be incorporated as a group into complex type definitions.


[8506] XmlSchemaGroupRef


[8507] Example Syntax:


[8508] ToString


[8509] [C#] public XmlSchemaGroupRef( );


[8510] [C++] public: XmlSchemaGroupRef( );


[8511] [VB] Public Sub New( )


[8512] [JScript] public function XmlSchemaGroupRef( );


[8513] Annotation


[8514] Id


[8515] LineNumber


[8516] LinePosition


[8517] MaxOccurs


[8518] MaxOccursString


[8519] MinOccurs


[8520] MinOccursString


[8521] Particle


[8522] ToString


[8523] Description


[8524] RefName


[8525] ToString


[8526] [C#] public XmlQualifiedName RefName {get; set;}


[8527] [C++] public: _property XmlQualifiedName* get_RefName( );public: _property void set_RefName(XmlQualifiedName*);


[8528] [VB] Public Property RefName As XmlQualifiedName


[8529] [JScript] public function get RefName( ) : XmlQualifiedName;public function set RefName(XmlQualifiedName);


[8530] Description


[8531] Name of a group defined in this schema (or another schema indicated by the specified namespace).


[8532] The RefName value must be a QName. The RefName can include a namespace prefix. To include a group in a complexType element, use the RefName attribute to specify the group to include in this schema.


[8533] SourceUri


[8534] UnhandledAttributes


[8535] XmlSchemaIdentityConstraint class (System.Xml.Schema)


[8536] ToString


[8537] Description


[8538] Class for the identity constraints: key, keyref, unique elements.


[8539] An association between a name and one of several varieties of identity constraint related to uniqueness and reference.


[8540] XmlSchemaIdentityConstraint


[8541] Example Syntax:


[8542] ToString


[8543] [C#] public XmlSchemaIdentityConstraint( );


[8544] [C++] public: XmlSchemaIdentityConstraint( );


[8545] [VB] Public Sub New( )


[8546] [JScript] public function XmlSchemaIdentityConstraint( );


[8547] Annotation


[8548] Fields


[8549] ToString


[8550] Description


[8551] Collection of fields that apply as children for the XML Path Language (XPath) expression selector.


[8552] An identity constraint must contain one or more field elements. The collection specifies an System.Xml.Schema.XmlSchemaXPath expression that specifies the value (or one of the values) used to enforce an identity constraint (unique, key, keyref).


[8553] Id


[8554] LineNumber


[8555] LinePosition


[8556] Name


[8557] ToString


[8558] Description


[8559] The name of the identity constraint.


[8560] Selector


[8561] ToString


[8562] [C#] public XmlSchemaXPath Selector {get; set;}


[8563] [C++] public: _property XmlSchemaXPath* get_Selector( );public: _property void set_Selector(XmlSchemaXPath*);


[8564] [VB] Public Property Selector As XmlSchemaXPath


[8565] [JScript] public function get Selector( ) : XmlSchemaXPath;public function set Selector(XmlSchemaXPath);


[8566] Description


[8567] The XML Path Language (XPath) expression selector element.


[8568] An XPath expression that is relative to the element being declared. This expression identifies the child elements that the identity constraint applies to.


[8569] SourceUri


[8570] UnhandledAttributes


[8571] XmlSchemaImport class (System.Xml.Schema)


[8572] ToString


[8573] Description


[8574] The class to import schema components from any schema.


[8575] XmlSchemaImport allows references to schema components from other schemas with different target namespaces.


[8576] XmlSchemaImport


[8577] Example Syntax:


[8578] ToString


[8579] [C#] public XmlSchemaImport( );


[8580] [C++] public: XmlSchemaImport( );


[8581] [VB] Public Sub New( )


[8582] [JScript] public function XmlSchemaImport( );


[8583] Annotation


[8584] Id


[8585] LineNumber


[8586] LinePosition


[8587] Namespace


[8588] ToString


[8589] Description


[8590] Provides the target namespace for the imported schema as a URI reference.


[8591] The namespace attribute indicates that the containing schema document may contain qualified references to schema components in that namespace through one or more prefixes that are declared with xmlns attributes. If this attribute is absent, the containing schema can contain unqualified references to components in the imported namespace.


[8592] Schema


[8593] SchemaLocation


[8594] SourceUri


[8595] UnhandledAttributes


[8596] XmlSchemaInclude class (System.Xml.Schema)


[8597] ToString


[8598] Description


[8599] Class to include declarations and definitions from an external schema. Allows them to be available for processing in the containing schema.


[8600] The included schema document must meet one of the following conditions: The included schema must have the same target namespace as the containing schema document.


[8601] XmlSchemaInclude


[8602] Example Syntax:


[8603] ToString


[8604] [C#] public XmlSchemaInclude( );


[8605] [C++] public: XmlSchemaInclude( );


[8606] [VB] Public Sub New( )


[8607] [JScript] public function XmlSchemaInclude( );


[8608] Annotation


[8609] Id


[8610] LineNumber


[8611] LinePosition


[8612] Schema


[8613] SchemaLocation


[8614] SourceUri


[8615] UnhandledAttributes


[8616] XmlSchemaKey class (System.Xml.Schema)


[8617] ToString


[8618] Description


[8619] Identifies a key constraint.


[8620] Specifies that an attribute or element value (or set of values) must be a key within the specified scope. A key must be unique, non-nillable/non-nullable, and always present.


[8621] XmlSchemaKey


[8622] Example Syntax:


[8623] ToString


[8624] [C#] public XmlSchemaKey( );


[8625] [C++] public: XmlSchemaKey( );


[8626] [VB] Public Sub New( )


[8627] [JScript] public function XmlSchemaKey( );


[8628] Annotation


[8629] Fields


[8630] Id


[8631] LineNumber


[8632] LinePosition


[8633] Name


[8634] Selector


[8635] SourceUri


[8636] UnhandledAttributes


[8637] XmlSchemaKeyref class (System.Xml.Schema)


[8638] ToString


[8639] Description


[8640] Identifies a keyref constraint.


[8641] Specifies that an attribute or element value (or set of values) have a correspondence with those of the specified key or unique element. The name must be unique within a schema.


[8642] XmlSchemaKeyref


[8643] Example Syntax:


[8644] ToString


[8645] [C#] public XmlSchemaKeyref( );


[8646] [C++] public: XmlSchemaKeyref( );


[8647] [VB] Public Sub New( )


[8648] [JScript] public function XmlSchemaKeyref( );


[8649] Annotation


[8650] Fields


[8651] Id


[8652] LineNumber


[8653] LinePosition


[8654] Name


[8655] Refer


[8656] ToString


[8657] Description


[8658] The foreign key that this constraint refers to in another simple or complex type.


[8659] Name of a key or unique element defined in this schema (or another schema indicated by the specified namespace). The refer value must be a QName. The type can include a namespace prefix.


[8660] Selector


[8661] SourceUri


[8662] UnhandledAttributes


[8663] XmlSchemaLengthFacet class (System.Xml.Schema)


[8664] ToString


[8665] Description


[8666] Class for defining length facets.


[8667] XmlSchemaLengthFacet


[8668] Example Syntax:


[8669] ToString


[8670] [C#] public XmlSchemaLengthFacet( );


[8671] [C++] public: XmlSchemaLengthFacet( );


[8672] [VB] Public Sub New( )


[8673] [JScript] public function XmlSchemaLengthFacet( );


[8674] Annotation


[8675] Id


[8676] IsFixed


[8677] LineNumber


[8678] LinePosition


[8679] SourceUri


[8680] UnhandledAttributes


[8681] Value


[8682] XmlSchemaMaxExclusiveFacet class (System.Xml.Schema)


[8683] ToString


[8684] Description


[8685] Class for defining maxExclusive facets.


[8686] XmlSchemaMaxExclusiveFacet


[8687] Example Syntax:


[8688] ToString


[8689] [C#] public XmlSchemaMaxExclusiveFacet( );


[8690] [C++] public: XmlSchemaMaxExclusiveFacet( );


[8691] [VB] Public Sub New( )


[8692] [JScript] public function XmlSchemaMaxExclusiveFacet( );


[8693] Annotation


[8694] Id


[8695] IsFixed


[8696] LineNumber


[8697] LinePosition


[8698] SourceUri


[8699] UnhandledAttributes


[8700] Value


[8701] XmlSchemaMaxInclusiveFacet class (System.Xml.Schema)


[8702] ToString


[8703] Description


[8704] Class for defining maxInclusive facets.


[8705] XmlSchemaMaxInclusiveFacet


[8706] Example Syntax:


[8707] ToString


[8708] [C#] public XmlSchemaMaxInclusiveFacet( );


[8709] [C++] public: XmlSchemaMaxInclusiveFacet( );


[8710] [VB] Public Sub New( )


[8711] [JScript] public function XmlSchemaMaxInclusiveFacet( );


[8712] Annotation


[8713] Id


[8714] IsFixed


[8715] LineNumber


[8716] LinePosition


[8717] SourceUri


[8718] UnhandledAttributes


[8719] Value


[8720] XmlSchemaMaxLengthFacet class (System.Xml.Schema)


[8721] ToString


[8722] Description


[8723] Class for defining maxLength facets.


[8724] XmlSchemaMaxLengthFacet


[8725] Example Syntax:


[8726] ToString


[8727] [C#] public XmlSchemaMaxLengthFacet( );


[8728] [C++] public: XmlSchemaMaxLengthFacet( );


[8729] [VB] Public Sub New( )


[8730] [JScript] public function XmlSchemaMaxLengthFacet( );


[8731] Annotation


[8732] Id


[8733] IsFixed


[8734] LineNumber


[8735] LinePosition


[8736] SourceUri


[8737] UnhandledAttributes


[8738] Value


[8739] XmlSchemaMinExclusiveFacet class (System.Xml.Schema)


[8740] ToString


[8741] Description


[8742] Class for defining minExclusive facets.


[8743] XmlSchemaMinExclusiveFacet


[8744] Example Syntax:


[8745] ToString


[8746] [C#] public XmlSchemaMinExclusiveFacet( );


[8747] [C++] public: XmlSchemaMinExclusiveFacet( );


[8748] [VB] Public Sub New( )


[8749] [JScript] public function XmlSchemaMinExclusiveFacet( );


[8750] Annotation


[8751] Id


[8752] IsFixed


[8753] LineNumber


[8754] LinePosition


[8755] SourceUri


[8756] UnhandledAttributes


[8757] Value


[8758] XmlSchemaMinInclusiveFacet class (System.Xml.Schema)


[8759] ToString


[8760] Description


[8761] Class for defining minInclusive facets.


[8762] XmlSchemsMinInclusiveFacet


[8763] Example Syntax:


[8764] ToString


[8765] [C#] public XmlSchemaMinInclusiveFacet( );


[8766] [C++] public: XmlSchemaMinInclusiveFacet( );


[8767] [VB] Public Sub New( )


[8768] [JScript] public function XmlSchemaMinInclusiveFacet( );


[8769] Annotation


[8770] Id


[8771] IsFixed


[8772] LineNumber


[8773] LinePosition


[8774] SourceUri


[8775] UnhandledAttributes


[8776] Value


[8777] XmlSchemaMinLengthFacet class (System.Xml.Schema)


[8778] ToString


[8779] Description


[8780] Class for defining minLength facets.


[8781] XmlSchemaMinLengthFacet


[8782] Example Syntax:


[8783] ToString


[8784] [C#] public XmlSchemaMinLengthFacet( );


[8785] [C++] public: XmlSchemaMinLengthFacet( );


[8786] [VB] Public Sub New( )


[8787] [JScript] public function XmlSchemaMinLengthFacet( );


[8788] Annotation


[8789] Id


[8790] IsFixed


[8791] LineNumber


[8792] LinePosition


[8793] SourceUri


[8794] UnhandledAttributes


[8795] Value


[8796] XmlSchemaNotation class (System.Xml.Schema)


[8797] ToString


[8798] Description


[8799] Class for the definition of a notation.


[8800] XmlSchemaNotation


[8801] Example Syntax:


[8802] ToString


[8803] [C#] public XmlSchemaNotation( );


[8804] [C++] public: XmlSchemaNotation( );


[8805] [VB] Public Sub New( )


[8806] [JScript] public function XmlSchemaNotation( );


[8807] Annotation


[8808] Id


[8809] LineNumber


[8810] LinePosition


[8811] Name


[8812] ToString


[8813] Description


[8814] The name of the notation.


[8815] Public


[8816] ToString


[8817] [C#] public string Public {get; set;}


[8818] [C++] public: _property String* get_Public( );public: _property void set_Public(String*);


[8819] [VB] Public Property Public As String


[8820] [JScript] public function get Public( ) : String;public function set Public(String);


[8821] Description


[8822] The public attribute.


[8823] SourceUri


[8824] System


[8825] ToString


[8826] Description


[8827] The system attribute.


[8828] The default value is String.Empty.


[8829] UnhandledAttributes


[8830] XmlSchemaNumericFacet class (System.Xml.Schema)


[8831] ToString


[8832] Description


[8833] Abstract class for defining numeric facets.


[8834] XmlSchemaNumericFacet


[8835] Example Syntax:


[8836] ToString


[8837] [C#] protected XmlSchemaNumericFacet( );


[8838] [C++] protected: XmlSchemaNumericFacet( );


[8839] [VB] Protected Sub New( )


[8840] [JScript] protected function XmlSchemaNumericFacet( );


[8841] Annotation


[8842] Id


[8843] IsFixed


[8844] LineNumber


[8845] LinePosition


[8846] SourceUri


[8847] UnhandledAttributes


[8848] Value


[8849] XmlSchemaObject class (System.Xml.Schema)


[8850] ToString


[8851] Description


[8852] Creates an empty schema.


[8853] XmlSchemaObject


[8854] Example Syntax:


[8855] ToString


[8856] [C#] protected XmlSchemaObject( );


[8857] [C++] protected: XmlSchemaObject( );


[8858] [VB] Protected Sub New( )


[8859] [JScript] protected function XmlSchemaObject( );


[8860] LineNumber


[8861] ToString


[8862] [C#] public int LineNumber {get; set;}


[8863] [C++] public: _property int get_LineNumber( );public: _property void set_LineNumber(int);


[8864] [VB] Public Property LineNumber As Integer


[8865] [JScript] public function get LineNumber( ) : int;public function set LineNumber(int);


[8866] Description


[8867] Line number in the file that the schema element refers to.


[8868] LineNumber is used to store the line number when a schema is read from file. This is reported through System.Xml.Schema.XmlSchemaException for error handling.


[8869] LinePosition


[8870] ToString


[8871] [C#] public int LinePosition {get; set;}


[8872] [C++] public: _property int get_LinePosition( );public: _property void set_LinePosition(int);


[8873] [VB] Public Property LinePosition As Integer


[8874] [JScript] public function get LinePosition( ) : int;public function set LinePosition(int);


[8875] Description


[8876] Line position in the file that the schema element refers to.


[8877] This is used to store the line position when a schema is read from file. This is reported through System.Xml.Schema.XmlSchemaException for error handling.


[8878] SourceUri


[8879] ToString


[8880] [C#] public string SourceUri {get; set;}


[8881] [C++] public: _property String* get_SourceUri( );public: _property void set_SourceUri(String*);


[8882] [VB] Public Property SourceUri As String


[8883] [JScript] public function get SourceUri( ) : String;public function set SourceUri(String);


[8884] Description


[8885] Identifies the source location for the file that loaded the schema.


[8886] Provides information for exception handling.


[8887] XmlSchemaObjectCollection class (System.Xml.Schema)


[8888] ToString


[8889] Description


[8890] An object collection class to handle XmlSchemaObjects when collections are returned from method calls.


[8891] XmlSchemaObjectCollection


[8892] Example Syntax:


[8893] ToString


[8894] [C++] public XmlSchemaObjectCollection( );


[8895] [C++] public: XmlSchemaObjectCollection( );


[8896] [VB] Public Sub New( )


[8897] [JScript] public function XmlSchemaObjectCollection( ); Initializes a new instance of the XmlSchemaObjectCollection class.


[8898] Description


[8899] Initializes a new instance of the XmlSchemaObjectCollection class.


[8900] XmlSchemaObjectCollection


[8901] Example Syntax:


[8902] ToString


[8903] [C#] public XmlSchemaObjectCollection(XmlSchemaObject parent);


[8904] [C++] public: XmlSchemaObjectCollection(XmlSchemaObject* parent);


[8905] [VB] Public Sub New(ByVal parent As XmlSchemaObject)


[8906] [JScript] public function XmlSchemaObjectCollection(parent : XmlSchemaObject);


[8907] Description


[8908] Initializes a new instance of the XmlSchemaObjectCollection class that takes an XmlSchemaObject. XmlSchemaObject


[8909] Count


[8910] InnerList


[8911] Item


[8912] ToString


[8913] Description


[8914] Looks up the qualified name using the supplied XmlQualifiedName and returns the XmlSchemaObject—the XSD element for this qualified name. int


[8915] List


[8916] Add


[8917] [C#] public int Add(XmlSchemaObject item);


[8918] [C++] public: int Add(XmlSchemaObject* item);


[8919] [VB] Public Function Add(ByVal item As XmlSchemaObject) As Integer


[8920] [JScript] public function Add(item : XmlSchemaObject) : int;


[8921] Description


[8922] Adds an XmlSchemaObject to the XmlSchemaObjectCollection. XmlSchemaObject


[8923] Contains


[8924] [C#] public bool Contains(XmlSchemaObject item);


[8925] [C++] public: bool Contains(XmlSchemaObject* item);


[8926] [VB] Public Function Contains(ByVal item As XmlSchemaObject) As Boolean


[8927] [JScript] public function Contains(item : XmlSchemaObject) : Boolean;


[8928] Description


[8929] Indicates if specified qualified name is located in the XmlSchemaObjectCollection.


[8930] Return Value: Returns true if the specified qualified name is in the collection. Otherwise returns false. If null is supplied then false is returned since there is no qualified name with a null name. XmlSchemaObject


[8931] CopyTo


[8932] [C#] public void CopyTo(XmlSchemaObject[ ] array, int index);


[8933] [C++] public: void CopyTo(XmlSchemaObject* array[ ], int index);


[8934] [VB] Public Sub CopyTo(ByVal array( ) As XmlSchemaObject, ByVal index As Integer)


[8935] [JScript] public function CopyTo(array : XmlSchemaObject[ ], index : int);


[8936] Description


[8937] Copies an XmlSchemaObject to the XmlSchemaObjectCollection. XmlSchemaObject[ ] int


[8938] GetEnumerator


[8939] [C#] public new XmlSchemaObjectEnumerator GetEnumerator( );


[8940] [C++] public: XmlSchemaObjectEnumerator* GetEnumerator( );


[8941] [VB] Shadows Public Function GetEnumerator( ) As XmlSchemaObjectEnumerator


[8942] [JScript] public hide function GetEnumerator( ) : XmlSchemaObjectEnumerator;


[8943] Description


[8944] Returns an enumerator for iterating throgh the XmlSchemaObjects contained in the XmlSchemaObjectCollection.


[8945] Return Value: The iterator returns XmlSchemaObject.


[8946] IndexOf


[8947] [C#] public int IndexOf(XmlSchemaObject item);


[8948] [C++] public: int IndexOf(XmlSchemaObject* item);


[8949] [VB] Public Function IndexOf(ByVal item As XmlSchemaObject) As Integer


[8950] [JScript] public function IndexOf(item : XmlSchemaObject) : int;


[8951] Description


[8952] Gets the index of the specified XmlSchemaObject within the collection of the specified item. XmlSchemaObject


[8953] Insert


[8954] [C#] public void Insert(int index, XmlSchemaObject item);


[8955] [C++] public: void Insert(int index, XmlSchemaObject* item);


[8956] [VB] Public Sub Insert(ByVal index As Integer, ByVal item As XmlSchemaObject)


[8957] [JScript] public function Insert(index : int, item : XmlSchemaObject);


[8958] Description


[8959] Inserts an XmlSchemaObject to the XmlSchemaObjectCollection. XmlSchemaObject


[8960] OnClear


[8961] [C#] protected override void OnClear( );


[8962] [C++] protected: void OnClear( );


[8963] [VB] Overrides Protected Sub OnClear( )


[8964] [JScript] protected override function OnClear( );


[8965] Description


[8966] OnClear is invoked before the standard Clear behavior.


[8967] OnInsert


[8968] [C#] protected override void OnInsert(int index, object item);


[8969] [C++] protected: void OnInsert(int index, Object* item);


[8970] [VB] Overrides Protected Sub OnInsert(ByVal index As Integer, ByVal item As Object)


[8971] [JScript] protected override function OnInsert(index : int, item : Object);


[8972] Description


[8973] OnInsert is invoked before the standard Insert behavior. int object


[8974] OnRemove


[8975] [C#] protected override void OnRemove(int index, object item);


[8976] [C++] protected: void OnRemove(int index, Object* item);


[8977] [VB] Overrides Protected Sub OnRemove(ByVal index As Integer, ByVal item As Object)


[8978] [JScript] protected override function OnRemove(index : int, item : Object);


[8979] Description


[8980] OnRemove is invoked before the standard Remove behavior. int object


[8981] OnSet


[8982] [C#] protected override void OnSet(int index, object oldValue, object newValue);


[8983] [C++] protected: void OnSet(int index, Object* oldValue, Object* newValue);


[8984] [VB] Overrides Protected Sub OnSet(ByVal index As Integer, ByVal oldValue As Object, ByVal newValue As Object)


[8985] [JScript] protected override function OnSet(index : int, oldValue : Object, newValue : Object);


[8986] Description


[8987] OnSet is invoked before the standard Set behavior. int object object


[8988] Remove


[8989] [C#] public void Remove(XmlSchemaObject item);


[8990] [C++] public: void Remove(XmlSchemaObject* item);


[8991] [VB] Public Sub Remove(ByVal item As XmlSchemaObject)


[8992] [JScript] public function Remove(item : XmlSchemaObject);


[8993] Description


[8994] Removes an XmlSchemaObject from the XmlSchemaObjectCollection. XmlSchemaObject


[8995] XmlSchemaObjectEnumerator class (System.Xml.Schema)


[8996] ToString


[8997] Description


[8998] An enumerator class to walk the XmlSchemaObjectCollection collections.


[8999] Current


[9000] ToString


[9001] [C#] public XmlSchemaObject Current {get;}


[9002] [C++] public: _property XmlSchemaObject* get_Current( );


[9003] [VB] Public ReadOnly Property Current As XmlSchemaObject


[9004] [JScript] public function get Current( ) : XmlSchemaObject;


[9005] Description


[9006] Returns the XmlSchemaObject for the current enumerator's position.


[9007] MoveNext


[9008] [C#] public bool MoveNext( );


[9009] [C++] public: bool MoveNext( );


[9010] [VB] Public Function MoveNext( ) As Boolean


[9011] [JScript] public function MoveNext( ) : Boolean;


[9012] Description


[9013] Moves to the next item in the collection.


[9014] Return Value: False at the end of the collection.


[9015] Reset


[9016] [C#] public void Reset( );


[9017] [C++] public: void Reset( );


[9018] [VB] Public Sub Reset( )


[9019] [JScript] public function Reset( );


[9020] Description


[9021] Reset the enumerator to the start of the collection.


[9022] IEnumerator.MoveNext


[9023] [C#] bool IEnumerator.MoveNext( );


[9024] [C++] bool IEnumerator::MoveNext( );


[9025] [VB] Function MoveNext( ) As Boolean Implements IEnumerator.MoveNext


[9026] [JScript] function IEnumerator.MoveNext( ) : Boolean;


[9027] IEnumerator.Reset


[9028] [C#] void IEnumerator.Reset( );


[9029] [C++] void IEnumerator::Reset( );


[9030] [VB] Sub Reset( ) Implements IEnumerator.Reset


[9031] [JScript] function IEnumerator.Reset( );


[9032] XmlSchemaObjectTable class (System.Xml.Schema)


[9033] ToString


[9034] Description


[9035] A collection class that provides read-only helpers for XmlSchemaObject objects. This class is used to provide the collections for contained elements that are within the schema as collections that are accessed from the XmlSchema class (for example, Attributes, AttributeGroups, Elements, and so on).


[9036] Count


[9037] ToString


[9038] [C#] public int Count {get;}


[9039] [C++] public: _property int get_Count( );


[9040] [VB] Public ReadOnly Property Count As Integer


[9041] [JScript] public function get Count( ) : int;


[9042] Description


[9043] Count.


[9044] Item


[9045] ToString


[9046] [C#] public XmlSchemaObject this[XmlQualifiedName name] {get;}


[9047] [C++] public: _property XmlSchemaObject* get_Item(XmlQualifiedName* name);


[9048] [VB] Public Default ReadOnly Property Item(ByVal name As XmlQualifiedName) As XmlSchemaObject


[9049] [JScript] returnValue=XmlSchemaObjectTableObject.Item(name);


[9050] Description


[9051] Looks up the qualified name by the supplied XmlQualifiedName and returns the XmlSchemaObject which is the XML Schema Definition language (XSD) element for this qualified name.


[9052] Returns null if there is qualified name associated with the given name.


[9053] Names


[9054] ToString


[9055] [C#] public ICollection Names {get;}


[9056] [C++] public: _property ICollection* get_Names( );


[9057] [VB] Public ReadOnly Property Names As ICollection


[9058] [JScript] public function get Names( ) : ICollection;


[9059] Description


[9060] Returns a collection of all the named elements in the collection as XmlSchemaObject.


[9061] Values


[9062] ToString


[9063] [C#] public ICollection Values {get;}


[9064] [C++] public: _property ICollection* get_Values( );


[9065] [VB] Public ReadOnly Property Values As ICollection


[9066] [JScript] public function get Values( ) : ICollection;


[9067] Description


[9068] Returns a collection of the values for all the elements in the collection as XmlSchemaObject.


[9069] Contains


[9070] [C#] public bool Contains(XmlQualifiedName name);


[9071] [C++] public: bool Contains(XmlQualifiedName* name);


[9072] [VB] Public Function Contains(ByVal name As XmlQualifiedName) As Boolean


[9073] [JScript] public function Contains(name : XmlQualifiedName) : Boolean;


[9074] Description


[9075] Returns true if the specified qualified name is in the collection.


[9076] Returns false if a null value is supplied because there is not a qualified name for a null name. For more information, see System.Xml.XmlQualifiedName.


[9077] GetEnumerator


[9078] [C#] public IDictionaryEnumerator GetEnumerator( );


[9079] [C++] public: IDictionaryEnumerator* GetEnumerator( );


[9080] [VB] Public Function GetEnumerator( ) As IDictionaryEnumerator


[9081] [JScript] public function GetEnumerator( ) : IDictionaryEnumerator;


[9082] Description


[9083] Returns an enumerator for the XmlSchemaObject contained in the collection.


[9084] Return Value: Returns the XmlSchemaObject objects.


[9085] XmlSchemaParticle class (System.Xml.Schema)


[9086] ToString


[9087] Description


[9088] Base class for all particles types.


[9089] Particle types are usually interchangeable. A local element declaration or reference to a global element declaration (element), a compositor (sequence, choice, or all), a reference to a named content model group (group), or an element wildcard (any).


[9090] XmlSchemaParticle


[9091] Example Syntax:


[9092] ToString


[9093] [C#] protected XmlSchemaParticle( );


[9094] [C++] protected: XmlSchemaParticle( );


[9095] [VB] Protected Sub New( )


[9096] [JScript] protected function XmlSchemaParticle( );


[9097] Annotation


[9098] Id


[9099] LineNumber


[9100] LinePosition


[9101] MaxOccurs


[9102] ToString


[9103] Description


[9104] Maximum number of times the particle can occur.


[9105] The value can be an integer greater than or equal to zero. The default value is 1.


[9106] MaxOccursString


[9107] ToString


[9108] [C#] public string MaxOccursString {get; set;}


[9109] [C++] public: _property String* get_MaxOccursString( );public: _property void set_MaxOccursString(String*);


[9110] [VB] Public Property MaxOccursString As String


[9111] [JScript] public function get MaxOccursString( ) : String;public function set MaxOccursString(String);


[9112] Description


[9113] Provides the number as a string value. Maximum number of times the particle can occur.


[9114] To set no limit on the maximum number, use the string “unbounded”.


[9115] MinOccurs


[9116] ToString


[9117] [C#] public decimal MinOccurs {get; set;}


[9118] [C++] public: _property Decimal get_MinOccurs( );public: _property void set_MinOccurs(Decimal);


[9119] [VB] Public Property MinOccurs As Decimal


[9120] [JScript] public function get MinOccurs( ) : Decimal;public function set MinOccurs(Decimal);


[9121] Description


[9122] Minimum number of times the particle can occur.


[9123] The value can be an integer greater than or equal to zero. Set this attribute to zero to indicate that the attribute is optional. The default value is 1.


[9124] MinOccursString


[9125] ToString


[9126] [C#] public string MinOccursString {get; set;}


[9127] [C++] public: _property String* get_MinOccursString( );public: _property void set_MinOccursString(String*);


[9128] [VB] Public Property MinOccursString As String


[9129] [JScript] public function get MinOccursString( ) : String;public function set MinOccursString(String);


[9130] Description


[9131] Provides the number as a string value. Minimum number of times the particle can occur.


[9132] SourceUri


[9133] UnhandledAttributes


[9134] XmlSchemaPatternFacet class (System.Xml.Schema)


[9135] ToString


[9136] Description


[9137] Class for defining pattern facets.


[9138] XmlSchemaPatternFacet


[9139] Example Syntax:


[9140] ToString


[9141] [C#] public XmlSchemaPatternFacet( );


[9142] [C++] public: XmlSchemaPatternFacet( );


[9143] [VB] Public Sub New( )


[9144] [JScript] public function XmlSchemaPatternFacet( );


[9145] Annotation


[9146] Id


[9147] IsFixed


[9148] LineNumber


[9149] LinePosition


[9150] SourceUri


[9151] UnhandledAttributes


[9152] Value


[9153] XmlSchemaRedefine class (System.Xml.Schema)


[9154] ToString


[9155] Description


[9156] Allows simple and complex types, groups, and attribute groups from external schema files to be redefined in the current schema. This class provides versioning for the schema elements.


[9157] This class does the following: The redefine element requires that the external elements exist in the same target namespace as the redefining schema. Schemas without a namespace can also be redefined using the redefine element in which case, the redefined components become part of the schema's target namespace.


[9158] XmlSchemaRedefine


[9159] Example Syntax:


[9160] ToString


[9161] [C#] public XmlSchemaRedefine( );


[9162] [C++] public: XmlSchemaRedefine( );


[9163] [VB] Public Sub New( )


[9164] [JScript] public function XmlSchemaRedefine( );


[9165] Annotation


[9166] AttributeGroups


[9167] ToString


[9168] Description


[9169] The XmlSchemaObjectTable for all attributes in the schema.


[9170] Groups


[9171] ToString


[9172] [C#] public XmlSchemaObjectTable Groups {get;}


[9173] [C++] public: _property XmlSchemaObjectTable* get_Groups( );


[9174] [VB] Public ReadOnly Property Groups As XmlSchemaObjectTable


[9175] [JScript] public function get Groups( ) : XmlSchemaObjectTable;


[9176] Description


[9177] The XmlSchemaObjectTable for all groups in the schema.


[9178] Id


[9179] Items


[9180] ToString


[9181] Description


[9182] Collection of the following classes: XmlSchemaAnnotation, XmlSchemaAttribute, XmlSchemaAttributeGroup, XmlSchemaComplexType, XmlSchemaSimpleType, XmlSchemaElement, XmlSchemaGroup, and XmlSchemaNotation.


[9183] LineNumber


[9184] LinePosition


[9185] Schema


[9186] SchemaLocation


[9187] SchemaTypes


[9188] ToString


[9189] Description


[9190] The XmlSchemaObjectTable for all schema types in the schema.


[9191] SourceUri


[9192] UnhandledAttributes


[9193] XmlSchemaSequence class (System.Xml.Schema)


[9194] ToString


[9195] Description


[9196] Requires the elements in the group to appear in the specified sequence within the containing element. Represents the W3C sequence (compositor) element.


[9197] XmlSchemaSequence


[9198] Example Syntax:


[9199] ToString


[9200] [C#] public XmlSchemaSequence( );


[9201] [C++] public: XmlSchemaSequence( );


[9202] [VB] Public Sub New( )


[9203] [JScript] public function XmlSchemaSequence( );


[9204] Annotation


[9205] Id


[9206] Items


[9207] ToString


[9208] Description


[9209] The elements contained within the compositor. Collection of XmlSchemaElement, XmlSchemaGroupRef, XmlSchemaChoice, XmlSchemaSequence, or XmlSchemaAny.


[9210] LineNumber


[9211] LinePosition


[9212] MaxOccurs


[9213] MaxOccursString


[9214] MinOccurs


[9215] MinOccursString


[9216] SourceUri


[9217] UnhandledAttributes


[9218] XmlSchemaSimpleContent class (System.Xml.Schema)


[9219] ToString


[9220] Description


[9221] Class for simple types and complex types with a simple content model.


[9222] Contains extensions or restrictions on a complex type with character data or on a simple type as content and contains no elements.


[9223] XmlSchemaSimpleContent


[9224] Example Syntax:


[9225] ToString


[9226] [C#] public XmlSchemaSimpleContent( );


[9227] [C++] public: XmlSchemaSimpleContent( );


[9228] [VB] Public Sub New( )


[9229] [JScript] public function XmlSchemaSimpleContent( );


[9230] Annotation


[9231] Content


[9232] ToString


[9233] Description


[9234] One of XmlSchemaSimpleContentRestriction or XmlSchemaSimpleContentExtension.


[9235] The simpleContent element enables you to specify an element as containing a simple type with no elements and restrict the value of the element's content or extend the content with attributes.


[9236] Id


[9237] LineNumber


[9238] LinePosition


[9239] SourceUri


[9240] UnhandledAttributes


[9241] XmlSchemaSimpleContentExtension class (System.Xml.Schema)


[9242] ToString


[9243] Description


[9244] Class for simple types that are extended by extension. Extends the simple type content of the element by adding attributes.


[9245] XmlSchemaSimpleContentExtension


[9246] Example Syntax:


[9247] ToString


[9248] [C#] public XmlSchemaSimpleContentExtension( );


[9249] [C++] public: XmlSchemaSimpleContentExtension( );


[9250] [VB] Public Sub New( )


[9251] [JScript] public function XmlSchemaSimpleContentExtension( );


[9252] Annotation


[9253] AnyAttribute


[9254] ToString


[9255] Description


[9256] Allows an XmlSchemaAnyAttribute to be used for the attribute value.


[9257] Attributes


[9258] ToString


[9259] [C#] public XmlSchemaObjectCollection Attributes {get;}


[9260] [C++] public: _property XmlSchemaObjectCollection* get_Attributes( );


[9261] [VB] Public ReadOnly Property Attributes As XmlSchemaObjectCollection


[9262] [JScript] public function get Attributes( ) : XmlSchemaObjectCollection;


[9263] Description


[9264] Contains XmlSchemaAttribute and XmlSchemaAttributeGroupRef. Collection of attributes for the simpleType element.


[9265] BaseTypeName


[9266] ToString


[9267] [C#] public XmlQualifiedName BaseTypeName {get; set;}


[9268] [C++] public: _property XmlQualifiedName* get_BaseTypeName( );public: _property void set_BaseTypeName(XmlQualifiedName*);


[9269] [VB] Public Property BaseTypeName As XmlQualifiedName


[9270] [JScript] public function get BaseTypeName( ) : XmlQualifiedName;public function set BaseTypeName(XmlQualifiedName);


[9271] Description


[9272] Name of a built-in data type, simple type, or complex type.


[9273] Id


[9274] LineNumber


[9275] LinePosition


[9276] SourceUri


[9277] UnhandledAttributes


[9278] XmlSchemaSimpleContentRestriction class (System.Xml.Schema)


[9279] ToString


[9280] Description


[9281] Class for simple types that are extended by restriction. Restricts the range of values for the element to a subset of the inherited simple types.


[9282] XmlSchemaSimpleContentRestriction


[9283] Example Syntax:


[9284] ToString


[9285] [C#] public XmlSchemaSimpleContentRestriction( );


[9286] [C++] public: XmlSchemaSimpleContentRestriction( );


[9287] [VB] Public Sub New( )


[9288] [JScript] public function XmlSchemaSimpleContentRestriction( );


[9289] Annotation


[9290] AnyAttribute


[9291] ToString


[9292] Description


[9293] Allows an XmlSchemaAnyAttribute to be used for the attribute value.


[9294] Attributes


[9295] ToString


[9296] [C#] public XmlSchemaObjectCollection Attributes {get;}


[9297] [C++] public: _property XmlSchemaObjectCollection* get_Attributes( );


[9298] [VB] Public ReadOnly Property Attributes As XmlSchemaObjectCollection


[9299] [JScript] public function get Attributes( ) : XmlSchemaObjectCollection;


[9300] Description


[9301] Contains XmlSchemaAttribute and XmlSchemaAttributeGroupRef. Collection of attributes for the simple type.


[9302] BaseType


[9303] ToString


[9304] [C#] public XmlSchemaSimpleType BaseType {get; set;}


[9305] [C++] public: _property XmlSchemaSimpleType* get_BaseType( );public: _property void set_BaseType(XmlSchemaSimpleType*);


[9306] [VB] Public Property BaseType As XmlSchemaSimpleType


[9307] [JScript] public function get BaseType( ) : XmlSchemaSimpleType;public function set BaseType(XmlSchemaSimpleType);


[9308] Description


[9309] Derived from the type specified by the base value.


[9310] The base value must be a QName.


[9311] BaseTypeName


[9312] ToString


[9313] [C#] public XmlQualifiedName BaseTypeName {get; set;}


[9314] [C++] public: _property XmlQualifiedName* get_BaseTypeName( );public: _property void set_BaseTypeName(XmlQualifiedName*);


[9315] [VB] Public Property BaseTypeName As XmlQualifiedName


[9316] [JScript] public function get BaseTypeName( ) : XmlQualifiedName;public function set BaseTypeName(XmlQualifiedName);


[9317] Description


[9318] Name of the built-in data type, simple type, or complex type.


[9319] Facets


[9320] ToString


[9321] [C#] public XmlSchemaObjectCollection Facets {get;}


[9322] [C++] public: _property XmlSchemaObjectCollection* get_Facets( );


[9323] [VB] Public ReadOnly Property Facets As XmlSchemaObjectCollection


[9324] [JScript] public function get Facets( ) : XmlSchemaObjectCollection;


[9325] Description


[9326] One or more of the following classes: XmlSchemaLengthFacet, XmlSchemaMinLengthFacet, XmlSchemaMaxLengthFacet, XmlSchemaPatternFacet, XmlSchemaEnumerationFacet, XmlSchemaMaxInclusiveFacet, XmlSchemaMaxExclusiveFacet, XmlSchemaMinInclusiveFacet, XmlSchemaMinExclusiveFacet, XmlSchemaFractionDigitsFacet, XmlSchemaTotalDigitsFacet.


[9327] Id


[9328] LineNumber


[9329] LinePosition


[9330] SourceUri


[9331] UnhandledAttributes


[9332] XmlSchemaSimpleType class (System.Xml.Schema)


[9333] ToString


[9334] Description


[9335] Class defines a simple type that determines the information and constraints for the values of attributes or elements with text-only content.


[9336] Simple types are defined by deriving them from existing simple types (built-in data types and derived simple types). A simple type cannot contain elements and cannot have attributes.


[9337] XmlSchemaSimpleType


[9338] Example Syntax:


[9339] ToString


[9340] [C#] public XmlSchemaSimpleType( );


[9341] [C++] public: XmlSchemaSimpleType( );


[9342] [VB] Public Sub New( )


[9343] [JScript] public function XmlSchemaSimpleType( );


[9344] Annotation


[9345] BaseSchemaType


[9346] Content


[9347] ToString


[9348] Description


[9349] One of XmlSchemaSimpleTypeUnion, XmlSchemaSimpleTypeList, or XmlSchemaSimpleTypeRestriction.


[9350] Simple types can be defined in one of the following ways.


[9351] Datatype


[9352] DerivedBy


[9353] Final


[9354] FinalResolved


[9355] Id


[9356] IsMixed


[9357] LineNumber


[9358] LinePosition


[9359] Name


[9360] QualifiedName


[9361] SourceUri


[9362] UnhandledAttributes


[9363] XmlSchemaSimpleTypeContent class (System.Xml.Schema)


[9364] ToString


[9365] Description


[9366] Abstract class for simple type content classes.


[9367] XmlSchemaSimpleTypeContent


[9368] Example Syntax:


[9369] ToString


[9370] [C#] protected XmlSchemaSimpleTypeContent( );


[9371] [C++] protected: XmlSchemaSimpleTypeContent( );


[9372] [VB] Protected Sub New( )


[9373] [JScript] protected function XmlSchemaSimpleTypeContent( );


[9374] Annotation


[9375] Id


[9376] LineNumber


[9377] LinePosition


[9378] SourceUri


[9379] UnhandledAttributes


[9380] XmlSchemaSimpleTypeList class (System.Xml.Schema)


[9381] ToString


[9382] Description


[9383] Class for the list of simpleType elements. Defines a simpleType element as a list of values of a specified data type.


[9384] When a data type is derived from a list data type, the following constraining facets can be used: length, maxLength, and minLength enumerations.


[9385] XmlSchemaSimpleTypeList


[9386] Example Syntax:


[9387] ToString


[9388] [C#] public XmlSchemaSimpleTypeList( );


[9389] [C++] public: XmlSchemaSimpleTypeList( );


[9390] [VB] Public Sub New( )


[9391] [JScript] public function XmlSchemaSimpleTypeList( );


[9392] Annotation


[9393] Id


[9394] ItemType


[9395] ToString


[9396] Description


[9397] This simpleType element is derived from the type specified by the base value.


[9398] The base value must be a QName.


[9399] ItemTypeName


[9400] ToString


[9401] [C#] public XmlQualifiedName ItemTypeName {get; set;}


[9402] [C++] public: _property XmlQualifiedName* get_ItemTypeName( );public: _property void set_ItemTypeName(XmlQualifiedName*);


[9403] [VB] Public Property ItemTypeName As XmlQualifiedName


[9404] [JScript] public function get ItemTypeName( ) : XmlQualifiedName;public function set ItemTypeName(XmlQualifiedName);


[9405] Description


[9406] The type name of simple type list. Name of a built-in data type or simpleType element defined in this schema (or another schema indicated by the specified namespace).


[9407] The simpleType element containing the list element is derived from the simple type specified by the list value. The list value must be a QName.


[9408] LineNumber


[9409] LinePosition


[9410] SourceUri


[9411] UnhandledAttributes


[9412] XmlSchemaSimpleTypeRestriction class (System.Xml.Schema)


[9413] ToString


[9414] Description


[9415] Class for the restriction of simpleType elements.


[9416] XmlSchemaSimpleTypeRestriction


[9417] Example Syntax:


[9418] ToString


[9419] [C#] public XmlSchemaSimpleTypeRestriction( );


[9420] [C++] public: XmlSchemaSimpleTypeRestiction( );


[9421] [VB] Public Sub New( )


[9422] [JScript] public function XmlSchemaSimpleTypeRestriction( );


[9423] Annotation


[9424] BaseType


[9425] ToString


[9426] Description


[9427] Provides the information on the base type.


[9428] BaseTypeName


[9429] ToString


[9430] [C#] public XmlQualifiedName BaseTypeName {get; set;}


[9431] [C++] public: _property XmlQualifiedName* get_BaseTypeName( );public: _property void set_BaseTypeName(XmlQualifiedName*);


[9432] [VB] Public Property BaseTypeName As XmlQualifiedName


[9433] [JScript] public function get BaseTypeName( ) : XmlQualifiedName;public function set BaseTypeName(XmlQualifiedName);


[9434] Description


[9435] The name of the qualified base type.


[9436] Facets


[9437] ToString


[9438] [C#] public XmlSchemaObjectCollection Facets {get;}


[9439] [C++] public: _property XmlSchemaObjectCollection* get_Facets( );


[9440] [VB] Public ReadOnly Property Facets As XmlSchemaObjectCollection


[9441] [JScript] public function get Facets( ) : XmlSchemaObjectCollection;


[9442] Description


[9443] One or more of the following classes: XmlSchemaLengthFacet, XmlSchemaMinLengthFacet, XmlSchemaMaxLengthFacet, XmlSchemaPatternFacet, XmlSchemaEnumerationFacet, XmlSchemaMaxInclusiveFacet, XmlSchemaMaxExclusiveFacet, XmlSchemaMinInclusiveFacet, XmlSchemaMinExclusiveFacet, XmlSchemaFractionDigitsFacet, XmlSchemaTotalDigitsFacet.


[9444] Id


[9445] LineNumber


[9446] LinePosition


[9447] SourceUri


[9448] UnhandledAttributes


[9449] XmlSchemaSimpleTypeUnion class (System.Xml.Schema)


[9450] ToString


[9451] Description


[9452] Class for the union of simpleType elements. Defines a simpleType element as a list of values of a specified data type.


[9453] A union type enables an element or attribute value to be one or more instances of one type drawn from the union of multiple atomic and list types.


[9454] XmlSchemaSimpleTypeUnion


[9455] Example Syntax:


[9456] ToString


[9457] [C#] public XmlSchemaSimpleTypeUnion( );


[9458] [C++] public: XmlSchemaSimpleTypeUnion( );


[9459] [VB] Public Sub New( )


[9460] [JScript] public function XmlSchemaSimpleTypeUnion( );


[9461] Annotation


[9462] BaseTypes


[9463] ToString


[9464] Description


[9465] Collection of base types.


[9466] Id


[9467] LineNumber


[9468] LinePosition


[9469] MemberTypesSource


[9470] ToString


[9471] Description


[9472] List of members of built-in data types or simpletype elements defined in this schema (or another schema indicated by the specified namespace).


[9473] The simpleType element containing the union element is derived from the simple types specifed by the union value. The values in memberTypes property must be QNames.


[9474] SourceUri


[9475] UnhandledAttributes


[9476] XmlSchemaTotalDigitsFacet class (System.Xml.Schema)


[9477] ToString


[9478] Description


[9479] Class for defining totalDigits facets.


[9480] XmlSchemaTotalDigitsFacet


[9481] Example Syntax:


[9482] ToString


[9483] [C#] public XmlSchemaTotalDigitsFacet( );


[9484] [C++] public: XmlSchemaTotalDigitsFacet( );


[9485] [VB] Public Sub New( )


[9486] [JScript] public function XmlSchemaTotalDigitsFacet( );


[9487] Annotation


[9488] Id


[9489] IsFixed


[9490] LineNumber


[9491] LinePosition


[9492] SourceUri


[9493] UnhandledAttributes


[9494] Value


[9495] XmlSchemaType class (System.Xml.Schema)


[9496] ToString


[9497] Description


[9498] The base class for all simple types and complex types.


[9499] XmlSchemaType


[9500] Example Syntax:


[9501] ToString


[9502] [C#] public XmlSchemaType( );


[9503] [C++] public: XmlSchemaType( );


[9504] [VB] Public Sub New( )


[9505] [JScript] public function XmlSchemaType( );


[9506] Annotation


[9507] BaseSchemaType


[9508] ToString


[9509] Description


[9510] Name of a built-in XSD data type, simpleType element, or complexType element.


[9511] This complexType element is derived from the type specified by the base value. The base value must be a QName.


[9512] Datatype


[9513] ToString


[9514] [C#] public XmlSchemaDatatype Datatype {get;}


[9515] [C++] public: _property XmlSchemaDatatype* get_Datatype( );


[9516] [VB] Public ReadOnly Property Datatype As XmlSchemaDatatype


[9517] [JScript] public function get Datatype( ) : XmlSchemaDatatype;


[9518] Description


[9519] Indicates the data type.


[9520] DerivedBy


[9521] ToString


[9522] [C#] public XmlSchemaDerivationMethod DerivedBy {get;}


[9523] [C++] public: _property XmlSchemaDerivationMethod get_DerivedBy( );


[9524] [VB] Public ReadOnly Property DerivedBy As XmlSchemaDerivationMethod


[9525] [JScript] public function get DerivedBy( ) : XmlSchemaDerivationMethod;


[9526] Description


[9527] Indicates the how elements can derive from this element.


[9528] The value can contain #all or a list that is a subset of extension/restriction/substitution.


[9529] Final


[9530] ToString


[9531] [C#] public XmlSchemaDerivationMethod Final {get; set;}


[9532] [C++] public: _property XmlSchemaDerivationMethod get_Final( );public: _property void set_Final(XmlSchemaDerivationMethod);


[9533] [VB] Public Property Final As XmlSchemaDerivationMethod


[9534] [JScript] public function get Final( ) : XmlSchemaDerivationMethod;public function set Final(XmlSchemaDerivationMethod);


[9535] FinalResolved


[9536] ToString


[9537] [C#] public XmlSchemaDerivationMethod FinalResolved {get;}


[9538] [C++] public: _property XmlSchemaDerivationMethod get_FinalResolved( );


[9539] [VB] Public ReadOnly Property FinalResolved As XmlSchemaDerivationMethod


[9540] [JScript] public function get FinalResolved( ) : XmlSchemaDerivationMethod;


[9541] Description


[9542] The value after element has been compiled to post-schema infoset. This value indicates how the type is restricted when the type is extended through restriction. If the type is marked as final then this type cannot be extended.


[9543] This value is either from the type itself or if not defined on the type taken from the schema element.


[9544] Id


[9545] IsMixed


[9546] ToString


[9547] Description


[9548] Indicates that this type has a mixed content model (character data is allowed to appear between the child elements of this complexType element).


[9549] Default is false. This virtual method is overridden in derived classes.


[9550] LineNumber


[9551] LinePosition


[9552] Name


[9553] ToString


[9554] Description


[9555] Name of the type.


[9556] The name must be an NCName as defined in the XML Namespaces specification. Optional. If specified, the name must be unique among all simpleType and complexType elements.


[9557] QualifiedName


[9558] ToString


[9559] [C#] public XmlQualifiedName QualifiedName {get;}


[9560] [C++] public: _property XmlQualifiedName* get_QualifiedName( );


[9561] [VB] Public ReadOnly Property QualifiedName As XmlQualifiedName


[9562] [JScript] public function get QualifiedName( ) : XmlQualifiedName;


[9563] Description


[9564] Qualified name for the type built from the Name attribute of this type.


[9565] SourceUri


[9566] UnhandledAttributes


[9567] XmlSchemaUnique class (System.Xml.Schema)


[9568] ToString


[9569] Description


[9570] Identifies a unique contraint among a set of elements.


[9571] Specifies that an attribute or element value (or a combination of attribute or element values) must be unique within the specified scope. The name must be unique within a schema.


[9572] XmlSchemaUnique


[9573] Example Syntax:


[9574] ToString


[9575] [C#] public XmlSchemaUnique( );


[9576] [C++] public: XmlSchemaUnique( );


[9577] [VB] Public Sub New( )


[9578] [JScript] public function XmlSchemaUnique( );


[9579] Annotation


[9580] Fields


[9581] Id


[9582] LineNumber


[9583] LinePosition


[9584] Name


[9585] Selector


[9586] SourceUri


[9587] UnhandledAttributes


[9588] XmlSchemaUse enumeration (System.Xml.Schema)


[9589] ToString


[9590] Description


[9591] Indicator of how the attribute is used.


[9592] Optional.


[9593] ToString


[9594] [C#] public const XmlSchemaUse None;


[9595] [C++] public: const XmlSchemaUse None;


[9596] [VB] Public Const None As XmlSchemaUse


[9597] [JScript] public var None : XmlSchemaUse;


[9598] Description


[9599] Attribute has no value.


[9600] ToString


[9601] [C#] public const XmlSchemaUse Optional;


[9602] [C++] public: const XmlSchemaUse Optional;


[9603] [VB] Public Const Optional As XmlSchemaUse


[9604] [JScript] public var Optional : XmlSchemaUse;


[9605] Description


[9606] Attribute is optional and may have any value.


[9607] ToString


[9608] [C#] public const XmlSchemaUse Prohibited;


[9609] [C++] public: const XmlSchemaUse Prohibited;


[9610] [VB] Public Const Prohibited As XmlSchemaUse


[9611] [JScript] public var Prohibited: XmlSchemaUse;


[9612] Description


[9613] Attribute cannot be used.


[9614] ToString


[9615] [C#] public const XmlSchemaUse Required;


[9616] [C++] public: const XmlSchemaUse Required;


[9617] [VB] Public Const Required As XmlSchemaUse


[9618] [JScript] public var Required : XmlSchemaUse;


[9619] Description


[9620] Attribute must appear once.


[9621] XmlSchemaWhiteSpaceFacet class (System.Xml.Schema)


[9622] ToString


[9623] Description


[9624] Class for defining whitespace facets.


[9625] XmlSchemaWhiteSpaceFacet


[9626] Example Syntax:


[9627] ToString


[9628] [C#] public XmlSchemaWhiteSpaceFacet( );


[9629] [C++] public: XmlSchemaWhiteSpaceFacet( );


[9630] [VB] Public Sub New( )


[9631] [JScript] public function XmlSchemaWhiteSpaceFacet( );


[9632] Annotation


[9633] Id


[9634] IsFixed


[9635] LineNumber


[9636] LinePosition


[9637] SourceUri


[9638] UnhandledAttributes


[9639] Value


[9640] XmlSchemaXPath class (System.Xml.Schema)


[9641] ToString


[9642] Description


[9643] Class for XML Path Language (XPath) expressions.


[9644] XmlSchemaXPath


[9645] Example Syntax:


[9646] ToString


[9647] [C#] public XmlSchemaXPath( );


[9648] [C++] public: XmlSchemaXPath( );


[9649] [VB] Public Sub New( )


[9650] [JScript] public function XmlSchemaXPath( );


[9651] Annotation


[9652] Id


[9653] LineNumber


[9654] LinePosition


[9655] SourceUri


[9656] UnhandledAttributes


[9657] XPath


[9658] ToString


[9659] Description


[9660] Attribute for the XML Path Language (XPath) expression.


[9661] An XPath expression that is relative to each element that is selected by the selector of the identity constraint. This expression must identify a single element or attribute whose content or value is used for the constraint. If the expression identifies an element, that element must be a simple type.


[9662] XmlSeverityType enumeration (System.Xml.Schema)


[9663] ToString


[9664] Description


[9665] Represents the severity of the validation event.


[9666] ToString


[9667] [C#] public const XmlSeverityType Error;


[9668] [C++] public: const XmlSeverityType Error;


[9669] [VB] Public Const Error As XmlSeverityType


[9670] [JScript] public var Error : XmlSeverityType; Errors that can be recovered from.


[9671] Description


[9672] Indicates a validation error occurred when validating the instance document. This applies to DTDs and XML-Data Reduced Language (XDR) and XML Schema Definition language (XSD) schemas. The W3C validity constraints are considered fatal errors.


[9673] ToString


[9674] [C#] public const XmlSeverityType Warning;


[9675] [C++] public: const XmlSeverityType Warning;


[9676] [VB] Public Const Warning As XmlSeverityTy


[9677] System.Xml.Serialization


[9678] The namespace contains classes that are used to serialize objects into XML format documents or streams.


[9679] Description


[9680] The System.Xml.Serialization namespace contains classes that are used to serialize objects into XML format documents or streams.


[9681] CodeIdentifier class (System.Xml.Serialization)


[9682] Constructors:


[9683] CodeIdentifier


[9684] Example Syntax:


[9685] Methods:


[9686] MakeCamel


[9687] [C#] public static string MakeCamel(string identifier);


[9688] [C++] public: static String* MakeCamel(String* identifier);


[9689] [VB] Public Shared Function MakeCamel(ByVal identifier As String) As String


[9690] [JScript] public static function MakeCamel(identifier : String) : String;


[9691] Description


[9692] MakePascal


[9693] [C#] public static string MakePascal(string identifier);


[9694] [C++] public: static String* MakePascal(String* identifier);


[9695] [VB] Public Shared Function MakePascal(ByVal identifier As String) As String


[9696] [JScript] public static function MakePascal(identifier : String) : String;


[9697] Description


[9698] MakeValid


[9699] [C#] public static string MakeValid(string identifier);


[9700] [C++] public: static String* MakeValid(String* identifier);


[9701] [VB] Public Shared Function MakeValid(ByVal identifier As String) As String


[9702] [JScript] public static function MakeValid(identifier : String) : String;


[9703] Description


[9704] CodeIdentifiers class (System.Xml.Serialization)


[9705] ToString


[9706] CodeIdentifiers


[9707] Example Syntax:


[9708] ToString


[9709] Properties:


[9710] UseCamelCasing


[9711] ToString


[9712] Description


[9713] Add


[9714] [C#] public void Add(string identifier, object value);


[9715] [C++] public: void Add(String* identifier, Object* value);


[9716] [VB] Public Sub Add(ByVal identifier As String, ByVal value As Object)


[9717] [JScript] public function Add(identifier : String, value : Object);


[9718] Description


[9719] AddReserved


[9720] [C#] public void AddReserved(string identifier);


[9721] [C++] public: void AddReserved(String* identifier);


[9722] [VB] Public Sub AddReserved(ByVal identifier As String)


[9723] [JScript] public function AddReserved(identifier : String);


[9724] Description


[9725] AddUnique


[9726] [C#] public string AddUnique(string identifier, object value);


[9727] [C++] public: String* AddUnique(String* identifier, Object* value);


[9728] [VB] Public Function AddUnique(ByVal identifier As String, ByVal value As Object) As String


[9729] [JScript] public function AddUnique(identifier : String, value : Object) : String;


[9730] Description


[9731] Clear


[9732] [C#] public void Clear( );


[9733] [C++] public: void Clear( );


[9734] [VB] Public Sub Clear( )


[9735] [JScript] public function Clear( );


[9736] Description


[9737] IsInUse


[9738] [C#] public bool IsInUse(string identifier);


[9739] [C++] public: bool IsInUse(String* identifier);


[9740] [VB] Public Function IsInUse(ByVal identifier As String) As Boolean


[9741] [JScript] public function IsInUse(identifier : String) : Boolean;


[9742] Description


[9743] MakeRightCase


[9744] [C#] public string MakeRightCase(string identifier);


[9745] [C++] public: String* MakeRightCase(String* identifier);


[9746] [VB] Public Function MakeRightCase(ByVal identifier As String) As String


[9747] [JScript] public function MakeRightCase(identifier : String) : String;


[9748] Description


[9749] MakeUnique


[9750] [C#] public string MakeUnique(string identifier);


[9751] [C++] public: String* MakeUnique(String* identifier);


[9752] [VB] Public Function MakeUnique(ByVal identifier As String) As String


[9753] [JScript] public function MakeUnique(identifier : String) : String;


[9754] Description


[9755] Remove


[9756] [C#] public void Remove(string identifier);


[9757] [C++] public: void Remove(String* identifier);


[9758] [VB] Public Sub Remove(ByVal identifier As String)


[9759] [JScript] public function Remove(identifier : String);


[9760] Description


[9761] RemoveReserved


[9762] [C#] public void RemoveReserved(string identifier);


[9763] [C++] public: void RemoveReserved(String* identifier);


[9764] [VB] Public Sub RemoveReserved(ByVal identifier As String)


[9765] [JScript] public function RemoveReserved(identifier : String);


[9766] Description


[9767] ToArray


[9768] [C#] public object ToArray(Type type);


[9769] [C++] public: Object* ToArray(Type* type);


[9770] [VB] Public Function ToArray(ByVal type As Type) As Object


[9771] [JScript] public function ToArray(type : Type) : Object;


[9772] Description


[9773] XmlSerializationReader.CollectionFixup class (System.Xml.Serialization)


[9774] ToString


[9775] Description


[9776] XmlSerializationReader.CollectionFixup


[9777] Example Syntax:


[9778] ToString


[9779] [C#] public XmlSerializationReader.CollectionFixup(object collection, XmlSerializationCollectionFixupCallback callback, object collectionItems);


[9780] [C++] public: CollectionFixup(Object* collection, XmlSerializationCollectionFixupCallback* callback, Object* collectionItems);


[9781] [VB] Public Sub New(ByVal collection As Object, ByVal callback As XmlSerializationCollectionFixupCallback, ByVal collection Items As Object)


[9782] [JScript] public function XmlSerializationReader.CollectionFixup(collection : Object, callback : XmlSerializationCollectionFixupCallback, collectionItems : Object);


[9783] Description


[9784] Callback


[9785] ToString


[9786] [C#] public XmlSerializationCollectionFixupCallback Callback {get;}


[9787] [C++] public: _property XmlSerializationCollectionFixupCallback* get_Callback( );


[9788] [VB] Public ReadOnly Property Callback As XmlSerializationCollectionFixupCallback


[9789] [JScript] public function get Callback( ): XmlSerializationCollectionFixupCallback;


[9790] Description


[9791] Collection


[9792] ToString


[9793] [C#] public object Collection {get;}


[9794] [C++] public: _property Object* get_Collection( );


[9795] [VB] Public ReadOnly Property Collection As Object


[9796] [JScript] public function get Collection( ) : Object;


[9797] Description


[9798] CollectionItems


[9799] ToString


[9800] [C#] public object CollectionItems {get;}


[9801] [C++] public: _property Object* get_CollectionItems( );


[9802] [VB] Public ReadOnly Property CollectionItems As Object


[9803] [JScript] public function get CollectionItems( ) : Object;


[9804] Description


[9805] XmlSerializationReader.Fixup class (System.Xml.Serialization)


[9806] ToString


[9807] Description


[9808] XmlSerializationReader.Fixup


[9809] Example Syntax:


[9810] ToString


[9811] [C#] public XmlSerializationReader.Fixup(object o, XmlSerializationFixupCallback callback, int count);


[9812] [C++] public: Fixup(Object* o, XmlSerializationFixupCallback* callback, int count);


[9813] [VB] Public Sub New(ByVal o As Object, ByVal callback As XmlSerializationFixupCallback, ByVal count As Integer)


[9814] [JScript] public function XmlSerializationReader.Fixup(o : Object, callback : XmlSerializationFixupCallback, count : int);


[9815] Description


[9816] XmlSerializationReader.Fixup


[9817] Example Syntax:


[9818] ToString


[9819] [C#] public XmlSerializationReader.Fixup(object o, XmlSerializationFixupCallback callback, string[ ] ids);


[9820] [C++] public: Fixup(Object* o, XmlSerializationFixupCallback* callback, String* ids_gc[ ]);


[9821] [VB] Public Sub New(ByVal o As Object, ByVal callback As XmlSerializationFixupCallback, ByVal ids( ) As String)


[9822] [JScript] public function XmlSerializationReader.Fixup(o : Object, callback : XmlSerializationFixupCallback, ids : String[ ]);


[9823] Description


[9824] Callback


[9825] ToString


[9826] [C#] public XmlSerializationFixupCallback Callback {get;}


[9827] [C++] public: _property XmlSerializationFixupCallback* get_Callback( );


[9828] [VB] Public ReadOnly Property Callback As XmlSerializationFixupCallback


[9829] [JScript] public function get Callback( ) : XmlSerializationFixupCallback;


[9830] Description


[9831] Ids


[9832] ToString


[9833] [C#] public string[ ] Ids {get;}


[9834] [C++] public: _property String* get_Ids( );


[9835] [VB] Public ReadOnly Property Ids As String ( )


[9836] [JScript] public function get Ids( ) : String[ ];


[9837] Description


[9838] Source


[9839] ToString


[9840] [C#] public object Source {get; set;}


[9841] [C++] public: _property Object* get_Source( );public: _property void set_Source(Object*);


[9842] [VB] Public Property Source As Object


[9843] [JScript] public function get Source( ) : Object;public function set Source(Object);


[9844] Description


[9845] IXmlSerializable interface (System.Xml.Serialization)


[9846] ToString


[9847] Description


[9848] Provides a custom serialization format for a serializable object.


[9849] Examples of classes that implement this interface are System.Data.DataSet and System.Xml.XmlDocument. This is different from the System.Runtime.Serialization.ISerializable interface in that it is totally XML-centric and stream based in the sense that large amounts of XML can be incrementally streamed through the System.Data.DataSet.ReadXml and System.Data.DataSet.WriteXml methods.


[9850] GetSchema


[9851] [C#] XmlSchema GetSchema( );


[9852] [C++] XmlSchema* GetSchema( );


[9853] [VB] Function GetSchema( ) As XmlSchema


[9854] [JScript] function GetSchema( ) : XmlSchema;


[9855] Return Value: An System.Xml.Schema.XmlSchema object that represents the XML schema.


[9856] This optional method is used by webserviceutil to create a callable web service client class from the returned System.Xml.Schema.XmlSchema object. This method is not needed to do simple runtime XML serialization.


[9857] ReadXml


[9858] [C#] void ReadXml(XmlReader reader);


[9859] [C++] void ReadXml(XmlReader* reader);


[9860] [VB] Sub ReadXml(ByVal reader As XmlReader)


[9861] [JScript] function ReadXml(reader : XmlReader);


[9862] Description


[9863] Converts an XML document into an object using the specified reader.


[9864] The reader is positioned within the stream at the point that you began writing (in System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter)). It is your responsibility to read everything you wrote, no less and no more. The System.Xml.XmlReader used to read the XML document.


[9865] WriteXml


[9866] [C#] void WriteXml(XmlWriter writer);


[9867] [C++] void WriteXml(XmlWriter* writer);


[9868] [VB] Sub WriteXml(ByVal writer As XmlWriter)


[9869] [JScript] function WriteXml(writer : XmlWriter);


[9870] Description


[9871] Converts the serializable members of an object into an XML document.


[9872] You must write enough information to be able to implement the System.Xml.Serialization.IXmlSerializable.ReadXml(System.Xml.XmlReader) method correctly. For example, if you are writing a list of elements, you provide a way to know how many you wrote so that System.Xml.Serialization.IXmlSerializable.ReadXml(System.Xml.XmlReader) knows how when to stop reading. There are three ways to do this: Method Example Write an initial count in the XML-instance document. The XmlWriter used to write the XML-document instance.


[9873] SoapAttributeAttribute class (System.Xml.Serialization)


[9874] WriteXml


[9875] Description


[9876] Specifies that the System.Xml.Serialization.XmlSerializer should serialize the class member as a SOAP attribute.


[9877] Apply the System.Xml.Serialization.SoapAttributeAttribute to a public field to specify that the System.Xml.Serialization.XmlSerializer serializes the field as a SOAP attribute. You can specify an an alternative name of the attribute by setting the System.Xml.Serialization.SoapAttributeAttribute.AttributeName property. Set the System.Xml.Serialization.SoapAttributeAttribute.DataType if the attribute must be given a specific type different from the field's type. If the attribute belongs to a specific XML namespace, set the System.Xml.Serialization.SoapAttributeAttribute.Namespace property.


[9878] SoapAttributeAttribute


[9879] Example Syntax:


[9880] WriteXml


[9881] [C#] public SoapAttributeAttribute( );


[9882] [C++] public: SoapAttributeAttribute( );


[9883] [VB] Public Sub New( )


[9884] [JScript] public function SoapAttributeAttribute( ); Initializes a new instance of the System.Xml.Serialization.SoapAttributeAttribute class.


[9885] Description


[9886] Initializes a new instance of the System.Xml.Serialization.SoapAttributeAttribute class.


[9887] SoapAttributeAttribute


[9888] Example Syntax:


[9889] WriteXml


[9890] [C#] public SoapAttributeAttribute(string attrName);


[9891] [C++] public: SoapAttributeAttribute(String* attrName);


[9892] [VB] Public Sub New(ByVal attrName As String)


[9893] [JScript] public function SoapAttributeAttribute(attrName : String);


[9894] Description


[9895] Initializes a new instance of the System.Xml.Serialization.SoapAttributeAttribute class using the specified value as the name of the XML attribute. The name of the XML attribute.


[9896] AttributeName


[9897] WriteXml


[9898] [C#] public string AttributeName {get; set;}


[9899] [C++] public: _property String* get_AttributeName( );public: _property void set_AttributeName(String*);


[9900] [VB] Public Property AttributeName As String


[9901] [JScript] public function get AttributeName( ) : String;public function set AttributeName(String);


[9902] Description


[9903] Gets or sets the name of the SOAP attribute generated by the System.Xml.Serialization.XmlSerializer.


[9904] DataType


[9905] WriteXml


[9906] [C#] public string DataType {get; set;}


[9907] [C++] public: _property String* get_DataType( );public: _property void set_DataType(String*);


[9908] [VB] Public Property DataType As String


[9909] [JScript] public function get DataType( ) : String;public function set DataType(String);


[9910] Description


[9911] Gets or sets the XML data type of the SOAP attribute generated by the System.Xml.Serialization.XmlSerializer.


[9912] Namespace


[9913] WriteXml


[9914] [C#] public string Namespace {get; set;}


[9915] [C++] public: _property String* get_Namespace( );public: _property void set_Namespace(String*);


[9916] [VB] Public Property Namespace As String


[9917] [JScript] public function get Namespace( ) : String;public function set Namespace(String);


[9918] Description


[9919] The XML namespace of the SOAP attribute generated by the System.Xml.Serialization.XmlSerializer


[9920] TypeId


[9921] SoapAttributeOverrides class (System.Xml.Serialization)


[9922] ToString


[9923] Description


[9924] Allows you to override property, field, and class attributes when you use the System.Xml.Serialization.XmlSerializer to serialize or deserialize an object using the SOAP protocol.


[9925] SoapAttributeOverrides


[9926] Example Syntax:


[9927] ToString


[9928] [C#] public SoapAttributeOverrides( );


[9929] [C++] public: SoapAttributeOverrides( );


[9930] [VB] Public Sub New( )


[9931] [JScript] public function SoapAttributeOverrides( );


[9932] Item


[9933] ToString


[9934] [C#] public SoapAttributes this[Type type] {get;}


[9935] [C++] public: _property SoapAttributes* get_Item(Type* type);


[9936] [VB] Public Default ReadOnly Property Item(ByVal type As Type) As SoapAttributes


[9937] [JScript] returnValue=SoapAttributeOverridesObject.Item(type); Gets an object that represents the collection of overriding SOAP attributes.


[9938] Description


[9939] Gets the object associated with the specified (base-class) type. The base-class System.Type that is associated with the collection of attributes you want to override.


[9940] Item


[9941] ToString


[9942] [C#] public SoapAttributes this[Type type, string member] {get;}


[9943] [C++] public: _property SoapAttributes* get_Item(Type* type, String* member);


[9944] [VB] Public Default ReadOnly Property Item(ByVal type As Type, ByVal member As String) As SoapAttributes


[9945] [JScript] returnValue=SoapAttributeOverridesObject.Item(type, member);


[9946] Description


[9947] Gets the object associated with the specified (base-class) type. The member parameter specifies the base-class member that is overridden. The base-class class System.Type that is associated with the collection of attributes you want to override. The name of the overridden member that specifies the System.Xml.Serialization.SoapAttributes to return.


[9948] Add


[9949] [C#] public void Add(Type type, SoapAttributes attributes);


[9950] [C++] public: void Add(Type* type, SoapAttributes* attributes);


[9951] [VB] Public Sub Add(ByVal type As Type, ByVal attributes As SoapAttributes)


[9952] [JScript] public function Add(type : Type, attributes : SoapAttributes); Adds a System.Xml.Serialization.SoapAttributes object to the collection of collection of System.Xml.Serialization.SoapAttributes objects.


[9953] Description


[9954] Adds a System.Xml.Serialization.SoapAttributes object to the collection of collection of System.Xml.Serialization.SoapAttributes objects. The type parameter specifies an object to be overridden by the System.Xml.Serialization.SoapAttributes object. The System.Type of the object that will be overridden. A System.Xml.Serialization.SoapAttributes object that represents the overriding attributes.


[9955] Add


[9956] [C#] public void Add(Type type, string member, SoapAttributes attributes);


[9957] [C++] public: void Add(Type* type, String* member, SoapAttributes* attributes);


[9958] [VB] Public Sub Add(ByVal type As Type, ByVal member As String, ByVal attributes As SoapAttributes)


[9959] [JScript] public function Add(type : Type, member : String, attributes : SoapAttributes);


[9960] Description


[9961] Adds a System.Xml.Serialization.SoapAttributes object to the collection of collection of System.Xml.Serialization.SoapAttributes objects. The type parameter specifies an object to be overridden by the System.Xml.Serialization.SoapAttributes object. The member parameter specifies the name of a member that will be overridden.


[9962] The System.Xml.Serialization.SoapAttributes object contains a union of attribute objects that cause the System.Xml.Serialization.XmlSerializer to override its default serialization behavior for a set of objects. You choose the attribute objects to place in the System.Xml.Serialization.SoapAttributes object, depending on the particular behaviors you want to override. For example, the System.Xml.Serialization.XmlSerializer serializes a class member as an XML element by default. If you want the member to be serialized as an System.Xml.Serialization.SoapAttribute instead, you would create an System.Xml.Serialization.SoapAttributeAttribute, assign it to the System.Xml.Serialization.SoapAttributes.SoapAttribute property of an System.Xml.Serialization.SoapAttributes, and add the System.Xml.Serialization.SoapAttributes object to the System.Xml.Serialization.XmlAttributeOverrides object. The System.Type of the object to override. The name of the member to override. An System.Xml.Serialization.SoapAttributes object that represents the overriding attributes.


[9963] SoapAttributes class (System.Xml.Serialization)


[9964] ToString


[9965] Description


[9966] Represents a collection of attribute objects that control how the System.Xml.Serialization.XmlSerializer serializes and deserializes SOAP methods.


[9967] SoapAttributes


[9968] Example Syntax:


[9969] ToString


[9970] [C#] public SoapAttributes( );


[9971] [C++] public: SoapAttributes( );


[9972] [VB] Public Sub New( )


[9973] [JScript] public function SoapAttributes( ); Initializes a new instance of the System.Xml.Serialization.SoapAttributes class.


[9974] Description


[9975] Initializes a new instance of the System.Xml.Serialization.SoapAttributes class.


[9976] SoapAttributes


[9977] Example Syntax:


[9978] ToString


[9979] [C#] public SoapAttributes(ICustomAttributeProvider provider);


[9980] [C++] public: SoapAttributes(ICustomAttributeProvider* provider);


[9981] [VB] Public Sub New(ByVal provider As ICustomAttributeProvider)


[9982] [JScript] public function SoapAttributes(provider : ICustomAttributeProvider);


[9983] Description


[9984] Initializes a new instance of the System.Xml.Serialization.SoapAttributes class using the specified custom type. Any object that implements the System.Reflection.ICustomAttributeProvider interface, such as the System.Type class.


[9985] SoapAttribute


[9986] ToString


[9987] [C#] public SoapAttributeAttribute SoapAttribute {get; set;}


[9988] [C++] public: _property SoapAttributeAttribute* get_SoapAttribute( );public: _property void set_SoapAttribute(SoapAttributeAttribute*);


[9989] [VB] Public Property SoapAttribute As SoapAttributeAttribute


[9990] [JScript] public function get SoapAttribute( ) : SoapAttributeAttribute;public function set SoapAttribute(SoapAttributeAttribute);


[9991] Description


[9992] Gets or set sthe System.Xml.Serialization.SoapAttributeAttribute to override.


[9993] SoapDefaultValue


[9994] ToString


[9995] [C#] public object SoapDefaultValue {get; set;}


[9996] [C++] public: _property Object* get_SoapDefaultValue( );public: _property void set_SoapDefaultValue(Object*);


[9997] [VB] Public Property SoapDefaultValue As Object


[9998] [JScript] public function get SoapDefaultValue( ) : Object;public function set SoapDefaultValue(Object);


[9999] Description


[10000] Gets or sets the default value of an XML element or attribute.


[10001] SoapElement


[10002] ToString


[10003] [C#] public SoapElementAttribute SoapElement {get; set;}


[10004] [C++] public: _property SoapElementAttribute* get_SoapElemento;public: _property void set_SoapElement(SoapElementAttribute*);


[10005] [VB] Public Property SoapElement As SoapElementAttribute


[10006] [JScript] public function get SoapElement( ) : SoapElementAttribute;public function set SoapElement(SoapElementAttribute);


[10007] Description


[10008] Gets or sets a System.Xml.Serialization.SoapElementAttribute to override.


[10009] SoapEnum


[10010] ToString


[10011] [C#] public SoapEnumAttribute SoapEnum {get; set;}


[10012] [C++] public: _property SoapEnumAttribute* get_SoapEnum( );public: _property void set_SoapEnum(SoapEnumAttribute*);


[10013] [VB] Public Property SoapEnum As SoapEnumAttribute


[10014] [JScript] public function get SoapEnum( ) : SoapEnumAttribute;public function set SoapEnum(SoapEnumAttribute);


[10015] Description


[10016] Gets or sets an object that specifies how the System.Xml.Serialization.XmlSerializer serializes a SOAP enumeration.


[10017] SoapIgnore


[10018] ToString


[10019] [C#] public bool SoapIgnore {get; set;}


[10020] [C++] public: _property bool get_SoapIgnore( );public: _property void set_SoapIgnore(bool);


[10021] [VB] Public Property SoapIgnore As Boolean


[10022] [JScript] public function get SoapIgnore( ) : Boolean;public function set SoapIgnore(Boolean);


[10023] Description


[10024] Gets or sets a value that specifies whether the XmlSerializer serializes a public field or property with SOAP.


[10025] SoapType


[10026] ToString


[10027] [C#] public SoapTypeAttribute SoapType {get; set;}


[10028] [C++] public: _property SoapTypeAttribute* get_SoapType( );public: _property void set_SoapType(SoapTypeAttribute*);


[10029] [VB] Public Property SoapType As SoapTypeAttribute


[10030] [JScript] public function get SoapType( ) : SoapTypeAttribute;public function set SoapType(SoapTypeAttribute);


[10031] Description


[10032] Gets or sets the SOAP attribute type.


[10033] SoapCodeExporter class (System.Xml.Serialization)


[10034] ToString


[10035] Description


[10036] SoapCodeExporter


[10037] Example Syntax:


[10038] ToString


[10039] [C#] public SoapCodeExporter(CodeNamespace codeNamespace);


[10040] [C++] public: SoapCodeExporter(CodeNamespace* codeNamespace);


[10041] [VB] Public Sub New(ByVal codeNamespace As CodeNamespace)


[10042] [JScript] public function SoapCodexporter(codeNamespace : CodeNamespace);


[10043] Description


[10044] SoapCodeExporter


[10045] Example Syntax:


[10046] ToString


[10047] [C#] public SoapCodeExporter(CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit);


[10048] [C++] public: SoapCodeExporter(CodeNamespace* codeNamespace, CodeCompileUnit* codeCompileUnit);


[10049] [VB] Public Sub New(ByVal codeNamespace As CodeNamespace, ByVal codeCompileUnit As CodeCompileUnit)


[10050] [JScript] public function SoapCodeExporter(codeNamespace : CodeNamespace, codeCompileUnit : CodeCompileUnit);


[10051] IncludeMetadata


[10052] ToString


[10053] [C#] public CodeAttributeDeclarationCollection IncludeMetadata {get;}


[10054] [C++] public: _property CodeAttributeDeclarationCollection* get_IncludeMetadata( );


[10055] [VB] Public ReadOnly Property IncludeMetadata As CodeAttributeDeclarationCollection


[10056] [JScript] public function get IncludeMetadata( ): CodeAttributeDeclarationCollection;


[10057] Description


[10058] AddMappingMetadata


[10059] [C#] public void AddMappingMetadata(CodeAttributeDeclarationCollection metadata, XmlMemberMapping member);


[10060] [C++] public: void AddMappingMetadata(CodeAttributeDeclarationCollection* metadata, XmlMemberMapping* member);


[10061] [VB] Public Sub AddMappingMetadata(ByVal metadata As CodeAttributeDeclarationCollection, ByVal member As XmlMemberMapping)


[10062] [JScript] public function AddMappingMetadata(metadata : CodeAttributeDeclarationCollection, member : XmlMemberMapping);


[10063] Description


[10064] AddMappingMetadata


[10065] [C#] public void AddMappingMetadata(CodeAttributeDeclarationCollection metadata, XmlMemberMapping member, bool forceUseMemberName);


[10066] [C++] public: void AddMappingMetadata(CodeAttributeDeclarationCollection* metadata, XmlMemberMapping* member, bool forceUseMemberName);


[10067] [VB] Public Sub AddMappingMetadata(ByVal metadata As CodeAttributeDeclarationCollection, ByVal member As XmlMemberMapping, ByVal forceUseMemberName As Boolean)


[10068] [JScript] public function AddMappingMetadata(metadata : CodeAttributeDeclarationCollection, member : XmlMemberMapping, forceUseMemberName : Boolean);


[10069] Description


[10070] ExportMembersMapping


[10071] [C#] public void ExportMembersMapping(XmlMembersMapping xmlMembersMapping);


[10072] [C++] public: void ExportMembersMapping(XmlMembersMapping* xmlMembersMapping);


[10073] [VB] Public Sub ExportMembersMapping(ByVal xmlMembersMapping As XmlMembersMapping)


[10074] [JScript] public function ExportMembersMapping(xmlMembersMapping : XmlMembersMapping);


[10075] Description


[10076] ExportTypeMapping


[10077] [C#] public void ExportTypeMapping(XmlTypeMapping xmlTypeMapping);


[10078] [C++] public: void ExportTypeMapping(XmlTypeMapping* xmlTypeMapping);


[10079] [VB] Public Sub ExportTypeMapping(ByVal xmlTypeMapping As XmlTypeMapping)


[10080] [JScript] public function ExportTypeMapping(xmlTypeMapping : XmlTypeMapping);


[10081] Description


[10082] SoapElementAttribute class (System.Xml.Serialization)


[10083] ToString


[10084] Description


[10085] Specifies that the public member value be serialized by the System.Xml.Serialization.XmlSerializer using the Simple Access Object Protocol (SOAP) as a SOAP element.


[10086] The SoapElementAttribute is used in two cases. First, it can be applied to public member of a class when creating an .asmx file. Second, you can apply the attribute to members in a class that is serialized by an XmlSerializer object.


[10087] SoapElementAttribute


[10088] Example Syntax:


[10089] ToString


[10090] [C#] public SoapElementAttribute( );


[10091] [C++] public: SoapElementAttribute( );


[10092] [VB] Public Sub New( )


[10093] [JScript] public function SoapElementAttribute( ); Initializes a new instance of the System.Xml.Serialization.SoapElementAttribute class.


[10094] Description


[10095] Initializes a new instance of the System.Xml.Serialization.SoapElementAttribute class.


[10096] SoapElementAttribute


[10097] Example Syntax:


[10098] ToString


[10099] [C#] public SoapElementAttribute(string elementName);


[10100] [C++] public: SoapElementAttribute(String* elementName);


[10101] [VB] Public Sub New(ByVal elementName As String)


[10102] [JScript] public function SoapElementAttribute(elementName : String);


[10103] Description


[10104] Initializes a new instance of the System.Xml.Serialization.SoapElementAttribute class and species the name of the XML element. The XML-element name of the serialized member.


[10105] DataType


[10106] ToString


[10107] [C#] public string DataType {get; set;}


[10108] [C++] public: _property String* get_DataType( );public: _property void set_DataType(String*);


[10109] [VB] Public Property DataType As String


[10110] [JScript] public function get DataType( ) : String;public function set


[10111] DataType(String);


[10112] Description


[10113] Gets or sets the XML data type of the generated XML element.


[10114] The following table lists the XML data types with their NET equivalents. For the XML date and time data types, the .NET data type consists of a System.DateTime to which the System.Xml.Serialization.SoapElementAttribute has been applied with the System.Xml.Serialization.SoapElementAttribute.DataType set to “date” and “time”, respectively.


[10115] ElementName


[10116] ToString


[10117] [C#] public string ElementName {get; set;}


[10118] [C++] public: _property String* get_ElementName( );public: _property void set_ElementName(String*);


[10119] [VB] Public Property ElementName As String


[10120] [JScript] public function get ElementName( ) : String;public function set ElementName(String);


[10121] Description


[10122] Gets or sets the name of the generated XML element.


[10123] IsNullable


[10124] ToString


[10125] [C#] public bool IsNullable {get; set;}


[10126] [C++] public: _property bool get_IsNullable( );public: _property void set_IsNullable(bool);


[10127] [VB] Public Property IsNullable As Boolean


[10128] [JScript] public function get IsNullable( ) : Boolean;public function set IsNullable(Boolean);


[10129] TypeId


[10130] SoapEnumAttribute class (System.Xml.Serialization)


[10131] ToString


[10132] Description


[10133] Controls how the System.Xml.Serialization.XmlSerializer serializes an enumeration member.


[10134] SoapEnumAttribute


[10135] Example Syntax:


[10136] ToString


[10137] [C#] public SoapEnumAttribute( );


[10138] [C++] public: SoapEnumAttribute( );


[10139] [VB] Public Sub New( )


[10140] [JScript] public function SoapEnumAttribute( ); Initializes a new instance of the System.Xml.Serialization.SoapEnumAttribute class.


[10141] Description


[10142] Initializes a new instance of the System.Xml.Serialization.SoapEnumAttribute class.


[10143] SoapEnumAttribute


[10144] Example Syntax:


[10145] ToString


[10146] [C#] public SoapEnumAttribute(string name);


[10147] [C++] public: SoapEnumAttribute(String* name);


[10148] [VB] Public Sub New(ByVal name As String)


[10149] [JScript] public function SoapEnumAttribute(name : String);


[10150] Description


[10151] Initializes a new instance of the System.Xml.Serialization.SoapEnumAttribute class, using the specified element name. The XML element name generated by the System.Xml.Serialization.XmlSerializer.


[10152] Name


[10153] ToString


[10154] [C#] public string Name {get; set;}


[10155] [C++] public: _property String* get_Name( );public: _property void set_Name(String*);


[10156] [VB] Public Property Name As String


[10157] [JScript] public function get Name( ) : String;public function set Name(String);


[10158] Description


[10159] Gets or sets the value generated in an XML-document instance when the System.Xml.Serialization.XmlSerializer serializes an enumeration, or the value recognized when it deserializes the enumeration member.


[10160] TypeId


[10161] SoapIgnoreAttribute class (System.Xml.Serialization)


[10162] ToString


[10163] Description


[10164] Instructs the System.Xml.Serialization.XmlSerializer not to serialize the public field or public read/write property value.


[10165] The System.Xml.Serialization.SoapIgnoreAttribute belongs to a family of attributes that controls how the System.Xml.Serialization.XmlSerializer. serializes, or deserializes, an object. If you apply the System.Xml.Serialization.SoapIgnoreAttribute to any member of a class, the System.Xml.Serialization.XmlSerializer ignores the member when serializing or deserializing an instance of the class. For a complete list of similar attributes, see the System.Xml.Serialization.XmlSerializer class.


[10166] SoapIgnoreAttribute


[10167] Example Syntax:


[10168] ToString


[10169] [C#] public SoapIgnoreAttribute( );


[10170] [C++] public: SoapIgnoreAttribute( );


[10171] [VB] Public Sub New( )


[10172] [JScript] public function SoapIgnoreAttribute( );


[10173] Description


[10174] Initializes a new instance of the System.Xml.Serialization.SoapIgnoreAttribute class.


[10175] TypeId


[10176] SoapIncludeAttribute class (System.Xml.Serialization)


[10177] ToString


[10178] Description


[10179] Allows the System.Xml.Serialization.XmlSerializer to recognize a derived class when it serializes or deserializes an object.


[10180] SoapIncludeAttribute


[10181] Example Syntax:


[10182] ToString


[10183] [C#] public SoapIncludeAttribute(Type type);


[10184] [C++] public: SoapIncludeAttribute(Type* type);


[10185] [VB] Public Sub New(ByVal type As Type)


[10186] [JScript] public function SoapIncludeAttribute(type : Type);


[10187] Description


[10188] Initializes a new instance of the System.Xml.Serialization.SoapIncludeAttribute class using the specified type. The System.Type of the derived class to include.


[10189] Type


[10190] ToString


[10191] [C#] public Type Type {get; set;}


[10192] [C++] public: _property Type* get_Type( );public: _property void set_Type(Type*);


[10193] [VB] Public Property Type As Type


[10194] [JScript] public function get Type( ) : Type;public function set Type(Type);


[10195] Description


[10196] Gets or sets the type of the derived class that should be used when serializing or deserializing an object.


[10197] TypeId


[10198] SoapReflectionImporter class (System.Xml.Serialization)


[10199] ToString


[10200] Description


[10201] SoapReflectionImporter


[10202] Example Syntax:


[10203] ToString


[10204] [C#] public SoapReflectionImporter( );


[10205] [C++] public: SoapReflectionImporter( );


[10206] [VB] Public Sub New( )


[10207] [JScript] public function SoapReflectionImporter( );


[10208] Description


[10209] SoapReflectionImporter


[10210] Example Syntax:


[10211] ToString


[10212] [C#] public SoapReflectionImporter(SoapAttributeOverrides attributeOverrides);


[10213] [C++] public: SoapReflectionImporter(SoapAttributeOverrides* attributeOverrides);


[10214] [VB] Public Sub New(ByVal attributeOverrides As SoapAttributeOverrides)


[10215] [JScript] public function SoapReflectionImporter(attributeOverrides : SoapAttributeOverrides);


[10216] Description


[10217] SoapReflectionImporter


[10218] Example Syntax:


[10219] ToString


[10220] [C#] public SoapReflectionImporter(string defaultNamespace);


[10221] [C++] public: SoapReflectionImporter(String* defaultnamespace);


[10222] [VB] Public Sub New(ByVal defaultNamespace As String)


[10223] [JScript] public function SoapReflectionImporter(defaultNamespace : String);


[10224] Description


[10225] SoapReflectionImporter


[10226] Example Syntax:


[10227] ToString


[10228] [C#] public SoapReflectionImporter(SoapAttributeOverrides attributeOverrides, string defaultNamespace);


[10229] [C++] public: SoapReflectionImporter(SoapAttributeOverrides* attributeOverrides, String* defaultNamespace);


[10230] [VB] Public Sub New(ByVal attributeOverrides As SoapAttributeOverrides, ByVal defaultNamespace As String)


[10231] [JScript] public function SoapReflectionImporter(attributeOverrides : SoapAttributeOverrides, defaultNamespace : String);


[10232] Description


[10233] ImportMembersMapping


[10234] [C#] public XmlMembersMapping ImportMembersMapping(string elementName, string ns, XmlReflectionMember[ ] members);


[10235] [C++] public: XmlMembersMapping* ImportMembersMapping(String* elementName, String* ns, XmlReflectionMember* members[ ]);


[10236] [VB] Public Function ImportMembersMapping(ByVal elementName As String, ByVal ns As String, ByVal members( ) As XmlReflectionMember) As XmlMembersMapping


[10237] [JScript] public function ImportMembersMapping(elementName: String, ns : String, members : XmlReflectionMember[ ]): XmlMembersMapping;


[10238] Description


[10239] ImportMembersMapping


[10240] [C#] public XmlMembersMapping ImportMembersMapping(string elementName, string ns, XmlReflectionMember[ ] members, bool hasWrapperElement, bool writeAccessors);


[10241] [C++] public: XmlMembersMapping* ImportMembersMapping(String* elementName, String* ns, XmlReflectionMember* members[ ], bool hasWrapperElement, bool writeAccessors);


[10242] [VB] Public Function ImportMembersMapping(ByVal elementName As String, ByVal ns As String, ByVal memberso As XmlReflectionMember, ByVal hasWrapperElement As Boolean, ByVal writeAccessors As Boolean) As XmlMembersMapping


[10243] [JScript] public function ImportMembersMapping(elementName : String, ns : String, members : XmlReflectionMember[ ], hasWrapperElement : Boolean, writeAccessors : Boolean) : XmlMembersMapping;


[10244] Description


[10245] ImportMembersMapping


[10246] [C#] public XmlMembersMapping ImportMembersMapping(string elementName, string ns, XmlReflectionMember[ ] members, bool hasWrapperElement, bool writeAccessors, bool validate);


[10247] [C++] public: XmlMembersMapping* ImportMembersMapping(String* elementName, String* ns, XmlReflectionMember* members[ ], bool hasWrapperElement, bool writeAccessors, bool validate);


[10248] [VB] Public Function ImportMembersMapping(ByVal elementName As String, ByVal ns As String, ByVal memberso As XmlReflectionMember, ByVal hasWrapperElement As Boolean, ByVal writeAccessors As Boolean, ByVal validate As Boolean) As XmlMembersMapping


[10249] [JScript] public function ImportMembersMapping(elementName : String, ns : String, members : XmlReflectionMember[ ], hasWrapperElement: Boolean, writeAccessors : Boolean, validate: Boolean) : XmlMembersMapping;


[10250] ImportTypeMapping


[10251] [C#] public XmlTypeMapping ImportTypeMapping(Type type);


[10252] [C++] public: XmlTypeMapping* ImportTypeMapping(Type* type);


[10253] [VB] Public Function ImportTypeMapping(ByVal type As Type) As XmlTypeMapping


[10254] [JScript] public function ImportTypeMapping(type : Type) : XmlTypeMapping;


[10255] Description


[10256] ImportTypeMapping


[10257] [C#] public XmlTypeMapping ImportTypeMapping(Type type, string defaultNamespace);


[10258] [C++] public: XmlTypeMapping* ImportTypeMapping(Type* type, String* defaultNamespace);


[10259] [VB] Public Function ImportTypeMapping(ByVal type As Type, ByVal defaultNamespace As String) As XmlTypeMapping


[10260] [JScript] public function ImportTypeMapping(type : Type, defaultNamespace : String) : XmlTypeMapping;


[10261] Description


[10262] IncludeType


[10263] [C#] public void IncludeType(Type type);


[10264] [C++] public: void IncludeType(Type* type);


[10265] [VB] Public Sub IncludeType(ByVal type As Type)


[10266] [JScript] public function IncludeType(type : Type);


[10267] Description


[10268] IncludeTypes


[10269] [C#] public void IncludeTypes(ICustomAttributeProvider provider);


[10270] [C++] public: void IncludeTypes(ICustomAttributeProvider* provider);


[10271] [VB] Public Sub IncludeTypes(ByVal provider As ICustomAttributeProvider)


[10272] [JScript] public function IncludeTypes(provider : ICustomAttributeProvider);


[10273] Description


[10274] SoapSchemaExporter class (System.Xml.Serialization)


[10275] ToString


[10276] Description


[10277] SoapSchemaExporter


[10278] Example Syntax:


[10279] ToString


[10280] [C#] public SoapSchemaExporter(XmlSchemas schemas);


[10281] [C++] public: SoapSchemaExporter(XmlSchemas* schemas);


[10282] [VB] Public Sub New(ByVal schemas As XmlSchemas)


[10283] [JScript] public function SoapSchemaExporter(schemas : XmlSchemas);


[10284] Description


[10285] ExportMembersMapping


[10286] [C#] public void ExportMembersMapping(XmlMembersMapping xmlMembersMapping);


[10287] [C++] public: void ExportMembersMapping(XmlMembersMapping* xmlMembersMapping);


[10288] [VB] Public Sub ExportMembersMapping(ByVal xmlMembersMapping As XmlMembersMapping)


[10289] [JScript] public function ExportMembersMapping(xmlMembersMapping : XmlMembersMapping);


[10290] Description


[10291] ExportMembersMapping


[10292] [C#] public void ExportMembersMapping(XmlMembersMapping xmlMembersMapping, bool exportEnclosingType);


[10293] [C++] public: void ExportMembersMapping(XmlMembersMapping* xmlMembersMapping, bool exportEnclosingType);


[10294] [VB] Public Sub ExportMembersMapping(ByVal xmlMembersMapping As XmlMembersMapping, ByVal exportEnclosingType As Boolean)


[10295] [JScript] public function ExportMembersMapping(xmlMembersMapping : XmlMembersMapping, exportEnclosingType : Boolean);


[10296] ExportTypeMapping


[10297] [C#] public void ExportTypeMapping(XmlTypeMapping xmlTypeMapping);


[10298] [C++] public: void ExportTypeMapping(XmlTypeMapping* xmlTypeMapping);


[10299] [VB] Public Sub ExportTypeMapping(ByVal xmlTypeMapping As XmlTypeMapping)


[10300] [JScript] public function ExportTypeMapping(xmlTypeMapping : XmlTypeMapping);


[10301] SoapSchemaImporter class (System.Xml.Serialization)


[10302] ToString


[10303] Description


[10304] SoapSchemaImporter


[10305] Example Syntax:


[10306] ToString


[10307] [C#] public SoapSchemaImporter(XmlSchemas schemas);


[10308] [C++] public: SoapSchemaImporter(XmlSchemas* schemas);


[10309] [VB] Public Sub New(ByVal schemas As XmlSchemas)


[10310] [JScript] public function SoapSchemaImporter(schemas : XmlSchemas);


[10311] Description


[10312] SoapSchemaImporter


[10313] Example Syntax:


[10314] ToString


[10315] [C#] public SoapSchemaimporter(XmlSchemas schemas, CodeIdentifiers typeIdentifiers);


[10316] [C++] public: SoapSchemaImporter(XmlSchemas* schemas, CodeIdentifiers* typeIdentifiers);


[10317] [VB] Public Sub New(ByVal schemas As XmlSchemas, ByVal typeIdentifiers As CodeIdentifiers)


[10318] [JScript] public function SoapSchemaImporter(schemas : XmlSchemas, typeIdentifiers : CodeIdentifiers);


[10319] Description


[10320] ImportDerivedTypeMapping


[10321] [C#] public XmlTypeMapping ImportDerivedTypeMapping(XmlQualifiedName name, Type baseType, bool baseTypeCanBeIndirect);


[10322] [C++] public: XmlTypeMapping* ImportDerivedTypeMapping(XmlQualifiedName* name, Type* baseType, bool baseTypeCanBeIndirect);


[10323] [VB] Public Function ImportDerivedTypeMapping(ByVal name As XmlQualifiedName, ByVal baseType As Type, ByVal baseTypeCanBeIndirect As Boolean) As XmlTypeMapping


[10324] [JScript] public function ImportDerivedTypeMapping(name : XmlQualifiedName, baseType : Type, baseTypeCanBeIndirect : Boolean) : XmlTypeMapping;


[10325] Description


[10326] ImportMembersMapping


[10327] [C#] public XmlMembersMapping ImportMembersMapping(string name, string ns, SoapSchemaMember member);


[10328] [C++] public: XmlMembersMapping* ImportMembersMapping(String* name, String* ns, SoapSchemaMember* member);


[10329] [VB] Public Function ImportMembersMapping(ByVal name As String, ByVal ns As String, ByVal member As SoapSchemaMember) As XmlMembersMapping


[10330] [JScript] public function ImportMembersMapping(name : String, ns : String, member : SoapSchemaMember) : XmlMembersMapping;


[10331] Description


[10332] ImportMembersMapping


[10333] [C#] public XmlMembersMapping ImportMembersMapping(string name, string ns, SoapSchemaMember[ ] members);


[10334] [C++] public: XmlMembersMapping* ImportMembersMapping(String* name, String* ns, SoapSchemaMember* members[ ]);


[10335] [VB] Public Function ImportMembersMapping(ByVal name As String, ByVal ns As String, ByVal members( ) As SoapSchemaMember) As XmlMembersMapping


[10336] [JScript] public function ImportMembersMapping(name : String, ns : String, members : SoapSchemaMember[ ]) : XmlMembersMapping;


[10337] Description


[10338] ImportMembersMapping


[10339] [C#] public XmlMembersMapping ImportMembersMapping(string name, string ns, SoapSchemaMember[ ] members, bool hasWrapperElement);


[10340] [C++] public: XmlMembersMapping* ImportMembersMapping(String* name, String* ns, SoapSchemaMember* members[ ], bool hasWrapperElement);


[10341] [VB] Public Function ImportMembersMapping(ByVal name As String, ByVal ns As String, ByVal memberso As SoapSchemaMember, ByVal hasWrapperElement As Boolean) As XmlMembersMapping


[10342] [JScript] public function ImportMembersMapping(name : String, ns : String, members : SoapSchemaMember[ ], hasWrapperElement : Boolean) : XmlMembersMapping;


[10343] Description


[10344] ImportMembersMapping


[10345] [C#] public XmlMembersMapping ImportMembersMapping(string name, string ns, SoapSchemaMember[ ] members, bool hasWrapperElement, Type baseType, bool baseTypeCanBeIndirect);


[10346] [C++] public: XmlMembersMapping* ImportMembersMapping(String* name, String* ns, SoapSchemaMember* members[ ], bool hasWrapperElement, Type* baseType, bool baseTypeCanBeIndirect);


[10347] [VB] Public Function ImportMembersMapping(ByVal name As String, ByVal ns As String, ByVal members( ) As SoapSchemaMember, ByVal hasWrapperElement As Boolean, ByVal baseType As Type, ByVal baseTypeCanBeIndirect As Boolean) As XmlMembersMapping


[10348] [JScript] public function ImportMembersMapping(name : String, ns : String, members : SoapSchemaMember[ ], hasWrapperElement : Boolean, baseType : Type, baseTypeCanBeIndirect : Boolean) : XmlMembersMapping;


[10349] SoapSchemaMember class (System.Xml.Serialization)


[10350] ToString


[10351] Description


[10352] SoapSchemaMember


[10353] Example Syntax:


[10354] ToString


[10355] [C#3 public SoapSchemaMember( );


[10356] [C++] public: SoapSchemaMember( );


[10357] [VB] Public Sub New( )


[10358] [JScript] public function SoapSchemaMember( );


[10359] MemberName


[10360] ToString


[10361] [C#] public string MemberName {get; set;}


[10362] [C++] public: _property String* get_MemberName( );public: _property void set_MemberName(String*);


[10363] [VB] Public Property MemberName As String


[10364] [JScript] public function get MemberName( ) : String;public function set MemberName(String);


[10365] Description


[10366] MemberType


[10367] ToString


[10368] [C#] public XmlQualifiedName MemberType {get; set;}


[10369] [C++] public: _property XmlQualifiedName* get_MemberType( );public: _property void set_MemberType(XmlQualifiedName*);


[10370] [VB] Public Property MemberType As XmlQualifiedName


[10371] [JScript] public function get MemberType( ) : XmlQualifiedName;public function set MemberType(XmlQualifiedName);


[10372] Description


[10373] SoapTypeAttribute class (System.Xml.Serialization)


[10374] ToString


[10375] Description


[10376] Specifies that the class should be serialized by the XmlSerializer as a complex type XML element.


[10377] The System.Xml.Serialization.SoapTypeAttribute belongs to a family of attributes that controls how the System.Xml.Serialization.XmlSerializer serializes or deserializes an object. For a complete list of similar attributes, see the System.Xml.Serialization.XmlSerializer class.


[10378] SoapTypeAttribute


[10379] Example Syntax:


[10380] ToString


[10381] [C#] public SoapTypeAttribute( );


[10382] [C++] public: SoapTypeAttribute( );


[10383] [VB] Public Sub New( )


[10384] [JScript] public function SoapTypeAttribute( ); Initializes a new instance of the System.Xml.Serialization.SoapTypeAttribute class.


[10385] Description


[10386] Initializes a new instance of the System.Xml.Serialization.SoapTypeAttribute class.


[10387] SoapTypeAttribute


[10388] Example Syntax:


[10389] ToString


[10390] [C+] public SoapTypeAttribute(string typeName);


[10391] [C++] public: SoapTypeAttribute(String* typeName);


[10392] [VB] Public Sub New(ByVal typeName As String)


[10393] [JScript] public function SoapTypeAttribute(typeName : String);


[10394] Description


[10395] Initializes a new instance of the System.Xml.Serialization.SoapTypeAttribute class specifying the name of the XML type.


[10396] SoapTypeAttribute


[10397] Example Syntax:


[10398] ToString


[10399] [C#] public SoapTypeAttribute(string typeName, string ns);


[10400] [C++] public: SoapTypeAttribute(String* typeName, String* ns);


[10401] [VB] Public Sub New(ByVal typeName As String, ByVal ns As String)


[10402] [JScript] public function SoapTypeAttribute(typeName : String, ns : String);


[10403] Description


[10404] Initializes a new instance of the System.Xml.Serialization.SoapTypeAttribute class specifying the name, and XML namespace, of the type.


[10405] IncludeInSchema


[10406] ToString


[10407] [C#] public bool IncludeInSchema {get; set;}


[10408] [C++] public: _property bool get_IncludeInSchema( );public: _property void set_IncludeInSchema(bool);


[10409] [VB] Public Property IncludeInSchema As Boolean


[10410] [JScript] public function get IncludeInSchema( ) : Boolean;public function set IncludeInSchema(Boolean);


[10411] Description


[10412] Gets or sets a value indicating whether to include the type in SOAP-encoded XML schema documents.


[10413] Apply the System.Xml.Serialization.SoapTypeAttribute to a class to specify the XML type's namespace, the XML type name, and whether to include the type in the XML schema document. To see the results of setting the System.Xml.Serialization.XmlTypeAttribute class's properties, compile your application as an executable or DLL, and pass the resulting file to the XML Schema Definition tool (XSD.exe). The tool writes the schema—including the type definition.


[10414] Namespace


[10415] ToString


[10416] [C#] public string Namespace {get; set;}


[10417] [C++] public: _property String* get_Namespace( );public: _property void set_Namespace(String*);


[10418] [VB] Public Property Namespace As String


[10419] [JScript] public function get Namespace( ) : String;public function set Namespace(String);


[10420] Description


[10421] Gets or sets the namespace of the XML type.


[10422] TypeId


[10423] TypeName


[10424] ToString


[10425] Description


[10426] Gets or sets the name of the XML type.


[10427] UnreferencedObjectEventArgs class (System.Xml.Serialization)


[10428] ToString


[10429] UnreferencedObjectEventArgs


[10430] Example Syntax:


[10431] ToString


[10432] UnreferencedId


[10433] ToString


[10434] UnreferencedObject


[10435] ToString


[10436] UnreferencedObjectEventHandler delegate (System.Xml.Serialization)


[10437] ToString


[10438] XmlAnyAttributeAttribute class (System.Xml.Serialization)


[10439] ToString


[10440] Description


[10441] Specifies that the member, usually a field that returns an array, captures all XML attributes found in a XML document.


[10442] The System.Xml.Serialization.XmlAnyAttributeAttribute can be applied to a field, parameter, property, or return value of type System.Xml.XmlElement or System.Xml.XmlNode.


[10443] XmlAnyAttributeAttribute


[10444] Example Syntax:


[10445] ToString


[10446] [C#] public XmlAnyAttributeAttribute( );


[10447] [C++] public: XmlAnyAttributeAttribute( );


[10448] [VB] Public Sub New( )


[10449] [JScript] public function XmlAnyAttributeAttribute( ); Constructs a new instance of the System.Xml.Serialization.XmlAnyAttributeAttribute class.


[10450] Description


[10451] Constructs a new instance of the System.Xml.Serialization.XmlAnyAttributeAttribute class.


[10452] XmlAnyAttributeAttfribute


[10453] Example Syntax:


[10454] ToString


[10455] [C#] public XmlAnyAttributeAttribute(string name);


[10456] [C++] public: XmniAnyAttributeAttribute(String* name);


[10457] [VB] Public Sub New(ByVal name As String)


[10458] [JScript] public function XmlAnyAttributeAttribute(name : String);


[10459] Description


[10460] Constructs a new instance of the System.Xml.Serialization.XmlAnyAttributeAttribute class using the specified name. The name of the XML attribute.


[10461] XmlAnyAttributeAttribute


[10462] Example Syntax:


[10463] ToString


[10464] [C#] public XmlAnyAttributeAttribute(string name, string ns);


[10465] [C++] public: XmlAnyAttributeAttribute(String* name, String* ns);


[10466] [VB] Public Sub New(ByVal name As String, ByVal ns As String)


[10467] [JScript] public function XmlAnyAttributeAttribute(name : String, ns : String);


[10468] Description


[10469] Constructs a new instance of the System.Xml.Serialization.XmlAnyAttributeAttribute class; specifies the name and namespace to be generated in the XML document. The name of the XML attribute. The XML namespace of the XML attribute.


[10470] Name


[10471] ToString


[10472] [C#] public string Name {get; set;}


[10473] [C++] public: _property String* get_Name( );public: _property void set_Name(String*);


[10474] [VB] Public Property Name As String


[10475] [JScript] public function get Name( ) : String;public function set Name(String);


[10476] Description


[10477] Gets or sets the name of the XML attribute generated in the XML document.


[10478] Namespace


[10479] ToString


[10480] [C#] public string Namespace {get; set;}


[10481] [C++] public: _property String* get_Namespace( );public: _property void set_Namespace(String*);


[10482] [VB] Public Property Namespace As String


[10483] [JScript] public function get Namespace( ) : String;public function set Namespace(String);


[10484] Description


[10485] Gets or sets the XML namespace of the XML attribute generated in the XML document.


[10486] TypeId


[10487] XmlAnyElementAttribute class (System.Xml.Serialization)


[10488] ToString


[10489] Description


[10490] Specifies that the member, usually a field that returns an array, captures all XML elements found in a XML document being deserialized.


[10491] Apply the System.Xml.Serialization.XmlAnyElementAttribute to a field that returns an array of System.Xml.XmlElement objects.


[10492] XmlAnyElementAttribute


[10493] Example Syntax:


[10494] ToString


[10495] [C#] public XmlAnyElementAttribute( );


[10496] [C++] public: XmlAnyElementAttribute( );


[10497] [VB] Public Sub New( )


[10498] [J Script] public function XmlAnyElementAttribute( ); Initializes a new instance of the System.Xml.Serialization.XmlAnyElementAttribute class.


[10499] Description


[10500] Initializes a new instance of the System.Xml.Serialization.XmlAnyElementAttribute class.


[10501] XmlAnyElementAttribute


[10502] Example Syntax:


[10503] ToString


[10504] [C#] public XmlAnyElementAttribute(string name);


[10505] [C++] public: XmlAnyElementAttribute(String* name);


[10506] [VB] Public Sub New(ByVal name As String)


[10507] [JScript] public function XmlAnyElementAttribute(name : String);


[10508] Description


[10509] Initializes a new instance of the System.Xml.Serialization.XmlAnyElementAttribute class; specifies the XML element name generated in the XML-document instance. The name of the XML element that the System.Xml.Serialization.XmlSerializer generates.


[10510] XmlAnyElementAttribute


[10511] Example Syntax:


[10512] ToString


[10513] [C#] public XmlAnyElementAttribute(string name, string ns);


[10514] [C++] public: XmlAnyElementAttribute(string* name, String* ns);


[10515] [VB] Public Sub New(ByVal name As String, ByVal ns As String)


[10516] [JScript] public function XmlAnyElementAttribute(name : String, ns: String);


[10517] Description


[10518] Initializes a new instance of the System.Xml.Serialization.XmlAnyElementAttribute class; specifies the XML element name generated in the XML-document instance and its XML namespace. The name of the XML element that the System.Xml.Serialization.XmlSerializer generates. The XML namespace of the XML element.


[10519] Name


[10520] ToString


[10521] [C#] public string Name {get; set;}


[10522] [C++] public: _property String* get_Name( );public: _property void set_Name(String*);


[10523] [VB] Public Property Name As String


[10524] [JScript] public function get Name( ) : String;public function set Name(String);


[10525] Description


[10526] Gets or sets the XML element name.


[10527] Namespace


[10528] ToString


[10529] [C#] public string Namespace {get; set;}


[10530] [C++] public: _property String* get_Namespace( );public: _property void set_Namespace(String*);


[10531] [VB] Public Property Namespace As String


[10532] [JScript] public function get Namespace( ) : String;public function set Namespace(String);


[10533] Description


[10534] Gets or sets the XML namespace generated in the XML document.


[10535] TypeId


[10536] XmlAnyElementAttributes class (System.Xml.Serialization)


[10537] ToString


[10538] Description


[10539] Represents a collection of System.Xml.Serialization.XmlAnyElementAttribute objects.


[10540] Use the System.Xml.Serialization.XmlAnyElementAttributes to override the behavior of a set of System.Xml.Serialization.XmlAnyElementAttribute objects.


[10541] XmlAnyElementAttributes


[10542] Example Syntax:


[10543] ToString


[10544] [C#] public XmlAnyElementAttributes( );


[10545] [C++] public: XmlAnyElementAttributes( );


[10546] [VB] Public Sub New( )


[10547] [JScript] public function XmlAnyElementAttributes( );


[10548] Count


[10549] InnerList


[10550] Item


[10551] ToString


[10552] Description


[10553] Gets or sets the System.Xml.Serialization.XmlAnyElementAttribute at the specified index. The index of the System.Xml.Serialization.XmlAnyElementAttribute.


[10554] List


[10555] Add


[10556] [C#] public int Add(XmlAnyElementAttribute attribute);


[10557] [C++] public: int Add(XmlAnyElementAttribute* attribute);


[10558] [VB] Public Function Add(ByVal attribute As XmlAnyElementAttribute) As Integer


[10559] [JScript] public function Add(attribute : XmlAnyElementAttribute) : int;


[10560] Description


[10561] Adds an System.Xml.Serialization.XmlAnyElementAttribute to the collection.


[10562] Return Value: The index of the newly added System.Xml.Serialization.XmlAnyElementAttribute. The System.Xml.Serialization.XmlAnyElementAttribute to add.


[10563] Contains


[10564] [C#] public bool Contains(XmlAnyElementAttribute attribute);


[10565] [C++] public: bool Contains(XmlAnyElementAttribute* attribute);


[10566] [VB] Public Function Contains(ByVal attribute As XmlAnyElementAttribute) As Boolean


[10567] [JScript] public function Contains(attribute : XmlAnyElementAttribute) : Boolean;


[10568] Description


[10569] Gets a value indicating whether the specified System.Xml.Serialization.XmlAnyElementAttribute exists in the collection. Return Value: true if the System.Xml.Serialization.XmlAnyElementAttribute exists in the collection; otherwise, false. The System.Xml.Serialization.XmlAnyElementAttribute you are interested in.


[10570] CopyTo


[10571] [C#] public void CopyTo(XmlAnyElementAttribute[ ] array, int index);


[10572] [C++] public: void CopyTo(XmlAnyElementAttribute* array[ ], int index);


[10573] [VB] Public Sub CopyTo(ByVal array( ) As XmlAnyElementAttribute, ByVal index As Integer)


[10574] [JScript] public function CopyTo(array : XmlAnyElementAttribute[ ], index : int);


[10575] Description


[10576] IndexOf


[10577] [C#] public int IndexOf(XmlAnyElementAttribute attribute);


[10578] [C++] public: int IndexOf(XmlAnyElementAttribute* attribute);


[10579] [VB] Public Function IndexOf(ByVal attribute As XmlAnyElementAttribute) As Integer


[10580] [JScript] public function IndexOf(attribute : XmlAnyElementAttribute) : int;


[10581] Description


[10582] Gets the index of the specified System.Xml.Serialization.XmlAnyElementAttribute. Return Value: The index of the specified System.Xml.Serialization.XmlAnyElementAttribute. The System.Xml.Serialization.XmlAnyElementAttribute whose index you want.


[10583] Insert


[10584] [C#] public void Insert(int index, XmlAnyElementAttribute attribute);


[10585] [C++] public: void Insert(int index, XmlAnyElementAttribute* attribute);


[10586] [VB] Public Sub Insert(ByVal index As Integer, ByVal attribute As XmlAnyElementAttribute)


[10587] [JScript] public function Insert(index : int, attribute : XmlAnyElementAttribute);


[10588] Description


[10589] Inserts an System.Xml.Serialization.XmlAnyElementAttribute into the collection at the specified index. The index where the System.Xml.Serialization.XmlAnyElementAttribute will be inserted. The System.Xml.Serialization.XmlAnyElementAttribute to insert.


[10590] Remove


[10591] [C#] public void Remove(XmlAnyElementAttribute attribute);


[10592] [C++] public: void Remove(XmlAnyElementAttribute* attribute);


[10593] [VB] Public Sub Remove(ByVal attribute As XmlAnyElementAttribute)


[10594] [JScript] public function Remove(attribute : XmlAnyElementAttribute);


[10595] Description


[10596] Removes the specified System.Xml.Serialization.XmlAnyElementAttribute from the collection. The System.Xml.Serialization.XmlAnyElementAttribute to remove.


[10597] XmlArrayAttribute class (System.Xml.Serialization)


[10598] ToString


[10599] Description


[10600] Specifies that the System.Xml.Serialization.XmlSerializer should serialize a particular class member as an array of XML elements.


[10601] The System.Xml.Serialization.XmlArrayAttribute belongs to a family of attributes that controls how the System.Xml.Serialization.XmlSerializer serializes, or deserializes, an object. For a complete list of similar attributes, see the System.Xml.Serialization.XmlSerializer class.


[10602] XmlArrayAttribute


[10603] Example Syntax:


[10604] ToString


[10605] [C#] public XmlArrayAttribute( );


[10606] [C++] public: XmlArrayAttribute( );


[10607] [VB] Public Sub New( )


[10608] [JScript] public function XmlArrayAttribute( ); Initializes a new instance of the System.Xml.Serialization.XmlArrayAttribute class.


[10609] Description


[10610] Initializes a new instance of the System.Xml.Serialization.XmlArrayAttribute class.


[10611] For more information about using attributes, see.


[10612] XmlArrayAttribute


[10613] Example Syntax:


[10614] ToString


[10615] [C#] public XmlArrayAttribute(string elementName);


[10616] [C++] public: XmlArrayAttribute(String* elementName);


[10617] [VB] Public Sub New(ByVal elementName As String)


[10618] [JScript] public function XmlArrayAttribute(elementName : String);


[10619] Description


[10620] Initializes a new instance of the System.Xml.Serialization.XmlArrayAttribute class; specifies the XML element name generated in the XML-document instance.


[10621] For more information about using attributes, see. The name of the XML element that the System.Xml.Serialization.XmlSerializer generates.


[10622] ElementName


[10623] ToString


[10624] [C#] public string ElementName {get; set;}


[10625] [C++] public: _property String* get_ElementName( );public: _property void set_ElementName(String*);


[10626] [VB] Public Property ElementName As String


[10627] [JScript] public function get ElementName( ) : String;public function set ElementName(String);


[10628] Description


[10629] Gets or sets the XML element name given to the serialized array.


[10630] Specify an System.Xml.Serialization.XmlArrayAttribute.ElementName when you want the generated XML element name to differ from the member's identifier.


[10631] Form


[10632] ToString


[10633] [C#] public XmlSchemaForm Form {get; set;}


[10634] [C++] public: _property XmlSchemaForm get_Form( );public: _property void set_Form(XmlSchemaForm);


[10635] [VB] Public Property Form As XmlSchemaForm


[10636] [JScript] public function get Form( ) : XmlSchemaForm;public function set Form(XmlSchemaForm);


[10637] Description


[10638] Gets or sets a value indicating whether the XML element name generated by the System.Xml.Serialization.XmlSerializer is qualified or unqualified.


[10639] The System.Xml.Serialization.XmlAttributeAttribute.Form property determines whether an XML element name is qualified or unqualified. The System.Xml.Serialization.XmlAttributeAttribute.Form property conforms to the 1999 http://www.w3.org specification Namespaces in XML.


[10640] IsNullable


[10641] ToString


[10642] [C#] public bool IsNullable {get; set;}


[10643] [C++] public: _property bool get_IsNullable( );public: _property void set_IsNullable(bool);


[10644] [VB] Public Property IsNullable As Boolean


[10645] [JScript] public function get IsNullable( ) : Boolean;public function set IsNullable(Boolean);


[10646] Description


[10647] Gets or sets a value indicating whether the System.Xml.Serialization.XmlSerializer should serialize a member that is set to null into the xsi:nil attribute set to true.


[10648] The XML schema specification for structures allows an XML document to explicitly signal that an element's content is missing. Such an element contains the attribute xsi:nil set to true. For more information, see the http://www.w3.org/TR/xmlschema-1/specification named XML Schema Part 1: Structures.


[10649] Namespace


[10650] ToString


[10651] [C#] public string Namespace {get; set;}


[10652] [C++] public: _property String* get_Namespace( );public: _property void set_Namespace(String*);


[10653] [VB] Public Property Namespace As String


[10654] [JScript] public function get Namespace( ) : String;public function set Namespace(String);


[10655] Description


[10656] Gets or set the namespace of the XML element.


[10657] The System.Xml.Serialization.XmlArrayAttribute.Namespace property allows you to create qualified XML element names. The System.Xml.Serialization.XmlArrayAttribute.Namespace property conforms to the rules for creating an XML namespace as found in the http://www.w3.org document Namespaces in XML.


[10658] TypeId


[10659] XmlArrayItemAttribute class (System.Xml.Serialization)


[10660] ToString


[10661] Description


[10662] Specifies the derived types that the System.Xml.Serialization.XmlSerializer can place in a serialized array.


[10663] The System.Xml.Serialization.XmlArrayItemAttribute belongs to a family of attributes that controls how the System.Xml.Serialization.XmlSerializer serializes, or deserializes, an object. For a complete list of similar attributes, see the System.Xml.Serialization.XmlSerializer class.


[10664] XmlArrayItemAttribute


[10665] Example Syntax:


[10666] ToString


[10667] [C#] public XmlArrayItemAttribute( );


[10668] [C++] public: XmlArrayItemAttribute( );


[10669] [VB] Public Sub New( )


[10670] [JScript] public function XmlArrayItemAttribute( ); Initializes a new instance of the System.Xml.Serialization.XmlArrayItemAttribute class.


[10671] Description


[10672] Initializes a new instance of the System.Xml.Serialization.XmlArrayItemAttribute class.


[10673] XmlArrayItemAttribute


[10674] Example Syntax:


[10675] ToString


[10676] [C+] public XmlArrayItemAttribute(string elementName);


[10677] [C++] public: XmlArrayItemAttribute(String* elementName);


[10678] [VB] Public Sub New(ByVal elementName As String)


[10679] [JScript] public function XmlArrayItemAttribute(elementName : String);


[10680] Description


[10681] Initializes a new instance of the System.Xml.Serialization.XmlArrayItemAttribute class; specifies the name of the XML element generated in the XML-document instance.


[10682] This overload sets the System.Xml.Serialization.XmlArrayItemAttribute.ElementName property. The name of the XML element.


[10683] XmlArrayItemAttribute


[10684] Example Syntax:


[10685] ToString


[10686] [C#] public XmlArrayItemAttribute(Type type);


[10687] [C++] public: XmlArrayItemAttribute(Type* type);


[10688] [VB] Public Sub New(ByVal type As Type)


[10689] [JScript] public function XmlArrayItemAttribute(type : Type);


[10690] Description


[10691] Initializes a new instance of the System.Xml.Serialization.XmlArrayItemAttribute class; specifies the System.Type that can be inserted into the serialized array. The System.Type of the object to serialize.


[10692] XmlArrayItemAttribute


[10693] Example Syntax:


[10694] ToString


[10695] [C#] public XmlArrayItemAttribute(string elementName, Type type);


[10696] [C++] public: XmlArrayItemAttribute(String* elementName, Type* type);


[10697] [VB] Public Sub New(ByVal elementName As String, ByVal type As Type)


[10698] [JScript] public function XmlArrayItemAttribute(elementName : String, type : Type);


[10699] Description


[10700] Initializes a new instance of the System.Xml.Serialization.XmlArrayItemAttribute class; specifies the name of the XML element generated in the XML-document instance, and the System.Type that can be inserted into the generated XML-document instance.


[10701] This overload sets the System.Xml.Serialization.XmlArrayItemAttribute.ElementName and the System.Xml.Serialization.XmlArrayItemAttribute.Type properties. The name of the XML element. The System.Type of the object to serialize.


[10702] DataType


[10703] ToString


[10704] [C#] public string DataType {get; set;}


[10705] [C++] public: _property String* get_DataType( );public: _property void set_DataType(String*);


[10706] [VB] Public Property DataType As String


[10707] [JScript] public function get DataType( ) : String;public function set DataType(String);


[10708] Description


[10709] Gets or sets the XML data type of the generated XML element.


[10710] The following table lists the XML data types with their .NET equivalents. For the XML date and time data types, the .NET data type consists of a System.DateTime to which the System.Xml.Serialization.XmlElementAttribute has been applied with the System.Xml.Serialization.XmlElementAttribute.DataType set to “date” and “time”, respectively.


[10711] ElementName


[10712] ToString


[10713] [C#] public string ElementName {get; set;}


[10714] [C++] public: property String* getElementName( );public: _Property void set_ElementName(String*);


[10715] [VB] Public Property ElementName As String


[10716] [JScript] public function get ElementName( ) : String;public function set ElementName(String);


[10717] Description


[10718] Gets or sets the name of the generated XML element.


[10719] Specify an System.Xml.Serialization.XmlArrayItemAttribute.ElementName if you want the name of the generated XML element to differ from the member's identifier.


[10720] Form


[10721] ToString


[10722] [C#] public XmlSchemaForm Form {get; set;}


[10723] [C++] public: _property XmlSchemaForm get_Form( );public: _property void set_Form(XmlSchemaForm);


[10724] [VB] Public Property Form As XmlSchemaForm


[10725] [JScript] public function get Form( ) : XmlSchemaForm;public function set Form(XmlSchemaForm);


[10726] Description


[10727] Gets or sets a value indicating whether the name of the generated XML element is qualified.


[10728] The System.Xml.Serialization.XmlAttributeAttribute.Form property determines whether an XML element name is qualified, based on the http://www.w3.org specification Namespaces in XML.


[10729] IsNullable


[10730] ToString


[10731] [C#] public bool IsNullable {get; set;}


[10732] [C++] public: _property bool get_IsNullable( );public: _property void set_IsNullable(bool);


[10733] [VB] Public Property IsNullable As Boolean


[10734] [JScript] public function get IsNullable( ) : Boolean;public function set IsNullable(Boolean);


[10735] Description


[10736] Gets or sets a value indicating whether the System.Xml.Serialization.XmlSerializer should serialize a member that is set to null into the xsi:nil attribute set to true.


[10737] The XML schema specification for structures allows an XML document to explicitly signal that an element's content is missing. Such an element contains the attribute xsi:nil set to true. For more information, see the http://www.w3.org/TR/xmlschema-1/ specification named XML Schema Part 1: Structures.


[10738] Namespace


[10739] ToString


[10740] [C#] public string Namespace {get; set;}


[10741] [C++] public: _property String* get_Namespace( );public: _property void set_Namespace(String*);


[10742] [VB] Public Property Namespace As String


[10743] [JScript] public function get Namespace( ) : String;public function set Namespace(String);


[10744] Description


[10745] Gets or sets the namespace of the generated XML element.


[10746] The System.Xml.Serialization.XmlArrayItemAttribute.Namespace property conforms to the http://www.w3.org specification Namespaces in XML.


[10747] NestingLevel


[10748] ToString


[10749] [C#] public int NestingLevel {get; set;}


[10750] [C++] public: _property int get_NestingLevel( );public: _property void set_NestingLevel(int);


[10751] [VB] Public Property NestingLevel As Integer


[10752] [JScript] public function get NestingLevel( ) : int;public function set NestingLevel(int);


[10753] Description


[10754] Gets or sets the level in a hierarchy of XML elements that the System.Xml.Serialization.XmlArrayItemAttribute affects.


[10755] An XML document can contain hierarchies of XML elements. To represent such a hierarchy, an array of arrays is used. In such an array, each index represents a level in the hierarchy. Therefore, the System.Xml.Serialization.XmlArrayItemAttribute.NestingLevel property is only used when applying an System.Xml.Serialization.XmlArrayItemAttribute to a field that returns an array of arrays.


[10756] Type


[10757] ToString


[10758] [C#] public Type Type {get; set;}


[10759] [C++] public: _property Type* get_Type( );public: _property void setType(Type*);


[10760] [VB] Public Property Type As Type


[10761] [JScript] public function get Type( ) : Type;public function set Type(Type);


[10762] Description


[10763] Gets or sets the type of the elements in the generated XML array.


[10764] Use the System.Xml.Serialization.XmlElementAttribute.Type property to specify an overridden type for a public field or public read/write property value.


[10765] TypeId


[10766] XmlArrayItemAttributes class (System.Xml.Serialization)


[10767] ToString


[10768] Description


[10769] Represents a collection of System.Xml.Serialization.XmlArrayItemAttribute objects.


[10770] The System.Xml.Serialization.XmlArrayItemAttributes class allows you to specify the derived types that can be inserted into an array returned by a public field or public read/write property.


[10771] XmlArrayItemAttributes


[10772] Example Syntax:


[10773] ToString


[10774] [C#] public XmlArrayItemAttributes( );


[10775] [C++] public: XmlArrayItemAttributes( );


[10776] [VB] Public Sub New( )


[10777] [JScript] public function XmlArrayItemAttributes( );


[10778] Count


[10779] InnerList


[10780] Item


[10781] ToString


[10782] Description


[10783] Gets or sets the item at the specified index. The zero-based index of the collection member to get or set.


[10784] List


[10785] Add


[10786] [C#] public int Add(XmlArrayItemAttribute attribute);


[10787] [C++] public: int Add(XmlArrayItemAttribute* attribute);


[10788] [VB] Public Function Add(ByVal attribute As XmlArrayItemAttribute) As Integer


[10789] [JScript] public function Add(attribute : XmlArrayItemAttribute) : int;


[10790] Description


[10791] Adds an System.Xml.Serialization.XmlArrayItemAttribute to the collection.


[10792] Return Value: The index of the added item. THe System.Xml.Serialization.XmlArrayItemAttribute to add to the collection.


[10793] Contains


[10794] [C#] public bool Contains(XmlArrayItemAttribute attribute);


[10795] [C++] public: bool Contains(XmlArrayItemAttribute* attribute);


[10796] [VB] Public Function Contains(ByVal attribute As XmlArrayItemAttribute) As Boolean


[10797] [JScript] public function Contains(attribute : XmlArrayItemAttribute) : Boolean;


[10798] Description


[10799] CopyTo


[10800] [C+] public void CopyTo(XmlArrayItemAttribute[ ] array, int index);


[10801] [C++] public: void CopyTo(XmlArrayItemAttribute* array[ ], it index);


[10802] [VB] Public Sub CopyTo(ByVal array( ) As XmlArrayItemAttribute, ByVal index As Integer)


[10803] [JScript] public function CopyTo(array : XmlArrayItemAttribute[ ], index: int);


[10804] Description


[10805] IndexOf


[10806] [C+] public int IndexOf(XmlArrayItemAttribute attribute);


[10807] [C++] public: int IndexOf(XmlArrayItemttribute* attribute);


[10808] [VB] Public Function IndexOf(ByVal attribute As XmlArrayItemAttribute) As Integer


[10809] [JScript] public function IndexOf(attribute : XmlArrayItemAttribute): int;


[10810] Description


[10811] Insert


[10812] [C+] public void Insert(int index, XmlArrayItemAttribute attribute);


[10813] [C++] public: void Insert(int index, XmlArrayItemAttribute* attribute);


[10814] [VB] Public Sub Insert(ByVal index As Integer, ByVal attribute As XmlArrayItemAttribute)


[10815] [JScript] public function Insert(index : int, attribute : XmlArrayItemAttribute);


[10816] Description


[10817] Remove


[10818] [C#] public void Remove(XmlArrayItemAttribute attribute);


[10819] [C++] public: void Remove(XmlArrayItemAttribute* attribute);


[10820] [VB] Public Sub Remove(ByVal attribute As XmlArrayItemAttribute)


[10821] [JScript] public function Remove(attribute : XmlArrayItemAttribute);


[10822] Description


[10823] XmlAttributeAttribute class (System.Xml.Serialization)


[10824] ToString


[10825] Description


[10826] Specifies that the System.Xml.Serialization.XmlSerializer should serialize the class member as an XML attribute.


[10827] The System.Xml.Serialization.XmlAttributeAttribute belongs to a family of attributes that controls how the System.Xml.Serialization.XmlSerializer serializes, or deserializes, an object. For a complete list of similar attributes, see the System.Xml.Serialization.XmlSerializer class.


[10828] XmlAttributeAttribute


[10829] Example Syntax:


[10830] ToString


[10831] [C#] public XmlAttributeAttribute( );


[10832] [C++] public: XmlAttributeAttribute( );


[10833] [VB] Public Sub New( )


[10834] [JScript] public function XmlAttributeAttribute( ); Initializes a new instance of the System.Xml.Serialization.XmlAttributeAttribute class.


[10835] Description


[10836] Initializes a new instance of the System.Xml.Serialization.XmlAttributeAttribute class.


[10837] XmlAttributeAttribute


[10838] Example Syntax:


[10839] ToString


[10840] [C#] public XmlAttributeAttribute(string attributeName);


[10841] [C++] public: XmlAttributeAttribute(String* attributeName);


[10842] [VB] Public Sub New(ByVal attributeName As String)


[10843] [JScript] public function XmlAttributeAttribute(attributeName : String);


[10844] Description


[10845] Initializes a new instance of the System.Xml.Serialization.XmlAttributeAttribute class and specifies the name of the generated XML attribute. The name of the XML attribute that the System.Xml.Serialization.XmlSerializer generates.


[10846] XmlAttributeAttribute


[10847] Example Syntax:


[10848] ToString


[10849] [C#] public XmlAttributeAttribute(Type type);


[10850] [C++] public: XmlAttributeAttribute(Type* type);


[10851] [VB] Public Sub New(ByVal type As Type)


[10852] [JScript] public function XmlAttributeAttribute(type : Type);


[10853] Description


[10854] Initializes a new instance of the System.Xml.Serialization.XmlAttributeAttribute class. The System.Type used to store the attribute.


[10855] XmlAttributeAttribute


[10856] Example Syntax:


[10857] ToString


[10858] [C#] public XmlAttributeAttribute(string attributeName, Type type);


[10859] [C++] public: XmlAttributeAttribute(String* attributeName, Type* type);


[10860] [VB] Public Sub New(ByVal attributeName As String, ByVal type As Type)


[10861] [JSctipt] public function XmlAttributeAttribute(attributeName : String, type : Type);


[10862] Description


[10863] Initializes a new instance of the System.Xml.Serialization.XmlAttributeAttribute class. The name of the XML attribute that is generated. The System.Type used to store the attribute.


[10864] AttributeName


[10865] ToString


[10866] [C#] public string AttributeName {get; set;}


[10867] [C++] public: _property String* get_AttributeName( );public: _property void set_AttributeName(String*);


[10868] [VB] Public Property AttributeName As String


[10869] [JScript] public function get AttributeName( ) : String;public function set AttributeName(String);


[10870] Description


[10871] Gets or sets the name of the XML attribute.


[10872] Use the System.Xml.Serialization.XmlAttributeAttribute.AttributeName property to specify an XML attribute name when the default value cannot be used. For example, if the XML attribute name is illegal as a member identifier, you can use a legal name for the identifier while setting the System.Xml.Serialization.XmlAttributeAttribute.AttributeName to an illegal name.


[10873] DataType


[10874] ToString


[10875] [C#] public string DataType {get; set;}


[10876] [C++] public: _property String* get_DataType( );public: _property void set_DataType(String*);


[10877] [VB] Public Property DataType As String


[10878] [JScript] public function get DataType( ) : String;public function set DataType(String);


[10879] Description


[10880] Gets or sets the XML data type of the XML attribute generated by the System.Xml.Serialization.XmlSerializer.


[10881] The following table lists the XML data types with their NET equivalents. For the XML date and time data types, the NET data type consists of a System.DateTime to which the System.Xml.Serialization.XmlElementAttribute has been applied with the System.Xml.Serialization.XmlElementAttribute.DataType set to “date” and “time”, respectively.


[10882] Form


[10883] ToString


[10884] [C#] public XmlSchemaForm Form {get; set;}


[10885] [C++] public: _property XmlSchemaForm get_Form( );public: _property void set_Form(XmlSchemaForm);


[10886] [VB] Public Property Form As XmlSchemaForm


[10887] [JScript] public function get Form( ) : XmlSchemaForm;public function set Form(XmlSchemaForm);


[10888] Description


[10889] Gets or sets a value indicating whether the XML attribute name generated by the System.Xml.Serialization.XmlSerializer is qualified.


[10890] The System.Xml.Serialization.XmlAttributeAttribute.Form property determines whether an XML element is qualified or unqualified. The System.Xml.Serialization.XmlAttributeAttribute.Form property conforms to the 1999 http://www.w3.org specification Namespaces in XML.


[10891] Namespace


[10892] ToString


[10893] [C#] public string Namespace {get; set;}


[10894] [C++] public: _property String* get_Namespace( );public: _property void set_Namespace(String*);


[10895] [VB] Public Property Namespace As String


[10896] [JScript] public function get Namespace( ) : String;public function set Namespace(String);


[10897] Description


[10898] Gets or sets the XML namespace of the XML attribute.


[10899] The System.Xml.Serialization.XmlAttributeAttribute.Namespace property conforms to the http://www.w3.org specification Namespaces in XML.


[10900] Type


[10901] ToString


[10902] [C#] public Type Type {get; set;}


[10903] [C++] public: _property Type* get_Type( );public: _property void set_Type(Type*);


[10904] [VB] Public Property Type As Type


[10905] [JScript] public function get Type( ) : Type;public function set Type(Type);


[10906] Description


[10907] Gets or sets the complex type of the XML attribute.


[10908] TypeId


[10909] XmlAttributeEventArgs class (System.Xml.Serialization)


[10910] ToString


[10911] Description


[10912] Provides data for the System.Xml.Serialization.XmlSerializer.UnknownAttribute event.


[10913] For more information about handling events, see.


[10914] Attr


[10915] ToString


[10916] [C#] public XmlAttribute Attr {get;}


[10917] [C++] public: _property XmlAttribute* get_Attr( );


[10918] [VB] Public ReadOnly Property Attr As XmlAttribute


[10919] [JScript] public function get Attr( ) : XmlAttribute;


[10920] Description


[10921] Gets an object that represents the unknown XML attribute.


[10922] LineNumber


[10923] ToString


[10924] [C#] public int LineNumber {get;}


[10925] [C++] public: _property int get_LineNumber( );


[10926] [VB] Public ReadOnly Property LineNumber As Integer


[10927] [JScript] public function get LineNumber( ) : int;


[10928] Description


[10929] Gets the line number of the unknown XML attribute.


[10930] LinePosition


[10931] ToString


[10932] [C#] public int LinePosition {get;}


[10933] [C++] public: property int getLinePosition( );


[10934] [VB] Public ReadOnly Property LinePosition As Integer


[10935] [JScript] public function get LinePosition( ) : int;


[10936] Description


[10937] Gets the position in the line of the unknown XML attribute.


[10938] ObjectBeingDeserialized


[10939] ToString


[10940] [C#] public object ObjectBeingDeserialized {get;}


[10941] [C++] public: _property Object* get_ObjectBeingDeserialized( );


[10942] [VB] Public ReadOnly Property ObjectBeingDeserialized As Object


[10943] [JScript] public function get ObjectBeingDeserialized( ) : Object;


[10944] Description


[10945] Gets the object being deserialized.


[10946] XmlAttributeEventHandler delegate (System.Xml.Serialization)


[10947] ToString


[10948] Description


[10949] Represents the method that will handle the System.Xml.Serialization.XmlSerializer.UnknownAttribute The source of the event. An System.Xml.Serialization.XmlAttributeEventArgs that contains the event data.


[10950] When you create an System.Xml.Serialization.XmlAttributeEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event handler delegates, see.


[10951] XmlAttributeOverrides class (System.Xml.Serialization)


[10952] ToString


[10953] Description


[10954] Allows you to override property, field, and class attributes when you use the System.Xml.Serialization.XmlSerializer to serialize or deserialize an object.


[10955] The System.Xml.Serialization.XmlAttributeOverrides enables the System.Xml.Serialization.XmlSerializer to override the default way of serializing a set of objects. Overriding serialization in this way has two uses: first, you can control and augment the serialization of objects found in a DLL—even if you don't have access to the source; second, you can create one set of serializable classes, but serialize the objects in multiple ways. For example, instead of serializing members of a class instance as XML elements, you can serialize them as XML attributes, resulting in a more efficient document to transport.


[10956] XmlAttributeOverides


[10957] Example Syntax:


[10958] ToString


[10959] [C#] public XmlAttributeOverrides( );


[10960] [C++] public: XmlAttributeOverrides( );


[10961] [VB] Public Sub New( )


[10962] [JScript] public function XmlAttributeOverrides( );


[10963] Item


[10964] ToString


[10965] [C#] public XmlAttributes this[Type type] {get;}


[10966] [C++] public: _property XmlAttributes* get_Item(Type* type);


[10967] [VB] Public Default ReadOnly Property Item(ByVal type As Type) As XmlAttributes


[10968] [JScript] returnValue=XmlAttributeOverridesObject.Item(type); Gets an object that represents the collection of overriding attributes.


[10969] Description


[10970] Gets the object associated with the specified, base-class, type.


[10971] Use this overload to return an System.Xml.Serialization.XmlAttributes object that contains attributes for an System.Xml.Serialization.XmlRootAttribute or System.Xml.Serialization.XmlTypeAttribute object. The base-class class System.Type that is associated with the collection of attributes you want.


[10972] Item


[10973] ToStrng


[10974] [C#] public XmlAttributes this[Type type, string member] {get;}


[10975] [C++] public: _property XmlAttributes* get_Item(Type* type, String* member);


[10976] [VB] Public Default ReadOnly Property Item(ByVal type As Type, ByVal member As String) As XmlAttributes


[10977] [JScript] returnValue=XmlAttributeOverridesObject.Item(type, member);


[10978] Description


[10979] Gets the object associated with the specified (base-class) type. The member parameter specifies the base-class member that is overridden.


[10980] Use this overload to return an System.Xml.Serialization.XmlAttributes object that contains objects that override an System.Xml.Serialization.XmlArrayAttribute, System.Xml.Serialization.XmlArrayItemAttribute, System.Xml.Serialization.XmlAttributeAttribute, System.Xml.Serialization.XmlElementAttribute, or System.Xml.Serialization.XmlEnumAttribute. If the System.Xml.Serialization.XmlAttributes object contains for an System.Xml.Serialization.XmlRootAttribute or System.Xml.Serialization.XmlTypeAttribute, you must use the overload that specifies only the overridden type. The base-class class System.Type that is associated with the collection of attributes you want. The name of the overridden member that specifies the System.Xml.Serialization.XmlAttributes to return.


[10981] Add


[10982] [C#] public void Add(Type type, XmlAttributes attributes);


[10983] [C++] public: void Add(Type* type, XmlAttributes* attributes);


[10984] [VB] Public Sub Add(ByVal type As Type, ByVal attributes As XmlAttributes)


[10985] [JScript] public function Add(type : Type, attributes : XmlAttributes); Adds an System.Xml.Serialization.XmlAttributes object to the collection of System.Xml.Serialization.XmlAttributes objects.


[10986] Description


[10987] Adds an System.Xml.Serialization.XmlAttributes object to the collection of System.Xml.Serialization.XmlAttributes objects. The type parameter specifies an object to be overridden by the System.Xml.Serialization.XmlAttributes object.


[10988] The System.Xml.Serialization.XmlAttributes object contains a union of attribute objects that cause the System.Xml.Serialization.XmlSerializer to override its default serialization behavior for a set of objects. You choose the attribute objects to place in the System.Xml.Serialization.XmlAttributes object, depending on the particular behaviors you want to override. For example, the XmlSerializer serializes a class member as an XML element by default. If you want the member to be serialized as an XmlAttribute instead, you would create an System.Xml.Serialization.XmlAttributeAttribute, assign it to the System.Xml.Serialization.XmlAttributes.XmlAttribute property of an System.Xml.Serialization.XmlAttributes, and add the System.Xml.Serialization.XmlAttributes object to the System.Xml.Serialization.XmlAttributeOverrides object. The System.Type of the object that will be overridden. An System.Xml.Serialization.XmlAttributes object that represents the overriding attributes.


[10989] Add


[10990] [C#] public void Add(Type type, string member, XmlAttributes attributes);


[10991] [C++] public: void Add(Type* type, String* member, XmlAttributes* attributes);


[10992] [VB] Public Sub Add(ByVal type As Type, ByVal member As String, ByVal attributes As XmlAttributes)


[10993] [JScript] public function Add(type : Type, member : String, attributes : XmlAttributes);


[10994] Description


[10995] Adds an System.Xml.Serialization.XmlAttributes object to the collection of System.Xml.Serialization.XmlAttributes objects. The type parameter specifies an object to be overridden. The member parameter specifies the name of a member that will be overridden.


[10996] The System.Xml.Serialization.XmlAttributes object contains a union of attribute objects that cause the System.Xml.Serialization.XmlSerializer to override its default serialization behavior for a set of objects. You choose the attribute objects to place in the System.Xml.Serialization.XmlAttributes object, depending on the particular behaviors you want to override. For example, the XmlSerializer serializes a class member as an XML element by default. If you want the member to be serialized as an XmlAttribute instead, you would create an System.Xml.Serialization.XmlAttributeAttribute, assign it to the System.Xml.Serialization.XmlAttributes.XmlAttribute property of an System.Xml.Serialization.XmlAttributes, and add the System.Xml.Serialization.XmlAttributes object to the System.Xml.Serialization.XmlAttributeOverrides object. The System.Type of the object to override. The name of the member to override. An System.Xml.Serialization.XmlAttributes object that represents the overriding attributes.


[10997] XmlAttributes class (System.Xml.Serialization)


[10998] ToString


[10999] Description


[11000] Represents a collection of attribute objects that control how the System.Xml.Serialization.XmlSerializer serializes and deserializes an object.


[11001] Creating the System.Xml.Serialization.XmlAttributes is part of a process that overrides the default way the System.Xml.Serialization.XmlSerializer serializes class instances. For example, suppose you want to serialize an object that is created from a DLL which has an inaccessible source. By using the System.Xml.Serialization.XmlAttributeOverrides, you can augment or otherwise control how the object is serialized.


[11002] XmlAttributes


[11003] Example Syntax:


[11004] ToString


[11005] [C#] public XmlAttributes( );


[11006] [C++] public: XmlAttributes( );


[11007] [VB] Public Sub New( )


[11008] [JScript] public function XmlAttributes( ); Initializes a new instance of the System.Xml.Serialization.XmlAttributes class.


[11009] Description


[11010] Initializes a new instance of the System.Xml.Serialization.XmlAttributes class.


[11011] XmlAttributes


[11012] Example Syntax:


[11013] ToString


[11014] [C#] public XmlAttributes(ICustomAttributeProvider provider);


[11015] [C++] public: XmlAttributes(ICustomAttributeProvider* provider);


[11016] [VB] Public Sub New(ByVal provider As ICustomAttributeProvider)


[11017] [JScript] public function XmlAttributes(provider : ICustomAttributeProvider);


[11018] Description


[11019] XmlAnyAttribute


[11020] ToString


[11021] [C#] public XmlAnyAttributeAttribute XmlAnyAttribute {get; set;}


[11022] [C++] public: _property XmlAnyAttributeAttribute* get_XmlAnyAttribute( );public: _property void set_xmlAnyAttribute(XmlAnyAttributeAttribute*);


[11023] [VB] Public Property XmlAnyAttribute As XmlAnyAttributeAttribute


[11024] [JScript] public function get XmlAnyAttribute( ) : XmlAnyAttributeAttribute;public function set XmlAnyAttribute(XmlAnyAttributeAttribute);


[11025] Description


[11026] Gets or sets the System.Xml.Serialization.XmlAnyAttributeAttribute to override.


[11027] XmlAnyElements


[11028] ToString


[11029] [C#] public XmlAnyElementAttributes XmlAnyElements {get;}


[11030] [C++] public: property XmlAnyElementAttributes* get_XmlAnyElements( );


[11031] [VB] Public ReadOnly Property XmlAnyElements As XmlAnyElementAttributes


[11032] [JScript] public function get XmlAnyElements( ): XmlAnyElementAttributes;


[11033] Description


[11034] Gets the collection of System.Xml.Serialization.XmlAnyElementAttribute objects to override.


[11035] XmlArray


[11036] ToString


[11037] [C#] public XmlArrayAttribute XmlArray {get; set;}


[11038] [C++] public: _property XmlArrayAttribute* get_XmlArray( );public: _property void set_XmlArray(XmlArrayAttribute*);


[11039] [VB] Public Property XmlArray As XmlArrayAttribute


[11040] [JScript] public function get XmlArray( ) : XmlArrayAttribute;public function set XmlArray(XmlArrayAttribute);


[11041] Description


[11042] Gets or sets an object that specifies how the System.Xml.Serialization.XmlSerializer serializes a public field or read/write property that returns an array.


[11043] There are two ways in which a public field or public read/write property that returns an array is serialized by the System.Xml.Serialization.XmlSerializer : (1) the default serialization, and (2) the controlled serialization.


[11044] XmlArrayItems


[11045] ToString


[11046] [C#] public XmlArrayItemAttributes XmlArrayItems {get;}


[11047] [C++] public: _property XmlArrayItemAttributes* get_XmlArrayItems( );


[11048] [VB] Public ReadOnly Property XmlArrayItems As XmlArrayItemAttributes


[11049] [JScript] public function get XmlArrayItems( ) : XmlArrayItemAttributes;


[11050] Description


[11051] Gets or sets a collection of objects that specify how the System.Xml.Serialization.XmlSerializer serializes items inserted into an array returned by a public field or read/write property.


[11052] The System.Xml.Serialization.XmlAttributes.XmlArrayItems property allows you to specify the derived types that can be inserted into an array returned by a public field or public read/write property. For each new type you want the field or property to accept, create an System.Xml.Serialization.XmlArrayItemAttribute object and System.Xml.Serialization.XmlArrayItemAttributes.Add(System.Xml.Serialization.XmlArrayItemAttribute) it to the System.Xml.Serialization.XmlArrayItemAttributes) returned by the System.Xml.Serialization.XmlAttributes.XmlArrayItems property. (The new type must be derived from the type already accepted by the field or property.) System.Xml.Serialization.XmlAttributeOverrides.Add(System.Type,System. Xml.Serialization.XmlAttributes) the System.Xml.Serialization.XmlAttributes object to an System.Xml.Serialization.XmlAttributeOverrides object, specifying the type of the object containing the field or property, and the name of the field or property. Construct an System.Xml.Serialization.XmlSerializer with the System.Xml.Serialization.XmlAttributeOverrides object before calling System.Xml.Serialization.XmlSerializer.Serialize(System.IO.TextWriter,System.Object) or System.Xml.Serialization.XmlSerializer.Deserialize(System.IO.Stream) method.


[11053] XmlAttribute


[11054] ToString


[11055] [C#] public XmlAttributeAttribute XmlAttribute {get; set;}


[11056] [C++] public: _property XmlAttributeAttribute* get_XmlAttribute( );public: _property void set_XmlAttribute(XmlAttributeAttribute*);


[11057] [VB] Public Property XmlAttribute As XmlAttributeAttribute


[11058] [JScript] public function get XmlAttribute( ) : XmlAttributeAttribute;public function set XmlAttribute(XmlAttributeAttribute);


[11059] Description


[11060] Gets or sets an object that specifies how the System.Xml.Serialization.XmlSerializer serializes a public field or public read/write property as an XML attribute.


[11061] By default, if no attribute is applied to a public field or public read/write property, it will be serialized as an XML element. You can also instruct the the System.Xml.Serialization.XmlSerializer to generate an XML attribute by applying an System.Xml.Serialization.XmlAttributeAttribute to the field or property.


[11062] XmlChoiceIdentifier


[11063] ToString


[11064] [C#] public XmlChoiceIdentifierAttribute XmlChoiceIdentifier {get;}


[11065] [C++] public: _property XmlChoiceIdentifierAttribute* get_XmlChoiceIdentifier( );


[11066] [VB] Public ReadOnly Property XmlChoiceIdentifier As XmlChoiceIdentifierAttribute


[11067] [JScript] public function get XmlChoiceIdentifier( ) : XmlChoiceIdentifierAttribute;


[11068] XmlDefaultValue


[11069] ToString


[11070] [C#] public object XmlDefaultValue {get; set;}


[11071] [C++] public: _property Object* get_XmlDefaultValue( );public: _property void set_XmlDefaultValue(Object*);


[11072] [VB] Public Property XmlDefaultValue As Object


[11073] [JScript] public function get XmlDefaultValue( ) : Object;public function set XmlDefaultValue(Object);


[11074] Description


[11075] Gets or sets the default value of an XML element or attribute.


[11076] You can specify the default value of an XML element or XML attribute by applying a System.ComponentModel.DefaultValueAttribute to a member. To examine the result of applying the value, compile the application into a DLL or executable, and pass the resulting file as an argument to the XML Schema Definition tool (XSD.exe). In the XML schema document, a default value is assigned to the default attribute. In the example below, the default for the Animal element is “Dogs.” To override the default value, create an System.Object and assign it to the System.Xml.Serialization.XmlAttributes.XmlDefaultValue.


[11077] XmlElements


[11078] ToString


[11079] [C#] public XmlElementAttributes XmlElements {get;}


[11080] [C++] public: _property XmlElementAttributes* get_XmlElements( );


[11081] [VB] Public ReadOnly Property XmlElements As XmlElementAttributes


[11082] [JScript] public function get XmlElements( ) : XmlElementAttributes;


[11083] Description


[11084] Gets or sets a collection of objects that specify how the System.Xml.Serialization.XmlSerializer serializes a public field or read/write property as an XML element.


[11085] For each overridden member that is serialized as an XML element, you must add a new System.Xml.Serialization.XmlElementAttribute to an System.Xml.Serialization.XmlElementAttributes by calling the System.Xml.Serialization.XmlElementAttributes.Add(System.Xml.Serialization.XmlElementAttribute) method. By default, an System.Xml.Serialization.XmlElementAttributes object is created and assigned to the System.Xml.Serialization.XmlAttributes.XmlElements property.


[11086] XmlEnum


[11087] ToString


[11088] [C#] public XmlEnumAttribute XmlEnum {get; set;}


[11089] [C++] public: _property XmlEnumAttribute* get_XmlEnum( );public: _property void set_XmlEnum(XmlEnumAttribute*);


[11090] [VB] Public Property XmlEnum As XmlEnumAttribute


[11091] [JScript] public function get XmlEnum( ) : XmlEnumAttribute;public function set XmlEnum(XmlEnumAttribute);


[11092] Description


[11093] Gets or sets an object that specifies how the System.Xml.Serialization.XmlSerializer serializes an enumeration member.


[11094] For each identifer you want to override, you must create an System.Xml.Serialization.XmlAttributes object, and set the System.Xml.Serialization.XmlAttributes.XmlEnum property to an System.Xml.Serialization.XmlEnumAttribute that overrides the identifier. Add the System.Xml.Serialization.XmlAttributes object to the System.Xml.Serialization.XmlAttributeOverrides object, specifying both the System.Type of the class that contains the enumeration, and the overridden member name.


[11095] XmlIgnore


[11096] ToString


[11097] [C#] public bool XmlIgnore {get; set;}


[11098] [C++] public: _property bool get_XmlIgnore( );public: _property void set_XmlIgnore(bool);


[11099] [VB] Public Property XmlIgnore As Boolean


[11100] [JScript] public function get XmlIgnore( ) : Boolean;public function set XmlIgnore(Boolean);


[11101] Description


[11102] Gets or sets a value that specifies whether or not the System.Xml.Serialization.XmlSerializer serializes a public field or public read/write property.


[11103] By default, all public fields and public read/write properties are serialized by the System.Xml.Serialization.XmlSerializer. That is, the value of each public field or property is persisted as an XML element or XML attribute in an XML-document instance.


[11104] XmlRoot


[11105] ToString


[11106] [C#] public XmlRootAttribute XmlRoot {get; set;}


[11107] [C++] public: _property XmlRootAttribute* get_XmlRoot( );public: _property void set_XmlRoot(XmlRootAttribute*);


[11108] [VB] Public Property XmlRoot As XmlRootAttribute


[11109] [JScript] public function get XmlRoot( ) : XmlRootAttribute;public function set XmlRoot(XmlRootAttribute);


[11110] Description


[11111] Gets or sets an object that specifies how the System.Xml.Serialization.XmlSerializer serializes a class as an XML root element.


[11112] XmlText


[11113] ToString


[11114] [C#] public XmlTextAttribute XmlText {get; set;}


[11115] [C++] public: _property XmlTextAttribute* get_XmlText( );public: _property void set_XmlText(XmlTextAttribute*);


[11116] [VB] Public Property XmlText As XmlTextAttribute


[11117] [JScript] public function get XmlText( ) : XmlTextAttribute;public function set XmlText(XmlTextAttribute);


[11118] Description


[11119] Gets or sets an object that instructs the System.Xml.Serialization.XmlSerializer to serialize a public field or public read/write property as XML text.


[11120] By default, a public field or public read/write property will be serialized as an XML element by the System.Xml.Serialization.XmlSerializer. However, can force the field or property to be serialized as XML text by applying an System.Xml.Serialization.XmlTextAttribute to the field or property.


[11121] XmlType


[11122] ToString


[11123] [C#] public XmlTypeAttribute XmlType {get; set;}


[11124] [C++] public: _property XmlTypeAttribute* get_XmlType( );public: _property void set_XmlType(XmlTypeAttribute*);


[11125] [VB] Public Property XmlType As XmlTypeAttribute


[11126] [JScript] public function get XmlType( ) : XmlTypeAttribute;public function set XmlType(XmlTypeAttribute);


[11127] Description


[11128] Gets or sets an object that specifies how the System.Xml.Serialization.XmlSerializer serializes a class to which the System.Xml.Serialization.XmlTypeAttribute has been applied.


[11129] XmlChoiceIdentifierAttribute class (System.Xml.Serialization)


[11130] ToString


[11131] Description


[11132] Specifies that the member can be further disambiguated by using an enumeration.


[11133] The XML schema element definition named xsi:choice is used to define a complex element that can contain only one child in an instance (maxoccurs=1). That child can be one of several types, and it can have one of several names. Each name is associated with a specific type; however, several names can be associated with the same type. Because of this, an instance of such an element is ambiguous. For example, consider the following schema fragment that defines such an ambiguous element named MyChoices : The System.Xml.Serialization.XmlChoiceIdentifierAttribute allows you to assign a special enumeration value to each instance of the member. You must either create the enumeration yourself, or it can be generated by the tool. The C# code below shows how the System.Xml.Serialization.XmlChoiceIdentifierAttribute is applied to an Item field; the System.Xml.Serialization.XmlChoiceIdentifierAttribute.MemberName property identifies the field that contains the enumeration that is further used to disambiguate the choice: public class MyChoice{[XmlChoice(“itemType”) public string Item; // Do not serialize this next field: [XmlIgnore] public ItemChoiceType ItemType;} // Do not include this enumeration in the XML schema. [XmlType(IncludeInSchema=false)] public enum ItemChoiceType{None, ChoiceOne, ChoiceTwo,} When this code is in place, you can serialize and deserialize this class by setting the itemType field to an appropriate enumeration. For example to serialize the class, the C# code resembles the following: MyChoice mc=new MyChoice( ); mc.Item=“Item Choice One”; mc.ItemType=ItemChoiceType.ChoiceOne; When deserializing, the C# code might resemble the following: MyChoice mc=(MyChoice) myXmlSerializer.Deserialize(myReader); if(mc.ItemType==ItemChoiceType.ChoiceOne) {// Handle choice one.} if(mc.ItemType==ItemChoiceType.ChoiceTwo) {// Handle choice two.} if(mc.ItemType !=null) {throw CreateUnknownTypeException(mc.Item);} There is a second scenario when the System.Xml.Serialization.XmlChoiceIdentifierAttribute is used. In the schema below, the member is a field that returns an array of items (maxOccurs=“unbounded”). The array can contain objects of the first choice (“D-a-t-a”), and of the second choice (“MoreData”): The resulting class, then, uses a field to return an array of items. And for each item in the array, a corresponding ItemChoiceType enumeration must also be found. The matching enumerations are contained in the array returned by ItemsElementName field: public class MyChoice {[System.Xml.Serialization.XmlElementAttribute(“D-a-t-a”, typeof(string), IsNullable=false)] [System.Xml.Serialization.XmlElementAttribute(“MoreData”, typeof(string), IsNullable=false)] [System.Xml.Serialization.XmlChoiceIdentifierAttribute(“ItemsElementName”)] public string[ ] Items; [System.Xml.Serialization.XmlElementAttribute(IsNullable=false)] [System.Xml.Serialization.XmlIgnoreAttribute( )] public ItemsChoiceType[ ] ItemsElementName;} [System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema=false)] public enum ItemsChoiceType {[System.Xml.Serialization.XmlEnumAttribute(“D-a-t-a”)] Data, MoreData,}


[11134] XmlChoiceIdentifierAttribute


[11135] Example Syntax:


[11136] ToString


[11137] [C#] public XmlChoiceIdentifierAttribute( );


[11138] [C++] public: XmlChoiceIdentifierAttribute( );


[11139] [VB] Public Sub New( )


[11140] [JScript] public function XmlChoiceIdentifierAttribute( ); Initializes a new instance of the System.Xml.Serialization.XmlChoiceIdentifierAttribute class.


[11141] Description


[11142] Initializes a new instance of the System.Xml.Serialization.XmlChoiceIdentifierAttribute class.


[11143] XmlChoiceIdentifierAttribute


[11144] Example Syntax:


[11145] ToString


[11146] [C#] public XmlChoiceIdentifierAttribute(string name);


[11147] [C++] public: XmlChoiceIdentifierAttribute(String* name);


[11148] [VB] Public Sub New(ByVal name As String)


[11149] [JScript] public function XmlChoiceIdentifierAttribute(name : String);


[11150] Description


[11151] Initializes a new instance of the System.Xml.Serialization.XmlChoiceIdentifierAttribute class, and uses the specified value as the name of the member that returns the disambiguating enumeration. The name of the member that will return the enumeration.


[11152] MemberName


[11153] ToString


[11154] [C#] public string MemberName {get; set;}


[11155] [C++] public: _property String* get_MemberName( );public: _property void set_MemberName(String*);


[11156] [VB] Public Property MemberName As String


[11157] [JScript] public function get MemberName( ) : String;public function set MemberName( String);


[11158] Description


[11159] Gets or sets the name of the field that returns the enumeration to use when disambiguating types.


[11160] TypeId


[11161] XmlCodeExporter class (System.Xml.Serialization)


[11162] ToString


[11163] XmlCodeExporter


[11164] Example Syntax:


[11165] ToString


[11166] Description


[11167] XmlCodeExporter


[11168] Example Syntax:


[11169] ToString


[11170] [C#] public XmlCodeExporter(CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit);


[11171] [C++] public: XmlCodeExporter(CodeNamespace* codeNamespace, CodeCompileUnit* codeCompileUnit);


[11172] [VB] Public Sub New(ByVal codeNamespace As CodeNamespace, ByVal codeCompileUnit As CodeCompileUnit)


[11173] [JScript] public function XmlCodeExporter(codeNamespace : CodeNamespace, codeCompileUnit : CodeCompileUnit);


[11174] IncludeMetadata


[11175] ToString


[11176] [C#] public CodeAttributeDeclarationCollection IncludeMetadata {get;}


[11177] [C++] public: _property CodeAttributeDeclarationCollection* get_IncludeMetadata( );


[11178] [VB] Public ReadOnly Property IncludeMetadata As CodeAttributeDeclarationCollection


[11179] [JScript] public function get IncludeMetadata( ) : CodeAttributeDeclarationCollection;


[11180] Description


[11181] AddMappingMetadata


[11182] [C#] public void AddMappingMetadata(CodeAttributeDeclarationCollection metadata, XmlMemberMapping member, string ns);


[11183] [C++] public: void AddMappingMetadata(CodeAttributeDeclarationCollection* metadata, XmlMemberMapping* member, String* ns);


[11184] [VB] Public Sub AddMappingMetadata(ByVal metadata As CodeAttributeDeclarationCollection, ByVal member As XmlMemberMapping, ByVal ns As String)


[11185] [JScript] public function AddMappingMetadata(metadata : CodeAttributeDeclarationCollection, member : XmlMemberMapping, ns : String);


[11186] Description


[11187] AddMappingMetadata


[11188] [C#] public void AddMappingMetadata(CodeAttributeDeclarationCollection metadata, XmlTypeMapping mapping, string ns);


[11189] [C++] public: void AddMappingMetadata(CodeAttributeDeclarationCollection* metadata, XmlTypeMapping* mapping, String* ns);


[11190] [VB] Public Sub AddMappingMetadata(ByVal metadata As CodeAttributeDeclarationCollection, ByVal mapping As XmlTypeMapping, ByVal ns As String)


[11191] [JScript] public function AddMappingMetadata(metadata : CodeAttributeDeclarationCollection, mapping : XmlTypeMapping, ns : String);


[11192] Description


[11193] AddMappingMetadata


[11194] [C#] public void AddMappingMetadata(CodeAttributeDeclarationCollection metadata, XmlMemberMapping member, string ns, bool forceUseMemberName);


[11195] [C++] public: void AddMappingMetadata(CodeAttributeDeclarationCollection* metadata, XmlMemberMapping* member, String* ns, bool forceUseMemberName);


[11196] [VB] Public Sub AddMappingMetadata(ByVal metadata As CodeAttributeDeclarationCollection, ByVal member As XmlMemberMapping, ByVal ns As String, ByVal forceUseMemberName As Boolean)


[11197] [JScript] public function AddMappingMetadata(metadata : CodeAttributeDeclarationCollection, member : XmlMemberMapping, ns : String, forceUseMemberName : Boolean);


[11198] Description


[11199] ExportMembersMapping


[11200] [C#] public void ExportMembersMapping(XmlMembersMapping xmlMembersMapping);


[11201] [C++] public: void ExportMembersMapping(XmlMembersMapping* xmlMembersMapping);


[11202] [VB] Public Sub ExportMembersMapping(ByVal xmlMembersMapping As XmlMembersMapping)


[11203] [JScript] public function ExportMembersMapping(xmlMembersMapping : XmlMembersMapping);


[11204] Description


[11205] ExportTypeMapping


[11206] [C#] public void ExportTypeMapping(XmlTypeMapping xmlTypeMapping);


[11207] [C++] public: void ExportTypeMapping(XmlTypeMapping* xmlTypeMapping);


[11208] [VB] Public Sub ExportTypeMapping(ByVal xmlTypeMapping As XmlTypeMapping)


[11209] [JScript] public function ExportTypeMapping(xmlTypeMapping : XmlTypeMapping);


[11210] Description


[11211] XmlElementAttribute class (System.Xml.Serialization)


[11212] ToString


[11213] Description


[11214] Indicates that a public field or property represents an XML element—when the System.Xml.Serialization.XmlSerializer serializes or deserializes the containing object.


[11215] The System.Xml.Serialization.XmlElementAttribute belongs to a family of attributes that controls how the System.Xml.Serialization.XmlSerializer serializes, or deserializes, an object. For a complete list of similar attributes, see the System.Xml.Serialization.XmlSerializer class.


[11216] XmlElementAttribute


[11217] Example Syntax:


[11218] ToString


[11219] [C#] public XmlElementAttribute( );


[11220] [C++] public: XmlElementAttribute( );


[11221] [VB] Public Sub New( )


[11222] [JScript] public function XmlElementAttribute( ); Initializes a new instance of the System.Xml.Serialization.XmlElementAttribute class.


[11223] Description


[11224] Initializes a new instance of the System.Xml.Serialization.XmlElementAttribute class.


[11225] XmlElementAttribute


[11226] Example Syntax:


[11227] ToString


[11228] [C#] public XmlElementAttribute(string elementName);


[11229] [C++] public: XmlElementAttribute(String* elementName);


[11230] [VB] Public Sub New(ByVal elementName As String)


[11231] [JScript] public function XmlElementAttribute(elementName : String);


[11232] Description


[11233] Initializes a new instance of the System.Xml.Serialization.XmlElementAttribute class and specifies the name of the XML element.


[11234] By default, the System.Xml.Serialization.XmlSerializer uses the member name as the XML element name when serializing a class instance. For example, a field named Vehicle generates an XML element named Vehicle. However, if you need a different element, such as Cars, pass it in the elementName parameter. The XML-element name of the serialized member.


[11235] XmlElementAttribute


[11236] Example Syntax:


[11237] ToString


[11238] [C#] public XmlElementAttribute(Type type);


[11239] [C++] public: XmlElementAttribute(Type* type);


[11240] [VB] Public Sub New(ByVal type As Type)


[11241] [JScript] public function XmlElementAttribute(type : Type);


[11242] Description


[11243] Initializes a new instance of the System.Xml.Serialization.XmlElementAttribute class, and specifies a derived type for the member to which the System.Xml.Serialization.XmlElementAttribute is applied—used by the System.Xml.Serialization.XmlSerializer when serializing or deserializing a containing object.


[11244] Use the type parameter to specify a type that is derived from a base class. For example, suppose a property named My Animal returns an Animal object. You want to enhance the object, so you create a new class named Mammal that inherits from the Animal class. To instruct the System.Xml.Serialization.XmlSerializer to accept the Mammal class when it serializes the MyAnimal property, pass the System.Type of the Mammal class to the constructor. The System.Type of an object derived from the member's type.


[11245] XmlElementAttribute


[11246] Example Syntax:


[11247] ToString


[11248] [C#] public XmlElementAttribute(string elementName, Type type);


[11249] [C++] public: XmlElementAttribute(String* elementName, Type* type);


[11250] [VB] Public Sub New(ByVal elementName As String, ByVal type As Type)


[11251] [JScript] public function XmlElementAttribute(elementName : String, type : Type);


[11252] Description


[11253] Initializes a new instance of the System.Xml.Serialization.XmlElementAttribute and specifies the name of the XML element and a derived type for the member to which the System.Xml.Serialization.XmlElementAttribute is applied—used when the System.Xml.Serialization.XmlSerializer serializes a containing object.


[11254] By default, the System.Xml.Serialization.XmlSerializer uses the member name as the XML element name when serializing a class instance. For example, a field named Vehicle generates an XML element named Vehicle. However, if you need a different element, such as Cars, pass it in the elementName parameter. The XML-element name of the serialized member. The System.Type of an object derived from the member's type.


[11255] DataType


[11256] ToString


[11257] [C#] public string DataType {get; set;}


[11258] [C++] public: _property String* get_DataType( );public: _property void set_DataType(String*);


[11259] [VB] Public Property DataType As String


[11260] [JScript] public function get DataType( ) : String;public function set DataType(String);


[11261] Description


[11262] Gets or sets the XML data type of the generated XML element.


[11263] The following table lists the XML data types with their NET equivalents. For the XML date and time data types, the .NET data type consists of a System.DateTime to which the System.Xml.Serialization.XmlElementAttribute has been applied with the System.Xml.Serialization.XmlElementAttribute.DataType set to “date” and “time”, respectively.


[11264] ElementName


[11265] ToString


[11266] [C#] public string ElementName {get; set;}


[11267] [C++] public: _property String* get_ElementName( );public: _property void set_ElementName(String*);


[11268] [VB] Public Property ElementName As String


[11269] [JScript] public function get ElementName( ) : String;public function set ElementName(String);


[11270] Description


[11271] Gets or sets the name of the generated XML element.


[11272] Specify an System.Xml.Serialization.XmlArrayItemAttribute.ElementName if you want the name of the generated XML element to differ from the member's identifier.


[11273] Form


[11274] ToString


[11275] [C#] public XmlSchemaForm Form {get; set;}


[11276] [C++] public: _property XmlSchemaForm get_Form( );public: _property void set_Form(XmlSchemaForm);


[11277] [VB] Public Property Form As XmlSchemaForm


[11278] [JScript] public function get Form( ) : XmlSchemaForm;public function set Form(XmlSchemaForm);


[11279] Description


[11280] Gets or sets a value indicating whether the element is qualified.


[11281] The System.Xml.Serialization.XmlAttributeAttribute.Form property determines whether an XML element is qualified or unqualified. The System.Xml.Serialization.XmlAttributeAttribute.Form property conforms to the 1999 http://www.w3.org specification “Namespaces in XML”.


[11282] IsNullable


[11283] ToString


[11284] [C#] public bool IsNullable {get; set;}


[11285] [C++] public: _property bool get_IsNullable( );public: _property void set_IsNullable(bool);


[11286] [VB] Public Property IsNullable As Boolean


[11287] [JScript] public function get IsNullable( ) : Boolean;public function set IsNullable(Boolean);


[11288] Description


[11289] Gets or sets a value indicating whether the System.Xml.Serialization.XmlSerializer should serialize a member that is set to null into the xsi:nil attribute set to true.


[11290] The XML schema specification for structures allows an XML document to explicitly signal that an element's content is missing. Such an element contains the attribute xsi:nil set to true. For more information, see the http://www.w3.org/TR/xmlschema-1/ specification named XML Schema Part 1: Structures.


[11291] Namespace


[11292] ToString


[11293] [C#] public string Namespace {get; set;}


[11294] [C++] public: _property String* get_Namespace( );public: _property void set_Namespace(String*);


[11295] [VB] Public Property Namespace As String


[11296] [JScript] public function get Namespace( ) : String;public function set Namespace(String);


[11297] Description


[11298] Gets or sets the namespace assigned to the XML element that results when the class is serialized.


[11299] The System.Xml.Serialization.XmlArrayItemAttribute.Namespace property conforms to the http://www.w3.org specification named Namespaces in XML.


[11300] Type


[11301] ToString


[11302] [C#] public Type Type {get; set;}


[11303] [C++] public: _property Type* get_Type( );public: _property void set_Type(Type*);


[11304] [VB] Public Property Type As Type


[11305] [JScript] public function get Type( ) : Type;public function set Type(Type);


[11306] Description


[11307] Gets or sets the object type used to represent the XML element.


[11308] Use the System.Xml.Serialization.XmlElementAttribute.Type property specify a derived type for a field or property.


[11309] TypeId


[11310] XmlElementAttributes class (System.Xml.Serialization)


[11311] ToString


[11312] Description


[11313] Represents a collection of System.Xml.Serialization.XmlElementAttribute, which the System.Xml.Serialization.XmlSerializer uses to override the default way it serializes a class.


[11314] The System.Xml.Serialization.XmlElementAttributes is returned by the System.Xml.Serialization.XmlAttributes.XmlElements property of the System.Xml.Serialization.XmlAttributes class. By using the System.Xml.Serialization.XmlAttributeOverrides and the System.Xml.Serialization.XmlAttributes class, you can override the default way that the System.Xml.Serialization.XmlSerializer serializes a class.


[11315] XmlElementAttributes


[11316] Example Syntax:


[11317] ToString


[11318] [C#] public XmlElementAttributes( );


[11319] [C++] public: XmlElementAttributes( );


[11320] [VB] Public Sub New( )


[11321] [JScript] public function XmlElementAttributes( );


[11322] Count


[11323] InnerList


[11324] Item


[11325] ToString


[11326] Description


[11327] Gets or sets an System.Xml.Serialization.XmlElementAttribute from the collection. The zero-based index of the collection member to get or set.


[11328] List


[11329] Add


[11330] [C#] public int Add(XmlElementAttribute attribute);


[11331] [C++] public: int Add(XmlElementAttribute* attribute);


[11332] [VB] Public Function Add(ByVal attribute As XmlElementAttribute) As Integer


[11333] [JScript] public function Add(attribute : XmlElementAttribute) : int;


[11334] Description


[11335] Adds an System.Xml.Serialization.XmlElementAttribute to the collection.


[11336] Return Value: The zero-based index of the newly added item. The System.Xml.Serialization.XmlElementAttribute to add.


[11337] Contains


[11338] [C#] public bool Contains(XmlElementAttribute attribute);


[11339] [C++] public: bool Contains(XmlElementAttribute* attribute);


[11340] [VB] Public Function Contains(ByVal attribute As XmlElementAttribute) As Boolean


[11341] [JScript] public function Contains(attribute : XmlElementAttribute) : Boolean;


[11342] Description


[11343] Gets a value that specifies whether the collections contains the specified object.


[11344] Return Value: true, if the object exists in the collection; otherwise, false. The XmlElementAttribute in question.


[11345] CopyTo


[11346] [C#] public void CopyTo(XmlElementAttribute[ ] array, int index);


[11347] [C++] public: void CopyTo(XmlElementAttribute* array[ ], int index);


[11348] [VB] Public Sub CopyTo(ByVal array( ) As XmlElementAttribute, ByVal index As Integer)


[11349] [JScript] public function CopyTo(array : XmlElementAttribute[ ], index: int);


[11350] Description


[11351] Copies the XmlElementAttributes, or a portion of it to a one-dimensional array. The System.Xml.Serialization.XmlElementAttribute array to copy to. The zero-based index in array at which copying begins.


[11352] IndexOf


[11353] [C#] public int IndexOf(XmlElementAttribute attribute);


[11354] [C++] public: int IndexOf(XmlElementAttribute* attribute);


[11355] [VB] Public Function IndexOf(ByVal attribute As XmlElementAttribute) As Integer


[11356] [JScript] public function IndexOf(attribute : XmlElementAttribute) : int;


[11357] Description


[11358] Gets the index of the specified System.Xml.Serialization.XmlElementAttribute.


[11359] Return Value: The zero-based index of the System.Xml.Serialization.XmlElementAttribute


[11360] Insert


[11361] [C#] public void Insert(int index, XmlElementAttribute attribute);


[11362] [C++] public: void Insert(int index, XmlElementAttribute* attribute);


[11363] [VB] Public Sub Insert(ByVal index As Integer, ByVal attribute As XmlElementAttribute)


[11364] [JScript] public function Insert(index : int, attribute : XmlElementAttribute);


[11365] Description


[11366] Inserts an System.Xml.Serialization.XmlElementAttribute into the collection. The zero-based index where the member will be added. The System.Xml.Serialization.XmlElementAttribute to insert.


[11367] Remove


[11368] [C#] public void Remove(XmlElementAttribute attribute);


[11369] [C++] public: void Remove(XmlElementAttribute* attribute);


[11370] [VB] Public Sub Remove(ByVal attribute As XmlElementAttribute)


[11371] [JScript] public function Remove(attribute : XmlElementAttribute);


[11372] Description


[11373] Removes the specified object from the collection. The XmlElementAttribute to remove from the collection.


[11374] XmlElementEventArgs class (System.Xml.Serialization)


[11375] ToString


[11376] Element


[11377] ToString


[11378] LineNumber


[11379] ToString


[11380] LinePosition


[11381] ToString


[11382] ObjectBeingDeserialized


[11383] ToString


[11384] XmlElementEventHandler delegate (System.Xml.Serialization)


[11385] ToString


[11386] XmlEnumAttribute class (System.Xml.Serialization)


[11387] ToString


[11388] Description


[11389] Controls how the System.Xml.Serialization.XmlSerializer serializes an enumeration member.


[11390] The System.Xml.Serialization.XmlEnumAttribute belongs to a family of attributes that controls how the System.Xml.Serialization.XmlSerializer serializes, or deserializes, an object. For a complete list of similar attributes, see the System.Xml.Serialization.XmlSerializer class.


[11391] XmlEnumAttribute


[11392] Example Syntax:


[11393] ToString


[11394] [C#] public XmlEnumAttribute( );


[11395] [C++] public: XmlEnumAttribute( );


[11396] [VB] Public Sub New( )


[11397] [JScript] public function XmlEnumAttribute( ); Initializes a new instance of the System.Xml.Serialization.XmlEnumAttribute class.


[11398] Description


[11399] Initializes a new instance of the System.Xml.Serialization.XmlEnumAttribute class.


[11400] You can use the System.Xml.Serialization.XmlEnumAttribute.#ctor to override an existing enumeration.


[11401] XmlEnumAttribute


[11402] Example Syntax:


[11403] ToString


[11404] [C+] public XmlEnumAttribute(string name);


[11405] [C++] public: XmlEnumAttribute(String* name);


[11406] [VB] Public Sub New(ByVal name As String)


[11407] [JScript] public function XmlEnumAttribute(name : String);


[11408] Description


[11409] Initializes a new instance of the System.Xml.Serialization.XmlEnumAttribute class, and specifies the XML value that the System.Xml.Serialization.XmlSerializer generates or recognizes (when it serializes or deserializes the enumeration, respectively).


[11410] In your code you can use the word XmlEnum instead of the longer System.Xml.Serialization.XmlEnumAttribute. The overriding name of the enumeration member.


[11411] Name


[11412] ToString


[11413] [C#] public string Name {get; set;}


[11414] [C++] public: _property String* get_Name( );public: _property void set_Name(String*);


[11415] [VB] Public Property Name As String


[11416] [JScript] public function get Name( ) : String;public function set Name(String);


[11417] Description


[11418] Gets or sets the value generated in an XML-document instance when the System.Xml.Serialization.XmlSerializer serializes an enumeration, or the value recognized when it deserializes the enumeration member.


[11419] Specify the System.Xml.Serialization.XmlEnumAttribute.Name when you want the generated XML data to differ from the enumeration identifier.


[11420] TypeId


[11421] XmlIgnoreAttribute class (System.Xml.Serialization)


[11422] ToString


[11423] Description


[11424] Instructs the System.Xml.Serialization.XmlSerializer.Serialize(System.IO.TextWriter,System.Object) method of the System.Xml.Serialization.XmlSerializer not to serialize the public field or public read/write property value.


[11425] The System.Xml.Serialization.XmlIgnoreAttribute belongs to a family of attributes that controls how the System.Xml.Serialization.XmlSerializer. serializes, or deserializes, an object. If you apply the System.Xml.Serialization.XmlIgnoreAttribute to any member of a class, the System.Xml.Serialization.XmlSerializer ignores the member when serializing or deserializing an instance of the class. For a complete list of similar attributes, see the System.Xml.Serialization.XmlSerializer class.


[11426] XmlIgnoreAttribute


[11427] Example Syntax:


[11428] ToString


[11429] [C#] public XmlIgnoreAttribute( );


[11430] [C++] public: XmlIgnoreAttributeo);


[11431] [VB] Public Sub New( )


[11432] [JScript] public function XmlIgnoreAttribute( );


[11433] Description


[11434] Initializes a new instance of the System.Xml.Serialization.XmlIgnoreAttribute class.


[11435] TypeId


[11436] XmlIncludeAttribute class (System.Xml.Serialization)


[11437] ToString


[11438] Description


[11439] Allows the System.Xml.Serialization.XmlSerializer to recognize a derived class when it serializes or deserializes an object.


[11440] Use the System.Xml.Serialization.XmlIncludeAttribute when you call the System.Xml.Serialization.XmlSerializer.Serialize(System.IO.TextWriter,System.Object) or System.Xml.Serialization.XmlSerializer.Deserialize(System.IO.Stream) method of the System.Xml.Serialization.XmlSerializer class.


[11441] XmlIncludeAttribute


[11442] Example Syntax:


[11443] ToString


[11444] [C#] public XmlIncludeAttribute(Type type);


[11445] [C++] public: XmlIncludeAttribute(Type* type);


[11446] [VB] Public Sub New(ByVal type As Type)


[11447] [JScript] public function XmlIncludeAttribute(type : Type);


[11448] Description


[11449] Initializes a new instance of the System.Xml.Serialization.XmlIncludeAttribute class. The System.Type of the object to include.


[11450] Type


[11451] ToString


[11452] [C#] public Type Type {get; set;}


[11453] [C++] public: _property Type* get_Type( );public: _property void set_Type(Type*);


[11454] [VB] Public Property Type As Type


[11455] [JScript] public function get Type( ) : Type;public function set Type(Type);


[11456] Description


[11457] Gets or sets the type of the object to include.


[11458] TypeId


[11459] XmlMapping class (System.Xml.Serialization)


[11460] ToString


[11461] Description


[11462] XmlMemberMapping class (System.Xml.Serialization)


[11463] ToString


[11464] Description


[11465] Any


[11466] ToString


[11467] [C#] public bool Any {get;}


[11468] [C++] public: _property bool get_Any( );


[11469] [VB] Public ReadOnly Property Any As Boolean


[11470] [JScript] public function get Any( ) : Boolean;


[11471] Description


[11472] ElementName


[11473] ToString


[11474] [C#] public string ElementName {get;}


[11475] [C++] public: _property String* get_ElementName( );


[11476] [VB] Public ReadOnly Property ElementName As String


[11477] [JScript] public function get ElementName( ) : String;


[11478] Description


[11479] MemberName


[11480] ToString


[11481] [C#] public string MemberName {get;}


[11482] [C++] public: _property String* get_MemberName( );


[11483] [VB] Public ReadOnly Property MemberName As String


[11484] [JScript] public function get MemberName( ) : String;


[11485] Description


[11486] Namespace


[11487] ToString


[11488] [C#] public string Namespace {get;}


[11489] [C++] public: _property String* get_Namespace( );


[11490] [VB] Public ReadOnly Property Namespace As String


[11491] [JScript] public function get Namespace( ) : String;


[11492] Description


[11493] TypeFullName


[11494] ToString


[11495] [C#] public string TypeFullName {get;}


[11496] [C++] public: _property String* get_TypeFullName( );


[11497] [VB] Public ReadOnly Property TypeFullName As String


[11498] [JScript] public function get TypeFullName( ) : String;


[11499] Description


[11500] TypeName


[11501] ToString


[11502] [C#] public string TypeName {get;}


[11503] [C++] public: _property String* get_TypeName( );


[11504] [VB] Public ReadOnly Property TypeName As String


[11505] [JScript] public function get TypeName( ) : String;


[11506] Description


[11507] TypeNamespace


[11508] ToString


[11509] [C#] public string TypeNamespace {get;}


[11510] [C++] public: _property String* get_TypeNamespace( );


[11511] [VB] Public ReadOnly Property TypeNamespace As String


[11512] [JScript] public function get TypeNamespacec( ) : String;


[11513] Description


[11514] XmlMembersMapping class (System.Xml.Serialization)


[11515] ToString


[11516] Description


[11517] Count


[11518] ToString


[11519] [C#] public int Count {get;}


[11520] [C++] public: _property int get_Count( );


[11521] [VB] Public ReadOnly Property Count As Integer


[11522] [JScript] public function get Count( ) : int;


[11523] Description


[11524] ElementName


[11525] ToString


[11526] [C#] public string ElementName {get;}


[11527] [C++] public: _property String* get_ElementName( );


[11528] [VB] Public ReadOnly Property ElementName As String


[11529] [JScript] public function get ElementName( ) : String;


[11530] Description


[11531] Item


[11532] ToString


[11533] [C#] public XmlMemberMapping this[int index] {get;}


[11534] [C++] public: _property XmlMemberMapping* get_Item(int index);


[11535] [VB] Public Default ReadOnly Property Item(ByVal index As Integer) As XmlMemberMapping


[11536] [JScript] returnValue=XmlMembersMappingObject.Item(index);


[11537] Description


[11538] Namespace


[11539] ToString


[11540] [C#] public string Namespace {get;}


[11541] [C++] public: _property String* get_Namespace( );


[11542] [VB] Public ReadOnly Property Namespace As String


[11543] [JScript] public function get Namespace( ) : String;


[11544] Description


[11545] TypeName


[11546] ToString


[11547] [C#] public string TypeName {get;}


[11548] [C++] public: _property String* get_TypeName( );


[11549] [VB] Public ReadOnly Property TypeName As String


[11550] [JScript] public function get TypeName( ) : String;


[11551] TypeNamespace


[11552] ToString


[11553] [C#] public string TypeNamespace {get;}


[11554] [C++] public: _property String* get_TypeNamespace( );


[11555] [VB] Public ReadOnly Property TypeNamespace As String


[11556] [JScript] public function get TypeNamespace( ) : String;


[11557] XmlNodeEventArgs class (System.Xml.Serialization)


[11558] ToString


[11559] Description


[11560] Provides data for the System.Xml.Serialization.XmlSerializer.UnknownNode event.


[11561] For more information about handling events, see.


[11562] LineNumber


[11563] ToString


[11564] [C#] public int LineNumber {get;}


[11565] [C++] public: _property int get_LineNumber( );


[11566] [VB] Public ReadOnly Property LineNumber As Integer


[11567] [JScript] public function get LineNumber( ) : int;


[11568] Description


[11569] Gets the line number of the unknown XML node.


[11570] LinePosition


[11571] ToString


[11572] [C#] public int LinePosition {get;}


[11573] [C++] public: _property int get_LinePosition( );


[11574] [VB] Public ReadOnly Property LinePosition As Integer


[11575] [JScript] public function get LinePosition( ) : int;


[11576] Description


[11577] Gets the position in the line of the unknown XML node.


[11578] LocalName


[11579] ToString


[11580] [C#] public string LocalName {get;}


[11581] [C++] public: _property String* get_LocalName( );


[11582] [VB] Public ReadOnly Property LocalName As String


[11583] [JScript] public function get LocalName( ) : String;


[11584] Description


[11585] Gets the XML local name of the XML node being deserialized.


[11586] The System.Xml.Serialization.XmlNodeEventArgs.LocalName property returns the local name (also known as a local part) of an XML qualified name. The System.Xml.Serialization.XmlNodeEventArgs.LocalName property conforms to the 1999 http://www.w3.org specification Namespaces in XML.


[11587] Name


[11588] ToString


[11589] [C#] public string Name {get;}


[11590] [C++] public: _property String* get_Name( );


[11591] [VB] Public ReadOnly Property Name As String


[11592] [JScript] public function get Name( ) : String;


[11593] Description


[11594] Gets the name of the XML node being deserialized.


[11595] NamespaceURI


[11596] ToString


[11597] [C#] public string NamespaceURI {get;}


[11598] [C++] public: _property String* get_NamespaceURI( );


[11599] [VB] Public ReadOnly Property NamespaceURI As String


[11600] [JScript] public function get NamespaceURI( ) : String;


[11601] Description


[11602] Gets the namespace URI that is associated with the XML node being deserialized.


[11603] NodeType


[11604] ToString


[11605] [C#] public XmlNodeType NodeType {get;}


[11606] [C++] public: Property XmlNodeType get NodeType( );


[11607] [VB] Public ReadOnly Property NodeType As XmlNodeType


[11608] [JScript] public function get NodeType( ) : XmlNodeType;


[11609] Description


[11610] Gets the type of the XML node being deserialized.


[11611] The System.Xml.XmlNodeType enumeration returns a description of the node being deserialized. For example, it returns “Comment” if the node is a comment.


[11612] ObjectBeingDeserialized


[11613] ToString


[11614] [C#] public object ObjectBeingDeserialized {get;}


[11615] [C++] public: _property Object* get_ObjectBeingDeserialized( );


[11616] [VB] Public ReadOnly Property ObjectBeingDeserialized As Object


[11617] [JScript] public function get ObjectBeingDeserialized( ) : Object;


[11618] Description


[11619] Gets the object being deserialized.


[11620] Text


[11621] ToString


[11622] [C#] public string Text {get;}


[11623] [C++] public: _property String* get_Text( );


[11624] [VB] Public ReadOnly Property Text As String


[11625] [JScript] public function get Text( ) : String;


[11626] Description


[11627] Gets the text of the XML node being deserialized.


[11628] XmlNodeEventHandler delegate (System.Xml.Serialization)


[11629] ToString


[11630] Description


[11631] Represents the method that will handle the System.Xml.Serialization.XmlSerializer.UnknownNode event of an System.Xml.Serialization.XmlSerializer. The source of the event. An System.Xml.Serialization.XmlNodeEventArgs that contains the event data.


[11632] When you create an System.Xml.Serialization.XmlNodeEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event handler delegates, see.


[11633] XmlReflectionImporter class (System.Xml.Serialization)


[11634] ToString


[11635] Description


[11636] XmlReflectionImporter


[11637] Example Syntax:


[11638] ToString


[11639] [C#] public XmlReflectionImporter( );


[11640] [C+#] public: XmlReflectionImporter( );


[11641] [VB] Public Sub New( )


[11642] [JScript] public function XmlReflectionImporter( );


[11643] Description


[11644] XmlReflectionImporter


[11645] Example Syntax:


[11646] ToString


[11647] [C#] public XmlReflectionImporter(string defaultNamespace);


[11648] [C++] public: XmlReflectionImporter(String* defaultNamespace);


[11649] [VB] Public Sub New(ByVal defaultNamespace As String)


[11650] [JScript] public function XmlReflectionImporter(defaultNamespace : String);


[11651] Description


[11652] XmlReflectionImporter


[11653] Example Syntax:


[11654] ToString


[11655] [C#] public XmlReflectionImporter(XmlAttributeOverrides attributeOverrides);


[11656] [C++] public: XmlReflectionImporter(XmlAttributeOverrides* attributeOverrides);


[11657] [VB] Public Sub New(ByVal attributeOverrides As XmlAttributeOverrides)


[11658] [JScript] public function XmlReflectionImporter(attributeOverrides : XmlAttributeOverrides);


[11659] Description


[11660] XmlReflectionImporter


[11661] Example Syntax:


[11662] ToString


[11663] [C#] public XmlReflectionImporter(XmlAttributeOverrides attributeOverrides, string defaultNamespace);


[11664] [C++] public: XmlReflectionImporter(XmlAttributeOverrides* attributeOverrides, String* defaultNamespace);


[11665] [VB] Public Sub New(ByVal attributeOverrides As XmlAttributeOverrides, ByVal defaultNamespace As String)


[11666] [JScript] public function XmlReflectionImporter(attributeOverrides : XmlAttributeOverrides, defaultNamespace : String);


[11667] Description


[11668] ImportMembersMapping


[11669] [C#] public XmlMembersMapping ImportMembersMapping(string elementName, string ns, XmlReflectionMember[ ] members, bool hasWrapperElement);


[11670] [C++] public: XmlMembersMapping* ImportMembersMapping(String* elementName, String* ns, XmlReflectionMember* members[ ], bool hasWrapperElement);


[11671] [VB] Public Function ImportMembersMapping(ByVal elementName As String, ByVal ns As String, ByVal members( ) As XmlReflectionMember, ByVal hasWrapperElement As Boolean) As XmlMembersMapping


[11672] [JScript] public function ImportMembersMapping(elementName : String, ns : String, members : XmlReflectionMember[ ], hasWrapperElement : Boolean) :


[11673] XmlMembersMapping;


[11674] Description


[11675] ImportTypeMapping


[11676] [C#] public XmlTypeMapping ImportTypeMapping(Type type);


[11677] [C++] public: XmlTypeMapping* ImportTypeMapping(Type* type);


[11678] [VB] Public Function ImportTypeMapping(ByVal type As Type) As XmlTypeMapping


[11679] [JScript] public function ImportTypeMapping(type : Type) : XmlTypeMapping;


[11680] Description


[11681] ImportTypeMapping


[11682] [C#] public XmlTypeMapping ImportTypeMapping(Type type, string defaultNamespace);


[11683] [C++] public: XmlTypeMapping* ImportTypeMapping(Type* type, String* defaultNamespace);


[11684] [VB] Public Function ImportTypeMapping(ByVal type As Type, ByVal defaultNamespace As String) As XmlTypeMapping


[11685] [JScript] public function ImportTypeMapping(type : Type, defaultNamespace : String) : XmlTypeMapping;


[11686] Description


[11687] ImportTypeMapping


[11688] [C#] public XmlTypeMapping ImportTypeMapping(Type type, XmlRootAttribute root);


[11689] [C++] public: XmlTypeMapping* ImportTypeMapping(Type* type, XmlRootAttribute* root);


[11690] [VB] Public Function ImportTypeMapping(ByVal type As Type, ByVal root As XmlRootAttribute) As XmlTypeMapping


[11691] [JScript] public function ImportTypeMapping(type : Type, root : XmlRootAttribute) : XmlTypeMapping;


[11692] Description


[11693] ImportTypeMapping


[11694] [C#] public XmlTypeMapping ImportTypeMapping(Type type, XmlRootAttribute root, string defaultNamespace);


[11695] [C++] public: XmlTypeMapping* ImportTypeMapping(Type* type, XmlRootAttribute* root, String* defaultNamespace);


[11696] [VB] Public Function ImportTypeMapping(ByVal type As Type, ByVal root As XmlRootAttribute, ByVal defaultNamespace As String) As XmlTypeMapping


[11697] [JScript] public function ImportTypeMapping(type : Type, root : XmlRootAttribute, defaultNamespace : String) : XmlTypeMapping;


[11698] Description


[11699] IncludeType


[11700] [C#] public void IncludeType(Type type);


[11701] [C++] public: void IncludeType(Type* type);


[11702] [VB] Public Sub IncludeType(ByVal type As Type)


[11703] [JScript] public function IncludeType(type : Type);


[11704] Description


[11705] IncludeTypes


[11706] [C#] public void IncludeTypes(ICustomAttributeProvider provider);


[11707] [C++] public: void IncludeTypes(ICustomAttributeProvider* provider);


[11708] [VB] Public Sub IncludeTypes(ByVal provider As ICustomAttributeProvider)


[11709] [JScript] public function IncludeTypes(provider : ICustomAttributeProvider);


[11710] Description


[11711] XmlReflectionMember class (System.Xml.Serialization)


[11712] ToString


[11713] Description


[11714] XmlReflectionMember


[11715] Example Syntax:


[11716] ToString


[11717] [C#] public XmlReflectionMember( );


[11718] [C++] public: XmlReflectionMember( );


[11719] [VB] Public Sub New( )


[11720] [JScript] public function XmlReflectionMember( );


[11721] IsReturnValue


[11722] ToString


[11723] [C#] public bool IsReturnValue {get; set;}


[11724] [C++] public: _property bool get_IsReturnValue);public: _property void set_IsReturnValue(bool);


[11725] [VB] Public Property IsReturnValue As Boolean


[11726] [JScript] public function get IsReturnValue( ) : Boolean;public function set IsReturnValue(Boolean);


[11727] Description


[11728] MemberName


[11729] ToString


[11730] [C#] public string MemberName {get; set;}


[11731] [C++] public: _property String* get_MemberName( );public: _property void set_MemberName(String*);


[11732] [VB] Public Property MemberName As String


[11733] [JScript] public function get MemberName( ) : String;public function set MemberName(String);


[11734] Description


[11735] MemberType


[11736] ToString


[11737] [C#] public Type MemberType {get; set;}


[11738] [C++] public: _property Type* get_MemberType( );public: _property void set_MemberType(Type*);


[11739] [VB] Public Property MemberType As Type


[11740] [JScript] public function get MemberType( ) : Type;public function set MemberType(Type);


[11741] Description


[11742] OverrideIsNullable


[11743] ToString


[11744] [C#] public bool OverrideIsNullable {get; set;}


[11745] [C++] public: _property bool get_OverrideIsNullable( );public: _property void set_OverrideIsNullable(bool);


[11746] [VB] Public Property OverrideIsNullable As Boolean


[11747] [JScript] public function get OverrideIsNullable( ) : Boolean;public function set OverrideIsNullable(Boolean);


[11748] SoapAttributes


[11749] ToString


[11750] [C#] public SoapAttributes SoapAttributes {get; set;}


[11751] [C++] public: _property SoapAttributes* get_SoapAttributeso);public: _property void set_SoapAttributes(SoapAttributes*);


[11752] [VB] Public Property SoapAttributes As SoapAttributes


[11753] [JScript] public function get SoapAttributes( ) : SoapAttributes;public function set SoapAttributes(SoapAttributes);


[11754] Description


[11755] XmlAttributes


[11756] ToString


[11757] [C#] public XmlAttributes XmlAttributes {get; set;}


[11758] [C++] public: _property XmlAttributes* get_XmlAttributes( );public: _property void set_XmlAttributes(XmlAttributes*);


[11759] [VB] Public Property XmlAttributes As XmlAttributes


[11760] [JScript] public function get XmlAttributes( ) : XmlAttributes;public function set XmlAttributes(XmlAttributes);


[11761] Description


[11762] XmlRootAttribute class (System.Xml.Serialization)


[11763] ToString


[11764] Description


[11765] Identifies a class, structure, enumeration, or interface as the root (or top-level) element of an XML-document instance.


[11766] The System.Xml.Serialization.XmlRootAttribute belongs to a family of attributes that controls how the System.Xml.Serialization.XmlSerializer serializes, or deserializes, an object. For a complete list of similar attributes, see the System.Xml.Serialization.XmlSerializer class.


[11767] XmlRootAttribute


[11768] Example Syntax:


[11769] ToString


[11770] [C#] public XmlRootAttribute( );


[11771] [C++] public: XmlRootAttribute( );


[11772] [VB] Public Sub New( )


[11773] [JScript] public function XmlRootAttribute( ); Initializes a new instance of the System.Xml.Serialization.XmlRootAttribute class, and uses the class name as the name of the XML root element.


[11774] Description


[11775] Initializes a new instance of the System.Xml.Serialization.XmlRootAttribute class.


[11776] XmlRootAttribute


[11777] Example Syntax:


[11778] ToString


[11779] [C#] public Xm.RootAttribute(string elementName( );


[11780] [C++] public: XmlRootAttribute(String* elementName);


[11781] [VB] Public Sub New(ByVal elementName As String)


[11782] [JScript] public function XmlRootAttribute(elementName : String);


[11783] Description


[11784] Initializes a new instance of the System.Xml.Serialization.XmlRootAttribute class, and specifies the name of the XML root element. The name of the XML root element.


[11785] DataType


[11786] ToString


[11787] [C#] public string DataType {get; set;}


[11788] [C++] public: _property String* get_DataType( );public: _property void set_DataType(String*);


[11789] [VB] Public Property DataType As String


[11790] [JScript] public function get DataType( ) : String;public function set DataType(String);


[11791] Description


[11792] Gets or sets the XML data type of the XML root element.


[11793] The following table lists the XML data types with their NET equivalents. For the XML date and time data types, the NET data type consists of a System.DateTime to which the System.Xml.Serialization.XmlElementAttribute has been applied with the System.Xml.Serialization.XmlElementAttribute.DataType set to “date” and “time”, respectively.


[11794] ElementName


[11795] ToString


[11796] [C#] public string ElementName {get; set;}


[11797] [C++] public: _property String* get_ElementName( );public: _property void set_ElementName(String*);


[11798] [VB] Public Property ElementName As String


[11799] [JScript] public function get ElementName( ) : String;public function set ElementName(String);


[11800] Description


[11801] Gets or sets the name of the XML element that is generated and recognized by the System.Xml.Serialization.XmlSerializer class's System.Xml.Serialization.XmlSerializer.Serialize(System.IO.TextWriter,System.Object) and System.Xml.Serialization.XmlSerializer.Deserialize(System.IO.Stream) methods, respectively.


[11802] Specify an System.Xml.Serialization.XmlArrayItemAttribute.ElementName if you want the name of the generated XML element to differ from the member's identifier.


[11803] Form


[11804] ToString


[11805] [C#] public XmlSchemaForm Form {get; set;}


[11806] [C++] public: property XmlSchemaForm get Form( );public: property void setForm(XmlSchemaForm);


[11807] [VB] Public Property Form As XmlSchemaForm


[11808] [JScript] public function get Form( ) : XmlSchemaForm;public function set Form(XmlSchemaForm);


[11809] Description


[11810] Gets or sets a value indicating whether the name of the XML root element is qualified.


[11811] The System.Xml.Serialization.XmlAttributeAttribute.Form property determines whether an XML element name is qualified, based on the http://www.w3.org specification Namespaces in XML.


[11812] IsNullable


[11813] ToString


[11814] [C#] public bool IsNullable {get; set;}


[11815] [C++] public: _property bool get_IsNullable( );public: _property void set_IsNullable(bool);


[11816] [VB] Public Property IsNullable As Boolean


[11817] [JScript] public function get IsNullable( ) : Boolean;public function set IsNullable(Boolean);


[11818] Description


[11819] Gets or sets a value indicating whether the System.Xml.Serialization.XmlSerializer should serialize a member that is set to null into the xsi:nil attribute set to true.


[11820] The XML schema specification for structures allows an XML document to explicitly signal that an element's content is missing. Such an element contains the attribute xsi:nil set to true. For more information, see the http://www.w3.org/TR/xmlschema-1/ specification named XML Schema Part 1: Structures


[11821] Namespace


[11822] ToString


[11823] [C#] public string Namespace {get; set;}


[11824] [C++] public: _property String* get_Namespace( );public: _property void setNamespace(String*);


[11825] [VB] Public Property Namespace As String


[11826] [JScript] public function get Namespace( ) : String;public function set


[11827] Namespace(String);


[11828] Description


[11829] Gets or sets the namespace for the XML root element.


[11830] The System.Xml.Serialization.XmlArrayItemAttribute.Namespace property conforms to the http://www.w3.org specification Namespaces in XML.


[11831] TypeId


[11832] Xml SchemaExporter class (System.Xml. Serialization)


[11833] ToString


[11834] Description


[11835] XmlSchemaExporter


[11836] Example Syntax:


[11837] ToString


[11838] [C#] public XmlSchemaExporter(XmlSchemas schemas);


[11839] [C++] public: XmlSchemaExporter(XmlSchemas* schemas);


[11840] [VB] Public Sub New(ByVal schemas As XmlSchemas)


[11841] [JScript] public function XmlSchemaExporter(schemas : XmlSchemas);


[11842] Description


[11843] ExportAnyType


[11844] [C#] public string ExportAnyType(string ns);


[11845] [C++] public: String* ExportAnyType(String* ns);


[11846] [VB] Public Function ExportAnyType(ByVal ns As String) As String


[11847] [JScript] public function ExportAnyType(ns : String) : String;


[11848] ExportMembersMapping


[11849] [C#] public void ExportMembersMapping(XmlMembersMapping xmlMembersMapping);


[11850] [C++] public: void ExportMembersMapping(XmlMembersMapping* xmlMembersMapping);


[11851] [VB] Public Sub ExportMembersMapping(ByVal xmlMembersMapping As XmlMembersMapping)


[11852] [JScript] public function ExportMembersMapping(xmlMembersMapping : XmlMembersMapping);


[11853] Description


[11854] ExportTypeMapping


[11855] [C#] public XmlQualifiedName ExportTypeMapping(XmlMembersMapping xmlMembersMapping);


[11856] [C++] public: XmlQualifiedName* ExportTypeMapping(XmlMembersMapping* xmlMembersMapping);


[11857] [VB] Public Function ExportTypeMapping(ByVal xmlMembersMapping As XmlMembersMapping) As XmlQualifiedName


[11858] [JScript] public function ExportTypeMapping(xmlMembersMapping : XmlMembersMapping) : XmlQualifiedName;


[11859] ExportTypeMapping


[11860] [C#] public void ExportTypeMapping(XmlTypeMapping xmlTypeMapping);


[11861] [C++] public: void ExportTypeMapping(XmlTypeMapping* xmlTypeMapping);


[11862] [VB] Public Sub ExportTypeMapping(ByVal xmlTypeMapping As XmlTypeMapping)


[11863] [JScript] public function ExportTypeMapping(xmlTypeMapping : XmlTypeMapping);


[11864] Description


[11865] XmlSchemaImporter class (System.Xml.Serialization)


[11866] ToString


[11867] Description


[11868] XmlSchemaImporter


[11869] Example Syntax:


[11870] ToString


[11871] [C#] public XmlSchemaImporter(XmlSchemas schemas);


[11872] [C++] public: XmlSchemaImporter(XmlSchemas* schemas);


[11873] [VB] Public Sub New(ByVal schemas As XmlSchemas)


[11874] [JScript] public function XmlSchemaImporter(schemas : XmlSchemas);


[11875] Description


[11876] XmlSchemaImporter


[11877] Example Syntax:


[11878] ToString


[11879] [C#] public XmlSchemaImporter(XmlSchemas schemas, CodeIdentifiers typeIdentifiers);


[11880] [C++] public: XmlSchemaImporter(XmlSchemas* schemas, CodeIdentifiers* typeIdentifiers);


[11881] [VB] Public Sub New(ByVal schemas As XmlSchemas, ByVal typeIdentifiers As CodeIdentifiers)


[11882] [JScript] public function XmlSchemaImporter(schemas : XmlSchemas, typeIdentifiers : CodeIdentifiers);


[11883] Description


[11884] ImportAnyType


[11885] [C#] public XmlMembersMapping ImportAnyType(XmlQualifiedName typeName, string elementName);


[11886] [C++] public: XmlMembersMapping* ImportAnyType(XmlQualifiedName* typeName, String* elementName);


[11887] [VB] Public Function ImportAnyType(ByVal typeName As XmlQualifiedName, ByVal elementName As String) As XmlMembersMapping


[11888] [JScript] public function ImportAnyType(typeName : XmlQualifiedName, elementName : String) : XmlMembersMapping;


[11889] ImportDerivedTypeMapping


[11890] [C#] public XmlTypeMapping ImportDerivedTypeMapping(XmlQualifiedName name, Type baseType);


[11891] [C++] public: XmlTypeMapping* ImportDerivedTypeMapping(XmlQualifiedName* name, Type* baseType);


[11892] [VB] Public Function ImportDerivedTypeMapping(ByVal name As XmlQualifiedName, ByVal baseType As Type) As XmlTypeMapping


[11893] [JScript] public function ImportDerivedTypeMapping(name : XmlQualifiedName, baseType : Type) : XmlTypeMapping;


[11894] Description


[11895] ImportDerivedTypeMapping


[11896] [C#] public XmlTypeMapping ImportDerivedTypeMapping(XmlQualifiedName name, Type baseType, bool baseTypeCanBeIndirect);


[11897] [C++] public: XmlTypeMapping* ImportDerivedTypeMapping(XmlQualifiedName* name, Type* baseType, bool baseTypeCanBeIndirect);


[11898] [VB] Public Function ImportDerivedTypeMapping(ByVal name As XmlQualifiedName, ByVal baseType As Type, ByVal baseTypeCanBeIndirect As Boolean) As XmlTypeMapping


[11899] [JScript] public function ImportDerivedTypeMapping(name : XmlQualifiedName, baseType : Type, baseTypeCanBeIndirect : Boolean) : XmlTypeMapping;


[11900] ImportMembersMapping


[11901] [C#] public XmlMembersMapping ImportMembersMapping(XmlQualifiedName name);


[11902] [C++] public: XmlMembersMapping* ImportMembersMapping(XmlQualifiedName* name);


[11903] [VB] Public Function ImportMembersMapping(ByVal name As XmlQualifiedName) As XmlMembersMapping


[11904] [JScript] public function ImportMembersMapping(name : XmlQualifiedName) : XmlMembersMapping;


[11905] Description


[11906] ImportMembersMapping


[11907] [C#] public XmlMembersMapping ImportMembersMapping(XmlQualifiedName[ ] names);


[11908] [C++] public: XmlMembersMapping* ImportMembersMapping(XmlQualifiedName* names[ ]);


[11909] [VB] Public Function ImportMembersMapping(ByVal names( ) As XmlQualifiedName) As XmlMembersMapping


[11910] [JScript] public function ImportMembersMapping(names : XmlQualifiedName[ ]) : XmlMembersMapping;


[11911] Description


[11912] ImportMembersMapping


[11913] [C#] public XmlMembersMapping ImportMembersMapping(XmlQualifiedName[ ] names, Type baseType, bool baseTypeCanBeIndirect);


[11914] [C++] public: XmlMembersMapping* ImportMembersMapping(XmlQualifiedName* names[ ], Type* baseType, bool baseTypeCanBeIndirect);


[11915] [VB] Public Function ImportMembersMapping(ByVal names( ) As XmlQualifiedName, ByVal baseType As Type, ByVal baseTypeCanBeIndirect As Boolean) As XmlMembersMapping


[11916] [JScript] public function ImportMembersMapping(names : XmlQualifiedName[ ], baseType : Type, baseTypeCanBeIndirect : Boolean) : XmlMembersMapping;


[11917] ImportTypeMapping


[11918] [C#] public XmlTypeMapping ImportTypeMapping(XmlQualifiedName name);


[11919] [C++] public: XmlTypeMapping* ImportTypeMapping(XmlQualifiedName* name);


[11920] [VB] Public Function ImportTypeMapping(ByVal name As XmlQualifiedName) As XmlTypeMapping


[11921] [JScript] public function ImportTypeMapping(name : XmlQualifiedName) : XmlTypeMapping;


[11922] Description


[11923] XmlSchemas class (System.Xml.Serialization)


[11924] ToString


[11925] Description


[11926] Represents the collection of XML schemas.


[11927] XmlSchemas


[11928] Example Syntax:


[11929] ToString


[11930] [C#] public XmlSchemas( );


[11931] [C++] public: XmlSchemas( );


[11932] [VB] Public Sub New( )


[11933] [JScript] public function XmlSchemas( );


[11934] Count


[11935] InnerList


[11936] Item


[11937] ToString


[11938] Description


[11939] Item


[11940] ToString


[11941] [C#] public XmlSchema this[string ns] {get;}


[11942] [C++] public: _property XmlSchema* get_Item(String* ns);


[11943] [VB] Public Default ReadOnly Property Item(ByVal ns As String) As XmlSchema


[11944] [JScript] returnValue=XmlSchemasObject.Item(ns);


[11945] Description


[11946] List


[11947] Add


[11948] [C#] public int Add(XmlSchema schema);


[11949] [C++] public: int Add(XmlSchema* schema);


[11950] [VB] Public Function Add(ByVal schema As XmlSchema) As Integer


[11951] [JScript] public function Add(schema : XmlSchema) : int;


[11952] Description


[11953] Add


[11954] [C#] public void Add(XmlSchemas schemas);


[11955] [C++] public: void Add(XmlSchemas* schemas);


[11956] [VB] Public Sub Add(ByVal schemas As XmlSchemas)


[11957] [JScript] public function Add(schemas : XmlSchemas);


[11958] Description


[11959] Contains


[11960] [C#] public bool Contains(XmlSchema schema);


[11961] [C++] public: bool Contains(XmlSchema* schema);


[11962] [VB] Public Function Contains(ByVal schema As XmlSchema) As Boolean


[11963] [JScript] public function Contains(schema : XmlSchema) : Boolean;


[11964] Description


[11965] CopyTo


[11966] [C#] public void CopyTo(XmlSchema[ ] array, int index);


[11967] [C++] public: void CopyTo(XmlSchema* array[ ], int index);


[11968] [VB] Public Sub CopyTo(ByVal array( ) As XmlSchema, ByVal index As Integer)


[11969] [JScript] public function CopyTo(array : XmlSchema[ ], index : int);


[11970] Description


[11971] Find


[11972] [C+] public object Find(XmlQualifiedName name, Type type);


[11973] [C++] public: Object* Find(XmlQualifiedName* name, Type* type);


[11974] [VB] Public Function Find(ByVal name As XmlQualifiedName, ByVal type As Type) As Object


[11975] [JScript] public function Find(name : XmlQualifiedName, type : Type) : Object;


[11976] Description


[11977] IndexOf


[11978] [C#] public int IndexOf(XmlSchema schema);


[11979] [C++] public: int IndexOf(XmlSchema* schema);


[11980] [VB] Public Function IndexOf(ByVal schema As XmlSchema) As Integer


[11981] [JScript] public function IndexOf(schema : XmlSchema) : int;


[11982] Description


[11983] Insert


[11984] [C#] public void Insert(int index, XmlSchema schema);


[11985] [C++] public: void Insert(int index, XmlSchema* schema);


[11986] [VB] Public Sub Insert(ByVal index As Integer, ByVal schema As XmlSchema)


[11987] [JScript] public function Insert(index : int, schema : XmlSchema);


[11988] Description


[11989] IsDataSet


[11990] [C#] public static bool IsDataSet(XmlSchema schema);


[11991] [C++] public: static bool IsDataSet(XmlSchema* schema);


[11992] [VB] Public Shared Function IsDataSet(ByVal schema As XmlSchema) As Boolean


[11993] [JScript] public static function IsDataSet(schema : XmlSchema) : Boolean;


[11994] Description


[11995] OnClear


[11996] [C#] protected override void OnClear( );


[11997] [C++] protected: void OnClear( );


[11998] [VB] Overrides Protected Sub OnClear( )


[11999] [JScript] protected override function OnClear( );


[12000] Description


[12001] OnInsert


[12002] [C#] protected override void OnInsert(int index, object value);


[12003] [C++] protected: void OnInsert(int index, Object* value);


[12004] [VB] Overrides Protected Sub OnInsert(ByVal index As Integer, ByVal value As Object)


[12005] [JScript] protected override function OnInsert(index : int, value : Object);


[12006] Description


[12007] OnRemove


[12008] [C#] protected override void OnRemove(int index, object value);


[12009] [C++] protected: void OnRemove(int index, Object* value);


[12010] [VB] Overrides Protected Sub OnRemove(ByVal index As Integer, ByVal value As Object)


[12011] [JScript] protected override function OnRemove(index : int, value : Object);


[12012] Description


[12013] OnSet


[12014] [C#] protected override void OnSet(int index, object oldValue, object newvalue);


[12015] [C++] protected: void OnSet(int index, Object* oldvalue, Object* newvalue);


[12016] [VB] Overrides Protected Sub OnSet(ByVal index As Integer, ByVal oldValue As Object, ByVal newValue As Object)


[12017] [JScript] protected override function OnSet(index : int, oldValue : Object, newValue : Object);


[12018] Description


[12019] Remove


[12020] [C#] public void Remove(XmlSchema schema);


[12021] [C++] public: void Remove(XmlSchema* schema);


[12022] [VB] Public Sub Remove(ByVal schema As XmlSchema)


[12023] [JScript] public function Remove(schema : XmlSchema);


[12024] Description


[12025] XmlSerializationCollectioinFixupCallback delegate (System.Xml.Serialization)


[12026] ToString


[12027] Description


[12028] XmlSerializationFixupCallback delegate (System.Xml.Serialization)


[12029] ToString


[12030] Description


[12031] XmlSerializationReadCallback delegate (System.Xml.Serialization)


[12032] ToString


[12033] Description


[12034] XmlSerializafionReader class (System.Xml.Serialization)


[12035] ToString


[12036] Description


[12037] XmlSerializationReader


[12038] Example Syntax:


[12039] ToString


[12040] [C#] protected XmlSerializationReader( );


[12041] [C++] protected: XmlSerializationReader( );


[12042] [VB] Protected Sub New( )


[12043] [JScript] protected function XmlSerializationReader( );


[12044] Document


[12045] ToString


[12046] [C#] protected XmlDocument Document {get;}


[12047] [C++] protected: _property XmlDocument* get_Document( );


[12048] [VB] Protected ReadOnly Property Document As XmlDocument


[12049] [JScript] protected function get Document( ) : XmlDocument;


[12050] Description


[12051] Reader


[12052] ToString


[12053] [C#] protected XmlReader Reader {get;}


[12054] [C++] protected: _property XmlReader* get_Reader( );


[12055] [VB] Protected ReadOnly Property Reader As XmlReader


[12056] [JScript] protected function get Reader( ) : XmlReader;


[12057] Description


[12058] AddFixup


[12059] [C#] protected void AddFixup(XmlSerializationReader.CollectionFixup fixup);


[12060] [C++] protected: void AddFixup(XmlSerializationReader.CollectionFixup* fixup);


[12061] [VB] Protected Sub AddFixup(ByVal fixup As XmlSerializationReader.CollectionFixup)


[12062] [JScript] protected function AddFixup(fixup: XmlSerializationReader.CollectionFixup);


[12063] Description


[12064] AddFixup


[12065] [C#] protected void AddFixup(XmlSerializationReader.Fixup fixup);


[12066] [C++] protected: void AddFixup(XmlSerializationReader.Fixup* fixup);


[12067] [VB] Protected Sub AddFixup(ByVal fixup As XmlSerializationReader.Fixup)


[12068] [JScript] protected function AddFixup(fixup : XmlSerializationReader.Fixup);


[12069] Description


[12070] AddReadCallback


[12071] [C#] protected void AddReadCallback(string name, string ns, Type type, XmlSerializationReadCallback read);


[12072] [C++] protected: void AddReadCallback(String* name, String* ns, Type* type, XmlSerializationReadCallback* read);


[12073] [VB] Protected Sub AddReadCallback(ByVal name As String, ByVal ns As String, ByVal type As Type, ByVal read As XmlSerializationReadCallback)


[12074] [JScript] protected function AddReadCallback(name : String, ns : String, type : Type, read : XmlSerializationReadCallback);


[12075] Description


[12076] AddTarget


[12077] [C#] protected void AddTarget(string id, object o);


[12078] [C++] protected: void AddTarget(String* id, Object* o);


[12079] [VB] Protected Sub AddTarget(ByVal id As String, ByVal o As Object)


[12080] [JScript] protected function AddTarget(id: String, o: Object);


[12081] Description


[12082] CreateAbstractTypeException


[12083] [C#] protected Exception CreateAbstractTypeException(string name, string ns);


[12084] [C++] protected: Exception* CreateAbstractTypeException(String* name, String* ns);


[12085] [VB] Protected Function CreateAbstractTypeException(ByVal name As String, ByVal ns As String) As Exception


[12086] [JScript] protected function CreateAbstractTypeException(name : String, ns : String) : Exception;


[12087] Description


[12088] CreateReadOnlyCollectionException


[12089] [C#] protected Exception CreateReadOnlyCollectionExceptiou(string name);


[12090] [C++] protected: Exception* CreateReadOnlyCollectionException(String* name);


[12091] [VB] Protected Function CreateReadOnlyCollectionException(ByVal name As String) As Exception


[12092] [JScript] protected function CreateReadOnlyCollectionException(name : String) : Exception;


[12093] Description


[12094] CreateUnknownConstantException


[12095] [C#] protected Exception CreateUnknownConstantException(string value, Type enumType);


[12096] [C++] protected: Exception* CreateUnknownConstantException(String* value, Type* enumType);


[12097] [VB] Protected Function CreateUnknownConstantException(ByVal value As String, ByVal enumType As Type) As Exception


[12098] [JScript] protected function CreateUnknownConstantException(value : String, enumType : Type) : Exception;


[12099] Description


[12100] CreateUnknownNodeException


[12101] [C#] protected Exception CreateunknownNodeException( );


[12102] [C++] protected: Exception* CreateUnknownNodeException( );


[12103] [VB] Protected Function CreateUnknownNodeException( ) As Exception


[12104] [JScript] protected Function CreateUnknownNodeException( ) : Exception;


[12105] Description


[12106] CreateUnknownTypeException


[12107] [C#] protected Exception CreateUnknownTypeException(XmlQualifiedName type);


[12108] [C++] protected: Exception* CreateUnknownTypeException(XmlQualifiedName* type);


[12109] [VB] Protected Function CreateUnknownTypeException(ByVal type As XmlQualifiedName) As Exception


[12110] [JScript] protected function CreateUnknownTypeException(type : XmlQualifiedName) : Exception;


[12111] Description


[12112] EnsureArrayIndex


[12113] [C++] protected Array EnsureArrayIndex(Array a, int index, Type elementtype);


[12114] [C++] protected: Array* EnsureArrayIndex(Array* a, int index, Type* elementType);


[12115] [VB] Protected Function EnsureArrayIndex(ByVal a As Array, ByVal index As Integer, ByVal elementType As Type) As Array


[12116] [JScript] protected function EnsureArrayIndex(a : Array, index : int, elementType : Type) : Array;


[12117] Description


[12118] FixupArrayRefs


[12119] [C#] protected void FixupArrayRefs(object fixup);


[12120] [C++] protected: void FixupArrayRefs(Object* fixup);


[12121] [VB] Protected Sub FixupArrayRefs(ByVal fixup As Object)


[12122] [JScript] protected function FixupArrayRefs(fixup: Object);


[12123] Description


[12124] GetArrayLength


[12125] [C+] protected int GetArrayLength(string name, string ns);


[12126] [C++] protected: int GetArrayLength(String* name, String* ns);


[12127] [VB] Protected Function GetArrayLength(ByVal name As String, ByVal ns As String) As Integer


[12128] [JScript] protected function GetArrayLength(name : String, ns : String) : int;


[12129] Description


[12130] GetNullAttr


[12131] [C+] protected bool GetNullAttr( );


[12132] [C++] protected: bool GetNullAttr( );


[12133] [VB] Protected Function GetNullAttr( ) As Boolean


[12134] [JScript] protected function GetNullAttr( ) : Boolean;


[12135] Description


[12136] GetTarget


[12137] [C#] protected object GetTarget(string id);


[12138] [C++] protected: Object* GetTarget(String* id);


[12139] [VB] Protected Function GetTarget(ByVal id As String) As Object


[12140] [JScript] protected function GetTarget(id : String) : Object;


[12141] Description


[12142] GetXsiType


[12143] [C#] protected XmlQualifiedName GetXsiType( );


[12144] [C++] protected: XmlQualifiedName* GetXsiType( );


[12145] [VB] Protected Function GetXsiType( ) As XmlQualifiedName


[12146] [JScript] protected function GetXsiType( ) : XmlQualifiedName;


[12147] Description


[12148] InitCallbacks


[12149] [C#] protected abstract void InitCallbacks( );


[12150] [C++] protected: virtual void InitCallbacks( );


[12151] [VB] MustOverride Protected Sub InitCallbacks( )


[12152] [JScript] protected abstract function InitCallbacks( );


[12153] Description


[12154] InitIDs


[12155] [C#] protected abstract void InitIDs( );


[12156] [C++] protected: virtual void InitIDs( );


[12157] [VB] MustOverride Protected Sub InitIDs( )


[12158] [JScript] protected abstract function InitIDs( );


[12159] Description


[12160] IsXmlnsAttribute


[12161] [C#] protected bool IsXmlnsAttribute(string name);


[12162] [C++] protected: bool IsXmlnsAttribute(String* name);


[12163] [VB] Protected Function IsXmlnsAttribute(ByVal name As String) As Boolean


[12164] [JScript] protected function IsXmlnsAttribute(name : String) : Boolean;


[12165] Description


[12166] ParseWsdlArrayType


[12167] [C#] protected void ParseWsdlArrayType(XmlAttribute attr);


[12168] [C++] protected: void ParseWsdlArrayType(XmlAttribute* attr);


[12169] [VB] Protected Sub ParseWsdlArrayType(ByVal attr As XmlAttribute)


[12170] [JScript] protected function ParseWsdlArrayType(attr : XmlAttribute);


[12171] Description


[12172] ReadElementQualifiedName


[12173] [C#] protected XmlQualifiedName ReadElementQualifiedName( );


[12174] [C++] protected: Xml QualifiedName* ReadElementQualifiedName( );


[12175] [VB] Protected Function ReadElementQualifiedName( ) As XmlQualifiedName


[12176] [JScript] protected function ReadlementQualifiedName( ) : XmlQualifiedName;


[12177] Description


[12178] ReadEndElement


[12179] [C#] protected void ReadEndElement( );


[12180] [C++] protected: void ReadEndElement( );


[12181] [VB] Protected Sub ReadEndElement( )


[12182] [JScript] protected function ReadEndElement( );


[12183] Description


[12184] ReadNull


[12185] [C#] protected bool ReadNull( );


[12186] [C++] protected: bool ReadNull( );


[12187] [VB] Protected Function ReadNull( ) As Boolean


[12188] [JScript] protected function ReadNull( ) : Boolean;


[12189] Description


[12190] ReadNullableQualifiedName


[12191] [C#] protected XmlQualifiedName ReadNullableQualifiedName( );


[12192] [C++] protected: Xml QualifiedName* ReadNullableQualifiedName( );


[12193] [VB] Protected Function ReadNullableQualifiedName( ) As XmlQualifiedName


[12194] [JScript] protected function ReadNullableQualifiedName( ) : XmlQualifiedName;


[12195] Description


[12196] ReadNullableString


[12197] [C#] protected string ReadNullableString( );


[12198] [C++] protected: String* ReadNullableString( );


[12199] [VB] Protected Function ReadNullableString( ) As String


[12200] [JScript] protected function ReadullableString( ) : String;


[12201] Description


[12202] ReadReference


[12203] [C#] protected bool ReadReference(out string fixupReference);


[12204] [C++] protected: bool ReadReference(String** fixupReference);


[12205] [VB] Protected Function ReadReference(ByRef fixupReference As String) As Boolean


[12206] [JScript] protected function ReadReference(fixupReference : String) : Boolean;


[12207] Description


[12208] ReadReferencedElement


[12209] [C#] protected object ReadReferencedElement( );


[12210] [C++] protected: Object* ReadReferencedElement( );


[12211] [VB] Protected Function ReadReferencedElement( ) As Object


[12212] [JScript] protected function ReadReferencedElement( ) : Object;


[12213] Description


[12214] ReadReferencedElement


[12215] [C#] protected object ReadReferencedElement(string name, string ns);


[12216] [C++] protected: Object* ReadReferencedElemenet(String* name, String* ns);,


[12217] [VB] Protected Function ReadReferencedElement(ByVal name As String, ByVal ns As String) As Object


[12218] [JScript] protected function ReadReferencedElement(name : String, ns : String): Object;


[12219] Description


[12220] ReadReferencedElements


[12221] [C#] protected void ReadReferencedElements( );


[12222] [C++] protected: void ReadReferencedElements( );


[12223] [VB] Protected Sub ReadReferencedElements( )


[12224] [JScript] protected function ReadReferencedElements( );


[12225] Description


[12226] ReadReferencingElement


[12227] [C#] protected object ReadReferencingElement(out string fixupReference);


[12228] [C++] protected: Object* ReadReferencingElement(String** fixupReference);


[12229] [VB] Protected Function ReadReferencingElement(ByRef fixupReference As String) As Object


[12230] [JScript] protected function ReadReferencingElement(fixupReference : String) : Object;


[12231] Description


[12232] ReadReferencingElement


[12233] [C#] protected object ReadReferencingElement(string name, string ns, out string fixupReference);


[12234] [C++] protected: Object* ReadReferencingElement(String* name, String* ns, String** fixupReference);


[12235] [VB] Protected Function ReadReferencingElement(ByVal name As String, ByVal ns As String, ByRef fixupReference As String) As Object


[12236] [JScript] protected function ReadReferencingElement(name: String, ns: String, fixupReference : String) : Object;


[12237] Description


[12238] ReadSerializable


[12239] [C+] protected IXmlSerializable ReadSerializable(IXmlSerializable serializable);


[12240] [C++] protected: IXmlSerializable* ReadSerializable(IXmlSerializable* serializable);


[12241] [VB] Protected Function ReadSerializable(ByVal serializable As IXmlSerializable) As IXmlSerializable


[12242] [JScript] protected function ReadSerializable(serializable : IXmlSerializable) IXmlSerializable;


[12243] Description


[12244] ReadString


[12245] [C#] protected string ReadString(string value);


[12246] [C++] protected: String* ReadString(String* value);


[12247] [VB] Protected Function ReadString(ByVal value As String) As String


[12248] [JScript] protected function ReadString(value : String) : String;


[12249] Description


[12250] ReadTypedPrimitive


[12251] [C#] protected object ReadTypedPrimitive(XmlQualifiedName type);


[12252] [C++] protected: Object* ReadTypedPrimitive(XmlQualifiedName* type);


[12253] [VB] Protected Function ReadTypedPrimitive(ByVal type As XmlQualifiedName) As Object


[12254] [JScript] protected function ReadTypedPrimitive(type : XmlQualifiedName) : Object;


[12255] Description


[12256] ReadXmlNode


[12257] [C#] protected XmlNode ReadXmlNode(bool wrapped);


[12258] [C++] protected: XmlNode* ReadXmlNode(bool wrapped);


[12259] [VB] Protected Function ReadXmlNode(ByVal wrapped As Boolean) As XmlNode


[12260] [JScript] protected function ReadXmlNode(wrapped : Boolean) : XmlNode;


[12261] Description


[12262] ShrinkArray


[12263] [C#] protected Array ShrinkArray(Array a, int length, Type elementType, bool isNullable);


[12264] [C++] protected: Array* ShrinkArray(Array* a, int length, Type* elementType, bool isNullable);


[12265] [VB] Protected Function ShrinkArray(ByVal a As Array, ByVal length As Integer, ByVal elementType As Type, ByVal isNullable As Boolean) As Array


[12266] [JScript] protected function ShrinkArray(a : Array, length : int, elementType : Type, isNullable : Boolean): Array;


[12267] Description


[12268] ToByteArray


[12269] [C#] protected static byte[ ] ToByteArray(string value);


[12270] [C++] protected: static unsigned char ToByteArray(String* value) _gc[ ];


[12271] [VB] Protected Shared Function ToByteArray(ByVal value As String) As Byte( )


[12272] [JScript] protected static function ToByteArray(value : String) : Byte[ ];


[12273] Description


[12274] ToByteArrayBase64


[12275] [C#] protected static byte[ ] ToByteArrayBase64(string value);


[12276] [C++] protected: static unsigned char ToByteArrayBase64(String* value) _gc[ ];


[12277] [VB] Protected Shared Function ToByteArrayBase64(ByVal value As String) As Byte( )


[12278] [JScript] protected static function ToByteArrayBase64(value : String) : Byte[ ];


[12279] Description


[12280] ToByteArrayHex


[12281] [C#] protected static byte[ ] ToByteArrayHex(string value);


[12282] [C++] protected: static unsigned char ToByteArrayHex(String* value) _gc[ ];


[12283] [VB] Protected Shared Function ToByteArrayHex(ByVal value As String) As Byte( )


[12284] [JScript] protected static function ToByteArrayHex(value : String) : Byte[ ];


[12285] Description


[12286] ToChar


[12287] [C#] protected static char ToChar(string value);


[12288] [C++] protected: static _wchar_t ToChar(String* value);


[12289] [VB] Protected Shared Function ToChar(ByVal value As String) As Char


[12290] [JScript] protected static function ToChar(value : String) : Char;


[12291] Description


[12292] ToDate


[12293] [C#] protected static DateTime ToDate(string value);


[12294] [C++] protected: static DateTime ToDate(String* value);


[12295] [VB] Protected Shared Function ToDate(ByVal value As String) As DateTime


[12296] [JScript] protected static function ToDate(value : String) : DateTime;


[12297] Description


[12298] ToDateTime


[12299] [C#] protected static DateTime ToDateTime(string value);


[12300] [C++] protected: static DateTime ToDateTimne(String* value);


[12301] [VB] Protected Shared Function ToDateTime(ByVal value As String) As DateTime


[12302] [JScript] protected static function ToDateTime(value : String) : DateTime;


[12303] Description


[12304] ToEnum


[12305] [C#] protected static long ToEnum(string value, Hashtable h, string typeName);


[12306] [C++] protected: static _int64 ToEnum(String* value, Hashtable* h, String* typeName);


[12307] [VB] Protected Shared Function ToEnum(ByVal value As String, ByVal h As Hashtable, ByVal typeName As String) As Long


[12308] [JScript] protected static function ToEnum(value : String, h : Hashtable, typeName : String) : long;


[12309] Description


[12310] ToTime


[12311] [C#] protected static DateTime ToTime(string value);


[12312] [C++] protected: static DateTime ToTime(String* value);


[12313] [VB] Protected Shared Function ToTime(ByVal value As String) As DateTime


[12314] [JScript] protected static function ToTime(value : String) : DateTime;


[12315] Description


[12316] ToXmlQualifiedName


[12317] [C#] protected XmlQualifiedName ToXmlQualifiedName(string value);


[12318] [C++] protected: XmlQualifiedName* ToXmlQualifiedName(String* value);


[12319] [VB] Protected Function ToXmlQualifiedName(ByVal value As String) As XmlQualifiedName


[12320] [JScript] protected function ToXmlQualifiedName(value : String) : XmlQualifiedName;


[12321] Description


[12322] UnknownAttribute


[12323] [C#] protected void UnknownAttribute(object o, XmlAttribute attr);


[12324] [C++] protected: void UnknownAttribute(Object* o, XmlAttribute* attr);


[12325] [VB] Protected Sub UnknownAttribute(ByVal o As Object, ByVal attr As XmlAttribute)


[12326] [JScript] protected function UnknownAttribute(o : Object, attr : XmlAttribute);


[12327] Description


[12328] UnknownElement


[12329] [C#] protected void UnknownElement(object o, XmlElement elem);


[12330] [C++] protected: void UnknownElement(Object* o, XmlElement* elem);


[12331] [VB] Protected Sub UnknownElement(ByVal o As Object, ByVal elem As XmlElement)


[12332] [JScript] protected function UnknownElement(o : Object, elem : XmlElement);


[12333] UnknownNode


[12334] [C#] protected void UnknownNode(object o);


[12335] [C++] protected: void UnknownNode(Object* o);


[12336] [VB] Protected Sub UnknownNode(ByVal o As Object)


[12337] [JScript] protected function UnknownNode(o : Object);


[12338] Description


[12339] UnreferencedObject


[12340] [C#] protected void UnreferencedObject(string id, object o);


[12341] [C++] protected: void Unreferencedobject(String* id, Object* o);


[12342] [VB] Protected Sub UnreferencedObject(ByVal id As String, ByVal o As Object)


[12343] [JScript] protected function UnreferencedObject(id: String, o : Object);


[12344] XmlSerializationWriteCallback delegate (System.Xml.Serialization)


[12345] UnreferencedObject


[12346] Description


[12347] XmlSerializationWriter class (System.Xml.Serialization)


[12348] UnreferencedObject


[12349] Description


[12350] XmlSerializationWriter


[12351] Example Syntax:


[12352] UnreferencedObject


[12353] [C#] protected XmlSerializationWriter( );


[12354] [C++] protected: XmlSerializationWriter( );


[12355] [VB] Protected Sub New( )


[12356] [JScript] protected function XmlSerializationWriter( );


[12357] Namespaces


[12358] UnreferencedObject


[12359] [C#] protected ArrayList Namespaces {get; set;}


[12360] [C++] protected: _property ArrayList* get_Namespaces( );protected: _property void set_Namespaces(ArrayList*);


[12361] [VB] Protected Property Namespaces As ArrayList


[12362] [JScript] protected function get Namespaces( ): ArrayList;protected function set Namespaces(ArrayList);


[12363] Description


[12364] Writer


[12365] UnreferencedObject


[12366] [C#] protected XmlWriter Writer {get; set;}


[12367] [C++] protected: _property XmlWriter* get_Writer( );protected: _property void set_Writer(XmlWriter*);


[12368] [VB] Protected Property Writer As XmlWriter


[12369] [JScript] protected function get Writer( ) : XmlWriter;protected function set Writer(XmlWriter);


[12370] Description


[12371] AddWriteCallback


[12372] [C#] protected void AddWriteCallback(Type type, string typeName, string typeNs, XmlSerializationWriteCallback callback);


[12373] [C++] protected: void AddWriteCallback(Type* type, String* typeName, String* typeNs, XmlSerializationWriteCallback* callback);


[12374] [VB] Protected Sub AddWriteCallback(ByVal type As Type, ByVal typeName As String, ByVal typeNs As String, ByVal callback As XmlSerializationWriteCallback)


[12375] [JScript] protected function AddWriteCallback(type : Type, typeName : String, typeNs : String, callback : XmlSerializationWriteCallback);


[12376] Description


[12377] CreateMismatchChoiceException


[12378] [C#] protected Exception CreateMismatchChoiceException(string value, string elementname, string enumvalue);


[12379] [C++] protected: Exception* CreateMismatchChoiceException(String* value, String* elementName, String* enumnvalue);


[12380] [VB] Protected Function CreateMismatchChoiceException(ByVal value As String, ByVal elementname As String, ByVal enumvalue As String) As Exception


[12381] [JScript] protected function CreateMismatchChoiceException(value : String, elementname : String, enumvalue : String) : Exception;


[12382] CreateUnknownTypeException


[12383] [C#] protected Exception CreateUnknownTypeException(object o);


[12384] [C++] protected: Exception* CreateUnknownTypeException(Object* o);


[12385] [VB] Protected Function CreateUnknownTypeException(ByVal o As Object) As Exception


[12386] [JScript] protected function CreateUnknownTypeException(o : Object) : Exception;


[12387] Description


[12388] CreateUnknownTypeException


[12389] [C#] protected Exception CreateUnknownTypeException(Type type);


[12390] [C++] protected: Exception* CreateUnknownTypeException(Type* type);


[12391] [VB] Protected Function CreateUnknownTypeException(ByVal type As Type) As Exception


[12392] [JScript] protected function CreateUnknownTypeException(type : Type) : Exception;


[12393] Description


[12394] FromByteArray


[12395] [C#] protected static string FromByteArray(byte[ ] value);


[12396] [C++] protected: static String* FromByteArray(unsigned char value _gc[ ]);


[12397] [VB] Protected Shared Function FromByteArray(ByVal value( ) As Byte) As String


[12398] [JScript] protected static function FromByteArray(value : Byte[ ]) : String;


[12399] Description


[12400] FromByteArrayBase64


[12401] [C#] protected static string FromByteArrayBase64(byte[ ] value);


[12402] [C++] protected: static String* FromByteArrayBase64(unsipned char value _gc[ ]);


[12403] [VB] Protected Shared Function FromByteArrayBase64(ByVal value( ) As Byte) As String


[12404] [JScript] protected static function FromByteArrayBase64(value: Byte[ ]) : String;


[12405] FromByteArrayHex


[12406] [C#] protected static string FromByteArrayHex(byte[ ] value);


[12407] [C++] protected: static String* FromByteArrayHex(unsigned char value _gc[ ]);


[12408] [VB] Protected Shared Function FromByteArrayHex(ByVal value( ) As Byte) As String


[12409] [JScript] protected static function FromByteArrayHex(value : Byte[ ]) : String;


[12410] FromChar


[12411] [C#] protected static string FromChar(char value);


[12412] [C++] protected: static String* FromChar(_wchar_t value);


[12413] [VB] Protected Shared Function FromChar(ByVal value As Char) As String


[12414] [JScript] protected static function FromChar(value : Char) : String;


[12415] FromDate


[12416] [C#] protected static string FromDate(DateTime value);


[12417] [C++] protected: static String* FromDate(DateTime value);


[12418] [VB] Protected Shared Function FromDate(ByVal value As DateTime) As String


[12419] [JScript] protected static function FromDate(value : DateTime) : String;


[12420] FromDateTime


[12421] [C#] protected static string FromDateTime(DateTime value);


[12422] [C++] protected: static String* FromDateTime(DateTime value);


[12423] [VB] Protected Shared Function FromDateTime(ByVal value As DateTime) As String


[12424] [JScript] protected static function FromDateTime(value : DateTime) : String;


[12425] FromEnum


[12426] [C#] protected static string FromEnum(long value, string[ ] values, long[ ] ids);


[12427] [C++] protected: static String* FromEnum(_int64 value, String* values _gc[ ], _int64 ids _gc[ ]);


[12428] [VB] Protected Shared Function FromEnum(ByVal value As Long, ByVal valueso As String, ByVal ids( ) As Long) As String


[12429] [JScript] protected static function FromEnum(value : long, values: String[ ], ids : long[ ]) : String;


[12430] FromTime


[12431] [C#] protected static string FromTime(DateTime value);


[12432] [C++] protected: static String* FromTime(DateTime value);


[12433] [VB] Protected Shared Function FromTime(ByVal value As DateTime) As String


[12434] [JScript] protected static function FromTime(value : DateTime) : String;


[12435] FromXmlQualifiedName


[12436] [C#] protected string FromXmlQualifiedName(XmlQualifiedName xmlQualifiedName);


[12437] [C++] protected: String* FromXmlQualifiedName(XmlQualifiedName* xmlQualifiedName);


[12438] [VB] Protected Function FromXmlQualifiedName(ByVal xmlQualifiedName As XmlQualifiedName) As String


[12439] [JScript] protected function FromXmlQualifiedName(xmlQualifiedName : XmlQualifiedName) : String;


[12440] Description


[12441] InitCallbacks


[12442] [C#] protected abstract void InitCallbacks( );


[12443] [C++] protected: virtual void InitCallbacks( );


[12444] [VB] MustOverride Protected Sub InitCallbacks( )


[12445] [JScript] protected abstract function InitCallbacks( );


[12446] Description


[12447] TopLevelElement


[12448] [C#] protected void TopLevelElement( );


[12449] [C++] protected: void TopLevelElement( );


[12450] [VB] Protected Sub TopLevelElement( )


[12451] [JScript] protected function TopLevelElement( );


[12452] WriteAttribute


[12453] [C#] protected void WriteAttribute(string localName, string value);


[12454] [C++] protected: void WriteAttribute(String* localName, String* value);


[12455] [VB] Protected Sub WriteAttribute(ByVal localName As String, ByVal value As String)


[12456] [JScript] protected function WriteAttribute(localName : String, value : String);


[12457] Description


[12458] WriteAttribute


[12459] [C#] protected void WriteAttribute(string localName, string ns, string value);


[12460] [C++] protected: void WriteAttribute(String* localName, String* ns, String* value);


[12461] [VB] Protected Sub WriteAttribute(ByVal localName As String, ByVal ns As String, ByVal value As String)


[12462] [JScript] protected function WriteAttribute(localName : String, ns : String, value : String);


[12463] Description


[12464] WriteAttribute


[12465] [C#] protected void WriteAttribute(string prefix, string localName, string ns, string value);


[12466] [C++] protected: void WriteAttribute(String* prefix, String* localName, String* ns, String* value);


[12467] [VB] Protected Sub WriteAttribute(ByVal prefix As String, ByVal localName As String, ByVal ns As String, ByVal value As String)


[12468] [JScript] protected function WriteAttribute(prefix : String, localName : String, ns : String, value : String);


[12469] Description


[12470] WriteElementEncoded


[12471] [C#] protected void WriteElementEncoded(XmlNode node, string name, string ns, bool isNullable, bool any);


[12472] [C++] protected: void WriteElementEncoded(XmlNode* node, String* name, String* ns, bool isNullable, bool any);


[12473] [VB] Protected Sub WriteElementEncoded(ByVal node As XmlNode, ByVal name As String, ByVal ns As String, ByVal isNullable As Boolean, ByVal any As Boolean)


[12474] [JScript] protected function WriteElementEncoded(node : XmlNode, name : String, ns : String, isNullable : Boolean, any : Boolean);


[12475] WriteElementLiteral


[12476] [C#] protected void WriteElementLiteral(XmlNode node, string name, string ns, bool isNullable, bool any);


[12477] [C++] protected: void WriteElementLiteral(XmlNode* node, String* name, String* ns, bool isNullable, bool any);


[12478] [VB] Protected Sub WriteElementLiteral(ByVal node As XmlNode, ByVal name As String, ByVal ns As String, ByVal isNullable As Boolean, ByVal any As Boolean)


[12479] [JScript] protected function WriteElementLiteral(node : XmlNode, name : String, ns : String, isNullable : Boolean, any : Boolean);


[12480] WriteElementQualifiedName


[12481] [C#] protected void WriteElementQualifiedName(string localName, XmlQualifiedName value);


[12482] [C++] protected: void WriteElementQualifiedName(String* localName, XmlQualifiedName* value);


[12483] [VB] Protected Sub WriteElementQualifiedName(ByVal localName As String, ByVal value As XmlQualifiedName)


[12484] [JScript] protected function WriteElementQualifiedName(localName : String, value : XmlQualifiedName);


[12485] Description


[12486] WriteElementQualifiedName


[12487] [C#] protected void WriteElementQualifiedName(string localName, string ns, XmlQualifiedName value);


[12488] [C++] protected: void WriteElementQualifiedName(String* localName, String* ns, XmlQualifiedName* value);


[12489] [VB] Protected Sub WriteElementQualifiedName(ByVal localName As String, ByVal ns As String, ByVal value As XmlQualifiedName)


[12490] [JScript] protected function WriteElementQualifiedName(localName : String, ns : String, value : XmlQualifiedName);


[12491] WriteElementQualifiedName


[12492] [C#] protected void WriteElementQualifiedName(string localName, XmlQualifiedName value, XmlQualifiedName xsiType);


[12493] [C++] protected: void WriteElementQualifiedName(String* localName, XmlQualifiedName* value, XmlQualifiedName* xsiType);


[12494] [VB] Protected Sub WriteElementQualifiedName(ByVal localName As String, ByVal value As XmlQualifiedName, ByVal xsiType As XmlQualifiedName)


[12495] [JScript] protected function WriteElementQualifiedName(localName : String, value : XmlQualifiedName, xsiType : XmlQualifiedName);


[12496] WriteElementQualifiedName


[12497] [C#] protected void WriteElementQualifiedName(string localName, string ns, XmlQualifiedName value, XmlQualifiedName xsiType);


[12498] [C++] protected: void WriteElementQualifiedName(String* localName, String* ns, XmlQualifiedName* value, XmlQualifiedName* xsiType);


[12499] [VB] Protected Sub WriteElementQualifiedName(ByVal localName As String, ByVal ns As String, ByVal value As XmlQualifiedName, ByVal xsiType As XmlQualifiedName)


[12500] [JScript] protected function WriteElementQualifiedName(localName : String, ns : String, value : XmlQualifiedName, xsiType : XmlQualifiedName);


[12501] WriteElementString


[12502] [C#] protected void WriteElementString(string localName, string value);


[12503] [C++] protected: void WriteElementString(String* localName, String* value);


[12504] [VB] Protected Sub WriteElementString(ByVal localName As String, ByVal value As String)


[12505] [JScript] protected function WriteElementString(localName : String, value : String);


[12506] Description


[12507] WriteElementString


[12508] [C#] protected void WriteElementString(string localName, string ns, string value);


[12509] [C++] protected: void WriteElementString(String* localName, String* ns, String* value);


[12510] [VB] Protected Sub WriteElementString(ByVal localName As String, ByVal ns As String, ByVal value As String)


[12511] [JScript] protected function WriteElementString(localName : String, ns : String, value : String);


[12512] Description


[12513] WriteElementString


[12514] [C#] protected void WriteElementString(string localName, string value, XmlQualifiedName xsiType);


[12515] [C++] protected: void WriteElementString(String* localName, String* value, XmlQualifiedName* xsiType);


[12516] [VB] Protected Sub WriteElementString(ByVal localName As String, ByVal value As String, ByVal xsiType As XmlQualifiedName)


[12517] [JScript] protected function WriteElementString(localName : String, value : String, xsiType : XmlQualifiedName);


[12518] WriteElementString


[12519] [C#] protected void WriteElementString(string localName, string ns, string value, XmlQualifiedName xsiType);


[12520] [C++] protected: void WriteElementString(String* localName, String* ns, String* value, XmlQualifiedName* xsiType);


[12521] [VB] Protected Sub WriteElementString(ByVal localName As String, ByVal ns As String, ByVal value As String, ByVal xsiType As XmlQualifiedName)


[12522] [JScript] protected function WriteElementString(localName : String, ns : String, value : String, xsiType : XmlQualifiedName);


[12523] WriteElementStringRaw


[12524] [C#] protected void WriteElementStringRaw(string localName, string value);


[12525] [C++] protected: void WriteElementStringRaw(String* localName, String* value);


[12526] [VB] Protected Sub WriteElementStringRaw(ByVal localName As String, ByVal value As String)


[12527] [JScript] protected function WriteElementStringRaw(localName : String, value : String);


[12528] WriteElementStringRaw


[12529] [C#] protected void WriteElementStringRaw(string localName, string ns, string value);


[12530] [C++] protected: void WriteElementStringRaw(String* localName, String* ns, String* value);


[12531] [VB] Protected Sub WriteElementStringRaw(ByVal localName As String, ByVal ns As String, ByVal value As String)


[12532] [JScript] protected function WriteElementStringRaw(localName : String, ns : String, value : String);


[12533] WriteElementStringRaw


[12534] [C#] protected void WriteElementStringRaw(string localName, string value, XmlQualifiedName xsiType);


[12535] [C++] protected: void WriteElementStringRaw(String* localName, String* value, XmlQualifiedName* xsiType);


[12536] [VB] Protected Sub WriteElementStringRaw(ByVal localName As String, ByVal value As String, ByVal xsiType As XmlQualifiedName)


[12537] [JScript] protected function WriteElementStringRaw(localName : String, value : String, xsiType : XmlQualifiedName);


[12538] WriteElementStringRaw


[12539] [C#] protected void WriteElementStringRaw(string localName, string ns, string value, XmlQualifiedName xsiType);


[12540] [C++] protected: void WriteElementStringRaw(String* localName, String* ns, String* value, XmlQualifiedName* xsiType);


[12541] [VB] Protected Sub WriteElementStringRaw(ByVal localName As String, ByVal ns As String, ByVal value As String, ByVal xsiType As XmlQualifiedName)


[12542] [JScript] protected function WriteElementStringRaw(localName : String, ns : String, value : String, xsiType : XmlQualifiedName);


[12543] WriteEmptyTag


[12544] [C#] protected void WriteEmptyTag(string name, string ns);


[12545] [C++] protected: void WriteEmptyTag(String* name, String* ns);


[12546] [VB] Protected Sub WriteEmptyTag(ByVal name As String, ByVal ns As String)


[12547] [JScript] protected function WriteEmptyTag(name : String, ns : String);


[12548] Description


[12549] WriteEndElement


[12550] [C#] protected void WriteEndElement( );


[12551] [C++] protected: void WriteEndElement( );


[12552] [VB] Protected Sub WriteEndElement( )


[12553] [JScript] protected function WriteEndElement( );


[12554] WriteEndElement


[12555] [C#] protected void WriteEndElement(object o);


[12556] [C++] protected: void WriteEndElemenet(Object* o);


[12557] [VB] Protected Sub WriteEndElement(ByVal o As Object)


[12558] [JScript] protected function WriteEndElement(o : Object);


[12559] WriteId


[12560] [C#] protected void WriteId(object o);


[12561] [C++] protected: void WriteId(Object* o);


[12562] [VB] Protected Sub WriteId(ByVal o As Object)


[12563] [JScript] protected function WriteId(o : Object);


[12564] Description


[12565] WriteNullableQualifiedNameEncoded


[12566] [C#] protected void WriteNullableQualifiedNameEncoded(string name, string ns, XmlQualifiedName value, XmlQualifiedName xsiType);


[12567] [C++] protected: void WriteNullableQualifiedNameEncoded(String* name, String* ns, XmlQualifiedName* value, XmlQualifiedName* xsiType);


[12568] [VB] Protected Sub WriteNullableQualifiedNameEncoded(ByVal name As String, ByVal ns As String, ByVal value As XmlQualifiedName, ByVal xsiType As XmlQualifiedName)


[12569] [JScript] protected function WriteNullableQualifiedNameEncoded(name : String, ns : String, value : XmlQualifiedName, xsiType : XmlQualifiedName);


[12570] WriteNullableQualifiedNameLiteral


[12571] [C#] protected void WriteNullableQualifiedNameLiteral(string name, string ns, XmlQualifiedName value);


[12572] [C++] protected: void WriteNullableQualifiedNameLiteral(String* name, String* ns, XmlQualifiedName* value);


[12573] [VB] Protected Sub WriteNullableQualifiedNameLiteral(ByVal name As String, ByVal ns As String, ByVal value As XmlQualifiedName)


[12574] [JScript] protected function WriteNullableQualifiedNameLiteral(name : String, ns : String, value : XmlQualifiedName);


[12575] WriteNullableStringEncoded


[12576] [C#] protected void WriteNullableStringEncoded(string name, string ns, string value, XmlQualifiedName xsiType);


[12577] [C++] protected: void WriteNullableStringEncoded(String* name, String* ns, String* value, XmlQualifiedName* xsiType);


[12578] [VB] Protected Sub WriteNullableStringEncoded(ByVal name As String, ByVal ns As String, ByVal value As String, ByVal xsiType As XmlQualifiedName)


[12579] [JScript] protected function WriteNullableStringEncoded(name : String, ns : String, value : String, xsiType : XmlQualifiedName);


[12580] WriteNullableStringEncodedRaw


[12581] [C#] protected void WriteNullableStringEncodedRaw(string name, string ns, string value, XmlQualifiedName xsiType);


[12582] [C++] protected: void WriteNullableStringEncodedRaw(String* name, String* ns, String* value, XmlQualifiedName* xsiType);


[12583] [VB] Protected Sub WriteNullableStringEncodedRaw(ByVal name As String, ByVal ns As String, ByVal value As String, ByVal xsiType As XmlQualifiedName)


[12584] [JScript] protected function WriteNullableStringEncodedRaw(name : String, ns : String, value : String, xsiType : XmlQualifiedName);


[12585] WriteNullableStringLiteral


[12586] [C#] protected void WriteNullableStringLiteral(string name, string ns, string value);


[12587] [C++] protected: void WriteNullableStringLiteral(String* name, String* ns, String* value);


[12588] [VB] Protected Sub WriteNullableStringLiteral(ByVal name As String, ByVal ns As String, ByVal value As String)


[12589] [JScript] protected function WriteNullableStringLiteral(name : String, ns : String, value : String);


[12590] WriteNullableStringLiteralRaw


[12591] [C#] protected void WriteNullableStringLiteralRaw(string name, string ns, string value);


[12592] [C++] protected: void WriteNullableStringLiteralRaw(String* name, String* ns, String* value);


[12593] [VB] Protected Sub WriteNullableStringLiteralRaw(ByVal name As String, ByVal ns As String, ByVal value As String)


[12594] [JScript] protected function WriteNullableStringLiteralRaw(name : String, ns : String, value : String);


[12595] WriteNullTagEncoded


[12596] [C#] protected void WriteNullTagEncoded(string name);


[12597] [C++] protected: void WriteNullTagEncoded(String* name);


[12598] [VB] Protected Sub WriteNullTagEncoded(ByVal name As String)


[12599] [JScript] protected function WriteNullTagEncoded(name : String);


[12600] WriteNullTagEncoded


[12601] [C#] protected void WriteNullTagEncoded(string name, string ns);


[12602] [C++] protected: void WriteNuIlTagEncoded(String* name, String* ns);


[12603] [VB] Protected Sub WriteNullTagEncoded(ByVal name As String, ByVal ns As String)


[12604] [JScript] protected function WriteNullTagEncoded(name : String, ns : String);


[12605] WriteNulTagLiteral


[12606] [C#] protected void WriteNullTagLiteral(string name);


[12607] [C++] protected: void WriteNullTagLiteral(String* name);


[12608] [VB] Protected Sub WriteNullTagLiteral(ByVal name As String)


[12609] [JScript] protected function WriteNullTagLiteral(name : String);


[12610] WriteNullTagLiteral


[12611] [C#] protected void WriteNuIlTagLiteral(string name, string ns);


[12612] [C++] protected: void WriteNullTagLiteral(String* name, String* ns);


[12613] [VB] Protected Sub WriteNullTagLiteral(ByVal name As String, ByVal ns As String)


[12614] [JScript] protected function WriteNullTagLiteral(name : String, ns : String);


[12615] Description


[12616] WritePotentiallyReferencingElement


[12617] [C#] protected void WritePotentiallyReferencingElement(string n, string ns, object o);


[12618] [C++] protected: void WritePotentiallyReferencingElement(String* n, String* ns, Object* o);


[12619] [VB] Protected Sub WritePotentiallyReferencingElement(ByVal n As String, ByVal ns As String, ByVal o As Object)


[12620] [JScript] protected function WritePotentiallyReferencingElement(n : String, ns String, o : Object);


[12621] Description


[12622] WritePotentiallyReferencingElement


[12623] [C#] protected void WritePotentiallyReferencingElement(string n, string ns, object o, Type ambientType);


[12624] [C++] protected: void WritePotentiallyReferencingElement(String* n, String* ns, Object* o, Type* ambientType);


[12625] [VB] Protected Sub WritePotentiallyReferencingElement(ByVal n As String, ByVal ns As String, ByVal o As Object, ByVal ambientType As Type)


[12626] [JScript] protected function WritePotentiallyReferencingElement(n : String, ns : String, o : Object, ambientType : Type);


[12627] Description


[12628] WritePotentiallyReferencingElement


[12629] [C#] protected void WritePotentiallyReferencingElement(string n, string ns, object o, Type ambientType, bool suppressReference);


[12630] [C++] protected: void WritePotentiallyReferencingElement(String* n, String* ns, Object* o, Type* ambientType, bool suppressReference);


[12631] [VB] Protected Sub WritePotentiallyReferencingElement(ByVal n As String, ByVal ns As String, ByVal o As Object, ByVal ambientType As Type, ByVal suppressReference As Boolean)


[12632] [JScript] protected function WritePotentiallyReferencingElement(n : String, ns : String, o : Object, ambientType : Type, suppressReference : Boolean);


[12633] WritePotentiallyReferencingElement


[12634] [C#] protected void WritePotentiallyReferencingElement(string n, string ns, object o, Type ambientType, bool suppressReference, bool isNullable);


[12635] [C++] protected: void WritePotentiallyReferencingElement(String* n, String* ns, Object* o, Type* ambientType, bool suppressReference, bool isNullable);


[12636] [VB] Protected Sub WritePotentiallyReferencingElement(ByVal n As String, ByVal ns As String, ByVal o As Object, ByVal ambientType As Type, ByVal suppressReference As Boolean, ByVal isNullable As Boolean)


[12637] [JScript] protected function WritePotentiallyReferencingElement(n : String, ns : String, o : Object, ambientType : Type, suppressReference : Boolean, isNullable : Boolean);


[12638] WriteReferencedElements


[12639] [C#] protected void WriteReferencedElements( );


[12640] [C++] protected: void WriteReferencedElements( );


[12641] [VB] Protected Sub WriteReferencedElements( )


[12642] [JScript] protected function WriteReferencedElements(;


[12643] Description


[12644] WriteReferencingElement


[12645] [C#] protected void WriteReferencingElement(string n, string ns, object o);


[12646] [C++] protected: void WriteReferencingElement(String* n, String* ns, Object* o);


[12647] [VB] Protected Sub WriteReferencingElement(ByVal n As String, ByVal ns As String, ByVal o As Object)


[12648] [JScript] protected function WriteReferencingElement(n : String, ns : String, o : Object);


[12649] Description


[12650] WriteReferencingElement


[12651] [C#] protected void WriteReferencingElement(string n, string ns, object o, bool isNullable);


[12652] [C++] protected: void WriteReferencingElement(String* n, String* ns, Object* o, bool isNullable);


[12653] [VB] Protected Sub WriteReferencingElement(ByVal n As String, ByVal ns As String, ByVal o As Object, ByVal isNullable As Boolean)


[12654] [JScript] protected ffunction WriteReferencingElement(n : String, ns : String, o : Object, isNullable : Boolean);


[12655] WriteSerializable


[12656] [C#] protected void WriteSerializable(IXmlSerializable serializable, string name, string ns, bool isNullable);


[12657] [C++] protected: void WriteSerializable(IXmlSerializable* serializable, String* name, String* ns, bool isNullable);


[12658] [VB] Protected Sub WriteSerializable(ByVal serializable As IXmlSerializable, ByVal name As String, ByVal ns As String, ByVal isNullable As Boolean)


[12659] [JScript] protected function WriteSerializable(serializable : IXmlSerializable, name : String, ns : String, isNullable : Boolean);


[12660] Description


[12661] WriteStartDocument


[12662] [C#] protected void WriteStartDocument( );


[12663] [C++] protected: void WriteStartDocument( );


[12664] [VB] Protected Sub WriteStartDocument( )


[12665] [JScript] protected function WriteStartDocument( );


[12666] Description


[12667] WriteStartElement


[12668] [C#] protected void WriteStartElement(string name);


[12669] [C++] protected: void WriteStartElement(String* name);


[12670] [VB] Protected Sub WriteStartElement(ByVal name As String)


[12671] [JScript] protected function WriteStartElement(name : String);


[12672] Description


[12673] WriteStartElement


[12674] [C#] protected void WriteStartElement(string name, string ns);


[12675] [C++] protected: void WriteStartElement(String* name, String* ns);


[12676] [VB] Protected Sub WriteStartElement(ByVal name As String, ByVal ns As String)


[12677] [JScript] protected function WriteStartElement(name : String, ns : String);


[12678] Description


[12679] WriteStartElement


[12680] [C#] protected void WriteStartElement(string name, string ns, bool writePrefixed);


[12681] [C++] protected: void WriteStartElement(String* name, String* ns, bool writePrefixed);


[12682] [VB] Protected Sub WriteStartElement(ByVal name As String, ByVal ns As String, ByVal writePrefixed As Boolean)


[12683] [JScript] protected function WriteStartElement(name : String, ns : String, writePrefixed : Boolean);


[12684] WriteStartElement


[12685] [C#] protected void WriteStartElement(string name, string ns, object o);


[12686] [C++] protected: void WriteStartElement(String* name, String* ns, Object* o);


[12687] [VB] Protected Sub WriteStartElement(ByVal name As String, ByVal ns As String, ByVal o As Object)


[12688] [JScript] protected function WriteStartElement(name : String, ns : String, o : Object);


[12689] WriteStartElement


[12690] [C#] protected void WriteStartElement(string name, string ns, object o, bool writePrefixed);


[12691] [C++] protected: void WriteStartElement(String* name, String* ns, Object* o, bool writePrefixed);


[12692] [VB] Protected Sub WriteStartElement(ByVal name As String, ByVal ns As String, ByVal o As Object, ByVal writePrefixed As Boolean)


[12693] [JScript] protected function WriteStartElement(name : String, ns : String, o : Object, writePrefixed : Boolean);


[12694] WriteTypedPrimitive


[12695] [C#] protected void WriteTypedPrimitive(string name, string ns, object o, bool xsiType);


[12696] [C++] protected: void WriteTypedPrimitive(String* name, String* ns, Object* o, bool xsiType);


[12697] [VB] Protected Sub WriteTypedPrimitive(ByVal name As String, ByVal ns As String, ByVal o As Object, ByVal xsiType As Boolean)


[12698] [JScript] protected function WriteTypedPrimitive(name : String, ns : String, o : Object, xsiType : Boolean);


[12699] Description


[12700] WriteXmlAttribute


[12701] [C#] protected void WriteXmlAttribute(XmlNode node);


[12702] [C++] protected: void WriteXmlAttribute(XmlNode* node);


[12703] [VB] Protected Sub WriteXmlAttribute(ByVal node As XmlNode)


[12704] [JScript] protected function WriteXmlAttribute(node : XmlNode);


[12705] WriteXsiType


[12706] [C#] protected void WriteXsiType(string name, string ns);


[12707] [C++] protected: void WriteXsiType(String* name, String* ns);


[12708] [VB] Protected Sub WriteXsiType(ByVal name As String, ByVal ns As String)


[12709] [JScript] protected function WriteXsiType(name : String, ns : String);


[12710] Description


[12711] XmlSerializer class (System.Xml.Serialization)


[12712] WriteXsiType


[12713] Description


[12714] Serializes and deserializes objects into and from XML-document instances. The System.Xml.Serialization.XmlSerializer enables you to control how objects are encoded into XML. Optionally, you can use the to generate classes that the serializer can encode into XML that adheres to a given XSD schema document.


[12715] XML serialization is the process of converting an object's public properties and fields to a serial format (in this case, XML) for storage or transport. Deserialization recreates the object—in its original state—from the XML output. You can thus think of serialization as a way of saving the state of an object into a stream or buffer. For example, ASP.Net web services uses the System.Xml.Serialization.XmlSerializer to encode web service messages.


[12716] XmlSerializer


[12717] Example Syntax:


[12718] WriteXsiType


[12719] [C#] protected XmlSerializer( );


[12720] [C++] protected: XmlSerializer( );


[12721] [VB] Protected Sub New( )


[12722] [JScript] protected function XmlSerializer( ); Constructs a new instance of the System.Xml.Serialization.XmlSerializer class.


[12723] Description


[12724] Constructs a new instance of the System.Xml.Serialization.XmlSerializer class.


[12725] XmlSerializer


[12726] Example Syntax:


[12727] WriteXsiType


[12728] [C#] public XmlSerializer(Type type);


[12729] [C++] public: XmlSerializer(Type* type);


[12730] [VB] Public Sub New(ByVal type As Type)


[12731] [JScript] public function XmlSerializer(type : Type);


[12732] Description


[12733] Initializes a new instance of the System.Xml.Serialization.XmlSerializer class that can serialize objects of the specified type into XML-document instances, and vice versa.


[12734] Commonly, an application defines several classes that the System.Xml.Serialization.XmlSerializer converts into a single XML-instance document. However, the System.Xml.Serialization.XmlSerializer needs only to know only one type—the type of the class that represents the XML root element. The System.Xml.Serialization.XmlSerializer automatically serializes all subordinate class instances. Similarly, only the type of the XML root element is needed for deserialization. The type of the object that this System.Xml.Serialization.XmlSerializer can serialize.


[12735] XmlSerializer


[12736] Example Syntax:


[12737] WriteXslType


[12738] [C#] public XmlSerializer(XmlTypeMapping xmlTypeMapping);


[12739] [C++] public: XmlSerializer(XmlTypeMapping* xmlTypeMapping);


[12740] [VB] Public Sub New(ByVal xmlTypeMapping As XmlTypeMapping)


[12741] [JScript] public function XmlSerializer(xmlTypeMapping : XmlTypeMapping); System.Xml.Serialization.XmlTypeMapping.


[12742] XmlSerializer


[12743] Example Syntax:


[12744] WriteXsiType


[12745] [C#] public XmlSerializer(Type type, string defaultNamespace);


[12746] [C++] public: XmlSerializer(Type* type, String* defaultNamespace);


[12747] [VB] Public Sub New(ByVal type As Type, ByVal defaultNamespace As String)


[12748] [JScript] public function XmlSerializer(type : Type, defaultNamespace : String);


[12749] Description


[12750] Initializes a new instance of the System.Xml.Serialization.XmlSerializer class that can serialize objects of the specified type into XML-document instances, and vice versa. Specifies the default namespace for all the XML elements. The type of the object that this System.Xml.Serialization.XmlSerializer can serialize. The default namespace to use for all the XML elements.


[12751] XmlSerializer


[12752] Example Syntax:


[12753] WriteXsiType


[12754] [C#] public XmlSerializer(Type type, Type[ ] extraTypes);


[12755] [C++] public: XmlSerializer(Type* type, Type* extraTypes[ ]);


[12756] [VB] Public Sub New(ByVal type As Type, ByVal extraTypes( ) As Type)


[12757] [JScript] public function XmlSerializer(type : Type, extraTypes : Type[ ]);


[12758] Description


[12759] Initializes a new instance of the System.Xml.Serialization.XmlSerializer class that can serialize objects of the specified type into XML-document instances, and vice versa. If a property or field returns an array, the extraTypes parameter specifies objects that can be inserted into the array.


[12760] By default, if a public property or field returns an object, or array of objects, the object types will be automatically serialized. However, if a class contains a field or property that returns an array of type System.Object, any object can be inserted into that array. In that case, the System.Xml.Serialization.XmlSerializer must be instructed to expect all of the possible object types that will be inserted into the System.Object array. To do this, use the extraTypes parameter to specify the extra object types to serialize or deserialize. The type of the object that this System.Xml.Serialization.XmlSerializer can serialize. A System.Type array of additional object types to serialize. See Remarks below.


[12761] XmlSerializer


[12762] Example Syntax:


[12763] WriteXsiType


[12764] [C#] public XmlSerializer(Type type, XmlAttributeOverrides overrides);


[12765] [C++] public: XmlSerializer(Type* type, XmlAttributeOverrides* overrides);


[12766] [VB] Public Sub New(ByVal type As Type, ByVal overrides As XmlAttributeOverrides)


[12767] [JScript] public function XmlSerializer(type : Type, overrides : XmlAttributeOverrides);


[12768] Description


[12769] Initializes a new instance of the System.Xml.Serialization.XmlSerializer class that can serialize objects of the specified type into XML-document instances, and vice versa. Each object to be serialized can itself contain instances of classes, which this overload can override with other classes.


[12770] The overrides parameter can be used to control how fields and properties are encoded in XML. These settings override any attributes that already exist on the objects. This can be useful when the source code can not be modified or multiple encodings are desired for the same classes. The type of the object to serialize. An System.Xml.Serialization.XmlAttributeOverrides.


[12771] XmlSerializer


[12772] Example Syntax:


[12773] WriteXsiType


[12774] [C#] public XmlSerializer(Type type, XmlRootAttribute root);


[12775] [C++] public: XmlSerializer(Type* type, XmlRootAttribute* root);


[12776] [VB] Public Sub New(ByVal type As Type, ByVal root As XmlRootAttribute)


[12777] [JScript] public function XmlSerializer(type : Type, root : XmlRootAttribute);


[12778] Description


[12779] Initializes a new instance of the System.Xml.Serialization.XmlSerializer class that can serialize objects of the specified type into XML-document instances, and vice versa. Specifies the class to use as the XML root element.


[12780] The root element of an XML document encloses all the other elements. By default, the object specified by the type parameter is serialized as the root element. Properties, such as the XML element name of the root element are taken from the type object. However, the root parameter allows you to supplant the default object's information by specifying an System.Xml.Serialization.XmlRootAttribute; the object allows you to set a different namespace, element name, and so on. The type of the object that this System.Xml.Serialization.XmlSerializer can serialize. An System.Xml.Serialization.XmlRootAttribute that represents the XML root element.


[12781] XmlSerializer


[12782] Example Syntax:


[12783] WriteXsiType


[12784] [C#] public XmlSerializer(Type type, XmlAttributeOverrides overrides, Type[ ] extraTypes, XmlRootAttribute root, string defaultNamespace);


[12785] [C++] public: XmlSerializer(Type* type, XmlAttributeOverrides* overrides, Type* extraTypes[ ], XmlRootAttribute* root, String* defaultNamespace);


[12786] [VB] Public Sub New(ByVal type As Type, ByVal overrides As XmlAttributeOverrides, ByVal extraTypeso As Type, ByVal root As XmlRootAttribute, ByVal defaultNamespace As String)


[12787] [JScript] public function XmlSerializer(type : Type, overrides : XmlAttributeOverrides, extraTypes: Type[ ], root : XmlRootAttribute, defaultNamespace : String); Initializes a new instance of the System.Xml.Serialization.XmlSerializer class.


[12788] Description


[12789] Initializes a new instance of the System.Xml.Serialization.XmlSerializer class that can serialize objects of the object type into XML document instances, and vice versa. Each object to be serialized can itself contain instances of classes, which this overload can override with other classes. This overload also specifies the default namespace for all the XML elements, and the class to use as the XML root element.


[12790] The overrides parameter allows for the creation of a serializer that serializes an overriding class. For example, given a DLL it's possible to create a class that inherits from the DLL. To serialize the overriding class, you must use an System.Xml.Serialization.XmlAttributeOverrides object when constructing the System.Xml.Serialization.XmlSerializer. For more details, see System.Xml.Serialization.XmlAttributeOverrides. The type of the object that this System.Xml.Serialization.XmlSerializer can serialize. An System.Xml.Serialization.XmlAttributeOverrides. See Remarks below. A System.Type array of additional object types to serialize. See Remarks below. An System.Xml.Serialization.XmlRootAttribute that defines the XML root element properties. The default namespace of all XML elements in the XML-document instance.


[12791] WriteXsiType


[12792] [C#] public event XmlAttributeEventHandler UnknownAttribute;


[12793] [C++] public: event XmlAttributeEventHandler* UnknownAttribute;


[12794] [VB] Public Event UnknownAttribute As XmlAttributeEventHandler


[12795] Description


[12796] Occurs when the System.Xml.Serialization.XmlSerializer encounters an XML attribute of unknown type during deserialization.


[12797] By default, after calling the System.Xml.Serialization.XmlSerializer.Deserialize(System.IO.Stream) method, the System.Xml.Serialization.XmlSerializer ignores XML attributes of unknown types. However, you can use this event to handle such node types.


[12798] WriteXsiType


[12799] [C#] public event XmlElementEventHandler UnknownElement;


[12800] [C++] public: event XmlElementEventHandler* UnknownElement;


[12801] [VB] Public Event UnknownElement As XmlElementEventHandler


[12802] Description


[12803] Occurs when the System.Xml.Serialization.XmlSerializer encounters an XML element of unknown type during deserialization.


[12804] By default, after calling the System.Xml.Serialization.XmlSerializer.Deserialize(System.IO.Stream) method, the System.Xml.Serialization.XmlSerializer ignores XML attributes of unknown types. However, you can use this event to handle such node types.


[12805] WriteXsiType


[12806] [C#] public event XmlNodeEventHandler UnknownNode;


[12807] [C++] public: event XmlNodeEventHandler* UnknownNode;


[12808] [VB] Public Event UnknownNode As XmlNodeEventHandler


[12809] Description


[12810] Occurs when the System.Xml.Serialization.XmlSerializer encounters an XML node of unknown type during deserialization.


[12811] By default, after calling the System.Xml.Serialization.XmlSerializer.Deserialize(System.IO.Stream) method, the System.Xml.Serialization.XmlSerializer ignores XML nodes of unknown types. However, you can use this event to handle such node types.


[12812] WriteXsiType


[12813] [C#] public event UnreferencedObjectEventHandler UnreferencedObject;


[12814] [C++] public: event UnreferencedObjectventHandler* UnreferencedObject;


[12815] [VB] Public Event UnreferencedObject As UnreferencedObjectEventHandler


[12816] Description


[12817] CanDeserialize


[12818] [C#] public virtual bool CanDeserialize(XmlReader xmlReader);


[12819] [C++] public: virtual bool CanDeserialize(XmlReader* xmlReader);


[12820] [VB] Overridable Public Function CanDeserialize(ByVal xmIReader As XmlReader) As Boolean


[12821] [JScript] public function CanDeserialize(xmlReader : XmlReader) : Boolean;


[12822] Description


[12823] Gets a value indicating whether this System.Xml.Serialization.XmlSerializer can deserialize a specified XML-document instance.


[12824] Return Value: true if an this System.Xml.Serialization.XmlSerializer can deserialize the object which the System.Xml.XmlReader points to; otherwise, false. An System.Xml.XmlReader that points to the document to deserialize.


[12825] CreateReader


[12826] ]C#] protected virtual XmlSerializationReader Create Reader ( );


[12827] [C++] protected: virtual XmlSerializationReader* CreateReader( );


[12828] [VB] Overridable Protected Function CreateReader( ) As XmlSerializationReader


[12829] [JScript] protected function CreateReader( ) : XmlSerializationReader;


[12830] Description


[12831] Returns an object used to read the XML-document instance to be serialized. Return Value: An XmlSerializationReader used to read the XML-document instance.


[12832] CreateWriter


[12833] [C#] protected virtual XmlSerializationWriter CreateWriter( );


[12834] [C++] protected: virtual XmlSerialhzationWriter* CreateWriter( );


[12835] [VB] Overridable Protected Function CreateWriter( ) As XmlSerializationWriter


[12836] [JScript] protected function CreateWriter( ) : XmlSerializationWriter;


[12837] Description


[12838] Deserialize


[12839] [C#] public object Deserialize(Stream stream);


[12840] [C++] public: Object* Deserialize(Stream* stream);


[12841] [VB] Public Function Deserialize(ByVal stream As Stream) As Object


[12842] [JScript] public function Deserialize(stream : Stream) : Object; Deserializes an


[12843] XML-document instance.


[12844] Description


[12845] Deserializes the XML-document instance contained by the specified System.IO.Stream.


[12846] Return Value: The System.Object being deserialized.


[12847] Deserialization is the process of reading an XML-document instance and constructing an object that is strongly typed to the XML schema of the document. The System.IO.Stream containing the XML-document instance to deserialize.


[12848] Deserialize


[12849] [C#] public object Deserialize(TextReader textreader);


[12850] [C++] public: Object* Deserialize(TextReader* textreader);


[12851] [VB] Public Function Deserialize(ByVal textreader As TextReader) As Object


[12852] [JScript] public function Deserialize(textReader : TextReader) : Object;


[12853] Description


[12854] Deserializes the XML-document instance contained by the specified System.IO.TextReader.


[12855] Return Value: The System.Object being deserialized.


[12856] Deserialization is the process of reading an XML instance document and constructing an object that is strongly typed to the XML schema of the document. The System.IO.TextReader containing the XML-document instance to deserialize.


[12857] Deserialize


[12858] [C#] public object Deserialize(XmlReader xmlReader);


[12859] [C++] public: Object* Deserialize(XmlReader* xmlReader);


[12860] [VB] Public Function Deserialize(ByVal xmlReader As XmlReader) As Object


[12861] [JScript] public function Deserialize(xmIReader : XmlReader) : Object;


[12862] Description


[12863] Deserializes the XML-document instance contained by the specified System.xml.XmlReader.


[12864] Return Value: The System.Object being deserialized.


[12865] Deserialization is the process of reading an XML instance document and constructing an object that is strongly typed to the XML schema of the document. The System.xml.XmlReader containing the XML-document instance to deserialize.


[12866] Deserialize


[12867] [C#] protected virtual object Deserialize(XmlSerializationReader reader);


[12868] [C++] protected: virtual Object* Deserialize(XmlSerializationReader* reader);


[12869] [VB] Overridable Protected Function Deserialize(ByVal reader As XmlSerializationReader) As Object


[12870] [JScript] protected function Deserialize(reader : XmlSerializationReader) : Object;


[12871] Description


[12872] FromMappings


[12873] [C#] public static XmlSerializer[ ] FromMappings(XmlMapping[ ] mappings);


[12874] [C++] public: static XmlSerializer* FromMappings(XmlMapping* mappings[ ]) [ ];


[12875] [VB] Public Shared Function FromMappings(ByVal mappings( ) As XmlMapping) As XmlSerializer( )


[12876] [JScript] public static function FromMappings(mappings : XmlMapping[ ]): XmlSerializer[ ];


[12877] Description


[12878] FromTypes


[12879] [C#] public static Xm.Serializer[ ] FromTypes(Type[ ] types);


[12880] [C++] public: static XmlSerializer* FromTypes(Type* types[ ])


[12881] [VB] Public Shared Function FromTypes(ByVal types( ) As Type) As XmlSerializer( )


[12882] [JScript] public static function FromTypes(types: Type[ ]) : XmlSerializer[ ];


[12883] Description


[12884] Returns an array of System.Xml.Serialization.XmlSerializer objects created from an array of types.


[12885] Return Value: An array of System.Xml.Serialization.XmlSerializer objects.


[12886] The System.Xml.Serialization.XmlSerializer.FromTypes(System.Type[ ]) method allows you to efficiently create an array of System.Xml.Serialization.XmlSerializer objects for processing an array of System.Type objects. An array of System.Type objects.


[12887] Serialize


[12888] [C#] protected virtual void Serialize(object o, XmlSerializationWriter writer);


[12889] [C++] protected: virtual void Serialize(Object* o, XmlSerializationWriter* writer);


[12890] [VB] Overridable Protected Sub Serialize(ByVal o As Object, ByVal writer As XmlSerializationWriter)


[12891] [JScript] protected function Serialize(o : Object, writer : XmlSerializationWriter);


[12892] Description


[12893] Serialize


[12894] [C#] public void Serialize(Stream stream, object o);


[12895] [C++] public: void Serialize(Stream* stream, Object* o);


[12896] [VB] Public Sub Serialize(ByVal stream As Stream, ByVal o As Object)


[12897] [JScript] public function Serialize(stream : Stream, o : Object);


[12898] Description


[12899] Serializes the specified System.Object and writes the XML-document instance to a file using the specified System.IO.Stream.


[12900] The System.Xml.Serialization.XmlSerializer.Serialize(System.IO.TextWriter,System.Object) method converts the public fields and read/write properties of an object into Extensible Markup Language (XML). It does not convert methods, indexers, private fields, or read-only properties. To serialize all of an object's fields and properties, both public and private, use the System.Runtime.Serialization.Formatters.Binary.BinaryFormatter. The System.IO.Stream used to write the XML-document instance. The System.Object to serialize.


[12901] Serialize


[12902] [C#] public void Serialize(TextWriter textWriter, object o);


[12903] [C++] public: void Serialize(TextWriter* textWriter, Object* o);


[12904] [VB] Public Sub Serialize(ByVal textWriter As TextWriter, ByVal o As Object)


[12905] [JScript] public function Serialize(textWriter : TextWriter, o : Object); Serializes an object into an XML-document instance.


[12906] Description


[12907] Serializes the specified System.Object and writes the XML-document instance to a file using the specified System.IO.TextWriter.


[12908] The System.Xml.Serialization.XmlSerializer.Serialize(System.IO.TextWriter,System.Object) method converts the public fields and read/write properties of an object into Extensible Markup Language (XML). It does not convert methods, indexers, private fields, or read-only properties. To serialize all of an object's fields and properties, both public and private, use the System.Runtime.Serialization.Formatters.Binary.BinaryFormatter. The System.IO.TextWriter used to write the XML-document instance. The System.Object to serialize.


[12909] Serialize


[12910] [C#] public void Serialize(XmlWriter xmlWriter, object o);


[12911] [C++] public: void Serialize(XmlWriter* xmlwriter, Object* o);


[12912] [VB] Public Sub Serialize(ByVal xmlWriter As XmlWriter, ByVal o As Object)


[12913] [JScript] public function Serialize(xmlWriter : XmlWriter, o : Object);


[12914] Description


[12915] Serializes the specified System.Object and writes the XML-document instance to a file using the specified System.Xml.XmlWriter.


[12916] The System.Xml.Serialization.XmlSerializer.Serialize(System.IO.TextWriter,System.Object) method converts the public fields and read/write properties of an object into Extensible Markup Language (XML). It does not convert methods, indexers, private fields, or read-only properties. To serialize all of an object's fields and properties, both public and private, use the System.Runtime.Serialization.Formatters.Binary.BinaryFormatter. The System.xml.XmlWriter used to write the XML-document instance. The System.Object to serialize.


[12917] Serialize


[12918] [C#] public void Serialize(Stream stream, object o, XmlSerializerNamespaces namespaces);


[12919] [C++] public: void Serialize(Stream* stream, Object* o, XmlSerializerNamespaces* namespaces);


[12920] [VB] Public Sub Serialize(ByVal stream As Stream, ByVal o As Object, ByVal namespaces As XmlSerializerNamespaces)


[12921] [JScript] public function Serialize(stream : Stream, o : Object, namespaces XmlSerializerNamespaces);


[12922] Description


[12923] Serializes the specified System.Object and writes the XML-document instance to a file using the specified System.IO.Stream, referencing the specified namespaces.


[12924] When the Serialize method is invoked the public fields and read/write properties of an object are converted into Extensible Markup Language (XML). Methods, indexers, private fields, and read-only properties are not serialized. To serializes all fields and properties, both public and private, use the System.Runtime.Serialization.Formatters.Binary.BinaryFormatter. The System.IO.Stream used to write the XML-document instance. The System.Object to serialize. The System.Xml.Serialization.XmlSerializerNamespaces referenced by the object.


[12925] Serialize


[12926] [C#] public void Serialize(TextWriter textWriter, object o, XmlSerializerNamespaces namespaces);


[12927] [C++] public: void Serialize(TextWriter* textWriter, Object* o, XmlSerializerNamespaces* namespaces);


[12928] [VB] Public Sub Serialize(ByVal textWriter As TextWriter, ByVal o As Object, ByVal namespaces As XmlSerializerNamespaces)


[12929] [JScript] public function Serialize(textWriter : TextWriter, o : Object, namespaces : XmlSerializerNamespaces);


[12930] Description


[12931] Serializes the specified System.Object and writes the XML-document instance to a file using the specified System.IO.TextWriter, referencing the specified namespaces.


[12932] When the System.Xml.Serialization.XmlSerializer.Serialize(System.IO.TextWriter,System.Object) method is invoked the public fields and read/write properties of an object are converted into Extensible Markup Language (XML). Methods, indexers, private fields, and read-only properties are not serialized. To serialize all fields and properties, both public and private, use the System.Runtime.Serialization.Formatters.Binary.BinaryFormatter. The System.IO.TextWriter used to write the XML-document instance. The System.Object to serialize. The System.Xml.Serialization.XmlSerializerNamespaces containing namespaces for the generated XML document.


[12933] Serialize


[12934] [C#] public void Serialize(XmlWriter xmlWriter, object o, XmlSerializerNamespaces namespaces);


[12935] [C++] public: void Serialize(XmlWriter* xmlWriter, Object* o, XmlSerializerNamespaces* namespaces);


[12936] [VB] Public Sub Serialize(ByVal xmlWriter As XmlWriter, ByVal o As Object, ByVal namespaces As XmlSerializerNamespaces)


[12937] [JScript] public function Serialize(xmlWriter : XmlWriter, o : Object, namespaces : XmlSerializerNamespaces);


[12938] Description


[12939] Serializes the specified System.Object and writes the XML-document instance to a file using the specified System.Xml.XmlWriter, referencing the specified namespaces.


[12940] When the System.Xml.Serialization.XmlSerializer.Serialize(System.IO.TextWriter,System.Object) method is invoked the public fields and read/write properties of an object are converted into Extensible Markup Language (XML). Methods, indexers, private fields, and read-only properties are not serialized. To serialize all fields and properties, both public and private, use the System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.The System.xml.XmlWriter used to write the XML-document instance. The System.Object to serialize. The System.Xml.Serialization.XmlSerializerNamespaces referenced by the object.


[12941] XmlSerializerNamespaces class (System.Xml.Serialization)


[12942] ToString


[12943] Description


[12944] Contains the XML namespaces and prefixes that the System.Xml.Serialization.XmlSerializer uses to generate qualified names in an XML-document instance.


[12945] The System.Xml.Serialization.XmlSerializerNamespaces contains a collection of XML namespaces, each with an associated prefix. The System.Xml.Serialization.XmlSerializer uses an instance of the System.Xml.Serialization.XmlSerializerNamespaces class to create qualified names in an XML-document instance.


[12946] XmlSerializerNamespaces


[12947] Example Syntax:


[12948] ToString


[12949] [C#] public XmlSerializerNamespaces( );


[12950] [C++] public: XmlSerializerNamespaces( );


[12951] [VB] Public Sub New( )


[12952] [JScript] public function XmlSerializerNamespaces( ); Initializes a new instance of the System.Xml.Serialization.XmlSerializerNamespaces class.


[12953] Description


[12954] Initializes a new instance of the System.Xml.Serialization.XmlSerializerNamespaces class.


[12955] XmlSerializerNamespaces


[12956] Example Syntax:


[12957] ToString


[12958] [C#] public XmlSerializerNamespaces(XmlQualifiedName[ ] namespaces);


[12959] [C++] public: XmlSerializerNamespaces(XmlQualifiedName* namespaces[ ]);


[12960] [VB] Public Sub New(ByVal namespaceso As XmlQualifiedName)


[12961] [JScript] public function XmlSerializerNamespaces(namespaces : XmlQualifiedName[ ]);


[12962] Description


[12963] Initializes a new instance of the System.Xml.Serialization.XmlSerializerNamespaces class, using the specified array of System.Xml.XmlQualifiedName objects to create a collection of prefix-namespace pairs. An array of System.Xml.XmlQualifiedName objects.


[12964] Count


[12965] ToString


[12966] [C#] public int Count {get;}


[12967] [C++] public: _property int get_Count( );


[12968] [VB] Public ReadOnly Property Count As Integer


[12969] [JScript] public function get Count( ) : int;


[12970] Description


[12971] Gets the number of prefix-namespace pairs in the collection.


[12972] Add


[12973] [C#] public void Add(string prefix, string ns);


[12974] [C++] public: void Add(String* prefix, String* ns);


[12975] [VB] Public Sub Add(ByVal prefix As String, ByVal ns As String)


[12976] [JScript] public function Add(prefix : String, ns : String);


[12977] Description


[12978] Adds a prefix-namespace pair to an System.Xml.Serialization.XmlSerializerNamespaces object.


[12979] If you want the System.Xml.Serialization.XmlSerializer to qualify the element and attribute names in an XML document, you must System.Xml.Serialization.XmlSerializerNamespaces.Add(System.String,System.String) the prefix-namespace pairs to an System.Xml.Serialization.XmlSerializerNamespaces object. The prefix associated with an XML namespace. An XML namespace.


[12980] ToArray


[12981] [C#] public XmlQualifiedName[ ] ToArray( );


[12982] [C++] public: XmlQualifiedName* ToArray( ) [ ];


[12983] [VB] Public Function ToArray( ) As XmlQualifiedName( )


[12984] [JScript] public function ToArray( ) : XmlQualifiedName[ ];


[12985] Description


[12986] Gets the array of prefix-namespace pairs in an System.Xml.Serialization.XmlSerializerNamespaces object.


[12987] Return Value: An array of System.Xml.XmlQualifiedName objects that are used as qualified names in an XML-document instance. XmlTextAttribute class (System.Xml.Serialization)


[12988] ToString


[12989] Description


[12990] Indicates to the System.Xml.Serialization.XmlSerializer that the member should be treated as XML text when the containing class is serialized or deserialized.


[12991] The System.Xml.Serialization.XmlTextAttribute belongs to a family of attributes that controls how the System.Xml.Serialization.XmlSerializer serializes and deserializes an object (through its System.Xml.Serialization.XmlSerializer.Serialize(System.IO.TextWriter,System.Object) and System.Xml.Serialization.XmlSerializer.Deserialize(System.IO.Stream) methods). See the System.Xml.Serialization.XmlSerializer class for a complete list of similar attributes.


[12992] XmlTextAttribute


[12993] Example Syntax:


[12994] ToString


[12995] [C#] public XmlTextAttribute( );


[12996] [C++] public: XmlTextAttribute( );


[12997] [VB] Public Sub New( )


[12998] [JScript] public function XmlTextAttribute( ); Initializes a new instance of the System.Xml.Serialization.XmlTextAttribute class.


[12999] Description


[13000] Initializes a new instance of the System.Xml.Serialization.XmlTextAttribute class.


[13001] You can override the way that the System.Xml.Serialization.XmlSerializer serializes a public field or public read/write property by creating an an System.Xml.Serialization.XmlAttributes object, and setting its System.Xml.Serialization.XmlAttributes.XmlText property to an System.Xml.Serialization.XmlTextAttribute object. For more details, see the System.Xml.Serialization.XmlAttributeOverrides class.


[13002] XmlTextAttribute


[13003] Example Syntax:


[13004] ToString


[13005] [C#] public XmlTextAttribute(Type type);


[13006] [C++] public: XmlTextAttribute(Type* type);


[13007] [VB] Public Sub New(ByVal type As Type)


[13008] [JScript] public function XmlTextAttribute(type : Type);


[13009] Description


[13010] Initializes a new instance of the System.Xml.Serialization.XmlTextAttribute class.


[13011] Type


[13012] ToString


[13013] [C#] public Type Type {get; set;}


[13014] [C++] public: _property Type* get_Type( );public: _property void set_Type(Type*);


[13015] [VB] Public Property Type As Type


[13016] [JScript] public function get Type( ) : Type;public function set Type(Type);


[13017] Description


[13018] Gets or sets the type of the member.


[13019] TypeId


[13020] XmlTypeAttribute class (System.Xml.Serialization)


[13021] ToString


[13022] Description


[13023] Represents a complex type XML element.


[13024] The System.Xml.Serialization.XmlTypeAttribute belongs to a family of attributes that controls how the System.Xml.Serialization.XmlSerializer serializes or deserializes an object. For a complete list of similar attributes, see the System.Xml.Serialization.XmlSerializer class.


[13025] XmlTypeAttribute


[13026] Example Syntax:


[13027] ToString


[13028] [C#] public XmlTypeAttribute( );


[13029] [C++] public: XmlTypeAttribute( );


[13030] [VB] Public Sub New( )


[13031] [JScript] public function XmlTypeAttribute( ); Initializes a new instance of the System.Xml.Serialization.XmlTypeAttribute class.


[13032] Description


[13033] Initializes a new instance of the System.Xml.Serialization.XmlTypeAttribute class.


[13034] XmlTypeAttribute


[13035] Example Syntax:


[13036] ToString


[13037] [C#] public XmlTypeAttribute(string typeName);


[13038] [C++] public: XmlTypeAttribute(String* typeName);


[13039] [VB] Public Sub New(ByVal typeName As String)


[13040] [JScript] public function XmlTypeAttribute(typeName : String);


[13041] Description


[13042] Initializes a new instance of the System.Xml.Serialization.XmlTypeAttribute class, specifying the name of the XML type. The name of the XML type that the System.Xml.Serialization.XmlSerializer generates when it serializes the class instance (and recognizes when it deserializes the class instance).


[13043] IncludeInSchema


[13044] ToString


[13045] [C#] public bool IncludeInSchema {get; set;}


[13046] [C++] public: _property bool get_IncludeInSchema( );public: _property void set_IncludeInSchema(bool);


[13047] [VB] Public Property IncludeInSchema As Boolean


[13048] [JScript] public function get IncludeInSchema( ) : Boolean;public function set IncludeInSchema(Boolean);


[13049] Description


[13050] Gets or sets a value indicating whether to include the type in XML schema documents.


[13051] Apply the System.Xml.Serialization.XmlTypeAttribute to a class to specify the XML type's namespace, the XML type name, and whether to include the type in the XML schema document. To see the results of setting the System.Xml.Serialization.XmlTypeAttribute class's properties, compile your application as an executable or DLL, and pass the resulting file to the XML Schema Definition tool (XSD.exe). The tool writes the schema—including the type definition.


[13052] Namespace


[13053] ToString


[13054] [C#] public string Namespace {get; set;}


[13055] [C++] public: _property String* get_Namespace( );public: _property void set_Namespace(String*);


[13056] [VB] Public Property Namespace As String


[13057] [JScript] public function get Namespace( ) : String;public function set Namespace(String);


[13058] Description


[13059] Gets or sets the namespace of the XML type.


[13060] TypeId


[13061] TypeName


[13062] ToString


[13063] Description


[13064] Gets or sets the name of the XML type.


[13065] Apply the System.Xml.Serialization.XmlTypeAttribute to a class to specify the XML type's namespace, the XML type name, and whether to include the type in the XML schema document. To see the results of setting the Systemn.Xml.Serialization.XmlTypeAttribute class's properties, compile your application as an executable or DLL, and pass the resulting file to the XML Schema Definition tool (XSD.exe). The tool writes the schema—including the type definition.


[13066] XmlTypeMapping class (System.Xml.Serialization)


[13067] ToString


[13068] Description


[13069] ElementName


[13070] ToString


[13071] [C#] public string ElementName {get;}


[13072] [C++] public: _property String* get_ElementName( );


[13073] [VB] Public ReadOnly Property ElementName As String


[13074] [JScript] public function get ElementName( ) : String;


[13075] Description


[13076] Namespace


[13077] ToString


[13078] [C#] public string Namespace {get;}


[13079] [C++] public: _property String* get_Namespace( );


[13080] [VB] Public ReadOnly Property Namespace As String


[13081] [JScript] public function get Namespace( ) : String;


[13082] Description


[13083] TypeFullName


[13084] ToString


[13085] [C#] public string TypeFullName {get;}


[13086] [C++] public: _property String* get_TypeFullName( );


[13087] [VB] Public ReadOnly Property TypeFullName As String


[13088] [JScript] public function get TypeFullName( ) : String;


[13089] Description


[13090] TypeName


[13091] ToString


[13092] [C#] public string TypeName {get;}


[13093] [C++] public: _property String* get_TypeName( );


[13094] [VB] Public ReadOnly Property TypeName As String


[13095] System.Xml.XPath


[13096] This namespace contains the XPath parser and evaluation engine.


[13097] Description


[13098] This namespace contains the XPath parser and evaluation engine.


[13099] IXPathNavigable interface (System.Xml.XPath)


[13100] Description


[13101] Provides an accessor to the System.Xml.XPath.XPathNavigator.


[13102] Methods:


[13103] CreateNavigator


[13104] [C#] XPathNavigator CreateNavigator( );


[13105] [C++] XPathNavigator* CreateNavigator( );


[13106] [VB] Function CreateNavigator( ) As XPathNavigator


[13107] [JScript] function CreateNavigator( ) : XPathNavigator;


[13108] Description


[13109] Creates a new System.Xml.XPath.XPathNavigator for this IXPathNavigable interface.


[13110] Return Value: An XPathNavigator object.


[13111] If the CreateNavigator method is called from an System.Xml.XmlNode object, the XPathNavigator is initially positioned on the node from which the method was called. If CreateNavigator is called from an System.Xml.XPath.XPathDocument object, the XPathNavigator is positioned on the root of the document.


[13112] XmlCaseOrder enumeration (System.Xml.XPath)


[13113] CreateNavigator


[13114] Description


[13115] Specifies the sort order for upper and lower case letters.


[13116] CreateNavigator


[13117] [C#] public const XmlCaseOrder LowerFirst;


[13118] [C++] public: const XmlCaseOrder LowerFirst;


[13119] [VB] Public Const LowerFirst As XmlCaseOrder


[13120] [JScript] public var LowerFirst: XmlCaseOrder;


[13121] Description


[13122] Lower case letters are sorted before upper case letters.


[13123] CreateNavigator


[13124] [C#] public const XmlCaseOrder None;


[13125] [C++] public: const XmlCaseOrder None;


[13126] [VB] Public Const None As XmlCaseOrder


[13127] [JScript] public var None : XmlCaseOrder;


[13128] Description


[13129] Ignore the case.


[13130] CreateNavigator


[13131] [C#] public const XmlCaseOrder UpperFirst;


[13132] [C++] public: const XmlCaseOrder UpperFirst;


[13133] [VB] Public Const UpperFirst As XmlCaseOrder


[13134] [JScript] public var UpperFirst: XmlCaseOrder;


[13135] Description


[13136] Upper case letters are sorted before lower case letters.


[13137] XmlDataType enumeration (System.Xml.XPath)


[13138] ToString


[13139] Description


[13140] Specifies the data type used to determine sort order.


[13141] ToString


[13142] [C#] public const XmlDataType Number;


[13143] [C++] public: const XmlDataType Number;


[13144] [VB] Public Const Number As XmlDataType


[13145] [JScript] public var Number : XmlDataType;


[13146] Description


[13147] Values are sorted numerically.


[13148] ToString


[13149] [C#] public const XmlDataType Text;


[13150] [C++] public: const XmlDataType Text;


[13151] [VB] Public Const Text As XmlDataType


[13152] [JScript] public var Text : XmlDataType;


[13153] Description


[13154] Values are sorted alphabetically.


[13155] XmlSortOrder enumeration (System.Xml.XPath)


[13156] ToString


[13157] Description


[13158] Specifies the sort order.


[13159] ToString


[13160] [C#] public const XmlSortOrder Ascending;


[13161] [C++] public: const XmlSortOrder Ascending;


[13162] [VB] Public Const Ascending As XmlSortOrder


[13163] [JScript] public var Ascending : XmlSortOrder;


[13164] Description


[13165] Nodes are sorted in ascending order. For example, if the numbers 1,2,3,4 were being sorted in an ascending order, they would appear as 1,2,3,4.


[13166] ToString


[13167] [C#] public const XmlSortOrder Descending;


[13168] [C++] public: const XmlSortOrder Descending;


[13169] [VB] Public Const Descending As XmlSortOrder


[13170] [JScript] public var Descending : XmlSortOrder;


[13171] Description


[13172] Nodes are sorted in descending order. For example, if the numbers 1,2,3,4 were being sorted in an descending order, they would appear as, 4,3,2,1.


[13173] XPathDocument class (System.Xml.XPath)


[13174] ToString


[13175] Description


[13176] Provides a fast and performant read-only cache for XML document processing using XSLT.


[13177] This class is optimized for XSLT processing and the XPath data model. It does not maintain node identity nor does it do all of the rule checking required by the W3C DOM.


[13178] Constructors:


[13179] XPathDocument


[13180] Example Syntax:


[13181] ToString


[13182] [C#] public XPathDocument(Stream stream);


[13183] [C++] public: XPathDocument(Stream* stream);


[13184] [VB] Public Sub New(ByVal stream As Stream)


[13185] [JScript] public function XPathDocument(stream : Stream);


[13186] Description


[13187] Initializes a new instance of the XPathDocument class. The stream containing the data to load.


[13188] XPathDocument


[13189] Example Syntax:


[13190] ToString


[13191] [C#] public XPathDocument(string uri);


[13192] [C++] public: XPathDocument(String* uri);


[13193] [VB] Public Sub New(ByVal uri As String)


[13194] [JScript] public function XPathDocument(uri : String);


[13195] Description


[13196] Initializes a new instance of the XPathDocument class. A URI that specifies a file containing the data to load.


[13197] XPathDocument


[13198] Example Syntax:


[13199] ToString


[13200] [C#] public XPathDocument(TextReader reader);


[13201] [C++] public: XPathDocument(TextReader* reader);


[13202] [VB] Public Sub New(ByVal reader As TextReader)


[13203] [JScript] public function XPathDocument(reader : TextReader);


[13204] Description


[13205] Initializes a new instance of the XPathDocument class. A System.IO.TextReader containing the data to load.


[13206] XPathDocument


[13207] Example Syntax:


[13208] ToString


[13209] [C#] public XpathDocument(XmlReader reader);


[13210] [C++] public: XPathDocument(XmlReader* reader);


[13211] [VB] Public Sub New(ByVal reader As XmlReader)


[13212] [JScript] public function XPathDocument(reader : XmlReader);


[13213] Description


[13214] Initializes a new instance of the XPathDocument class.


[13215] If the XmlReader is positioned on a node, the data is loaded from the current position of the XmlReader through all its siblings. This enables you to load only a portion of a document. An System.Xml.XmlReader containing the data to load.


[13216] XPathDocument


[13217] Example Syntax:


[13218] ToString


[13219] [C#] public XPathDocument(string uri, XmlSpace space);


[13220] [C++] public: XPathDocument(String* uri, XmlSpace space);


[13221] [VB] Public Sub New(ByVal uri As String, ByVal space As XmlSpace)


[13222] [JScript] public function XPathDocument(uri : String, space : XmlSpace);


[13223] Description


[13224] Initializes a new instance of the XPathDocument class. A URI that specifies a file containing the data to load. An System.Xml.XmlSpace value indicating indicating whether to preserve whitespace. Setting this to XmlSpace.Default preserves only significant whitespace; XmlSpace.Preserve preserves all whitespace.


[13225] XPathDocument


[13226] Example Syntax:


[13227] ToString


[13228] [C#] public XPathDocument(XmlReader reader, XmlSpace space);


[13229] [C++] public: XPathDocument(XmlReader* reader, XmlSpace space);


[13230] [VB] Public Sub New(ByVal reader As XmlReader, ByVal space As XmlSpace)


[13231] [JScript] public function XPathDocument(reader : XmlReader, space : XmlSpace); Initializes a new instance of the XPathDocument class.


[13232] Description


[13233] Initializes a new instance of the XPathDocument class.


[13234] If the XmlReader is positioned on a node, the data is loaded from the current position of the XmlReader through all its siblings. This enables you to load only a portion of a document. An System.Xml.XmlReader containing the data to load. An System.Xml.XmlSpace value indicating whether to preserve whitespace. Setting this to XmlSpace.Default preserves only significant whitespace; XmlSpace.Preserve preserves all whitespace.


[13235] CreateNavigator


[13236] [C#] public XPathNavigator CreateNavigator( );


[13237] [C++] public: _sealed XPathNavigator* CreateNavigator( );


[13238] [VB] NotOverridable Public Function CreateNavigator( ) As XPathNavigator


[13239] [JScript] public function CreateNavigator( ) : XPathNavigator;


[13240] Description


[13241] Creates an System.Xml.XPath.XPathNavigator for navigating this document.


[13242] Return Value: An System.Xml.XPath.XPathNavigator object.


[13243] The XPathNavigator is positioned at the root of the document. This method is part of the System.Xml.XPath.IXPathNavigable interface.


[13244] XPathException class (System.Xml.XPath)


[13245] ToString


[13246] Description


[13247] Represents the exception that is thrown when there is error processing an XPath expression.


[13248] XPathException


[13249] Example Syntax:


[13250] ToString


[13251] [C#] public XPathException(string res);


[13252] [C++] public: XPathException(String* res);


[13253] [VB] Public Sub New(ByVal res As String)


[13254] [JScript] public function XPathException(res : String);


[13255] Description


[13256] XPathException


[13257] Example Syntax:


[13258] ToString


[13259] [C#] public XPathException(SerializationInfo info, StreamingContext context);


[13260] [C++] public: XPathException(SerializationInfo* info, StreamingContext context);


[13261] [VB] Public Sub New(ByVal info As SerializationInfo, ByVal context As StreamingContext)


[13262] [JScript] public function XPathException(info : SerializationInfo, context : StreamingContext);


[13263] Description


[13264] XPathException


[13265] Example Syntax:


[13266] ToString


[13267] [C#] public XPathException(string message, Exception innerException);


[13268] [C++] public: XPathException(String* message, Exception* innerException);


[13269] [VB] Public Sub New(ByVal message As String, ByVal innerException As Exception)


[13270] [JScript] public function XPathException(message : String, innerException : Exception);


[13271] XPathException


[13272] Example Syntax:


[13273] ToString


[13274] [C#] public XPathException(string res, string arg);


[13275] [C++] public: XPathException(String* res, String* arg);


[13276] [VB] Public Sub New(ByVal res As String, ByVal arg As String)


[13277] [JScript] public function XPathException(res : String, arg : String);


[13278] Description


[13279] XPathException


[13280] Example Syntax:


[13281] ToString


[13282] [C#] public XPathException(string res, string[ ] args);


[13283] [C++] public: XPathException(String* res, String* args _gc[ ]);


[13284] [VB] Public Sub New(ByVal res As String, ByVal args( ) As String)


[13285] [JScript] public function XPathException(res : String, args : String[ ]);


[13286] Description


[13287] XPathException


[13288] Example Syntax:


[13289] ToString


[13290] [C#] public XPathException(string res, string arg1, string arg2);


[13291] [C++] public: XPathException(String* res, String* arg1, String* arg2);


[13292] [VB] Public Sub New(ByVal res As String, ByVal arg1 As String, ByVal arg2 As String)


[13293] [JScript] public function XPathException(res: String, arg1 : String, arg2: String);


[13294] Description


[13295] Properties:


[13296] HelpLink


[13297] HResult


[13298] InnerException


[13299] Message


[13300] ToString


[13301] Description


[13302] Source


[13303] StackTrace


[13304] TargetSite


[13305] GetObjectData


[13306] [C#] public override void GetObjectData(SerializationInfo info, StreamingContext context);


[13307] [C++] public: void GetObjectData(SerializationInfo* info, StreamingContext context);


[13308] [VB] Overrides Public Sub GetObjectData(ByVal info As SerializationInfo, ByVal context As StreamingContext)


[13309] [JScript] public override function GetObjectData(info : SerializationInfo, context : StreamingContext);


[13310] Description


[13311] XPathExpression class (System.Xml.XPath)


[13312] ToString


[13313] Description


[13314] Encapsulates a compiled XPath expression. This class is returned as a result of a call to System.Xml.XPath.XPathNavigator.Compile(System.String) and is used by the System.Xml.XPath.XPathNavigator.Select(System.Xml.XPath.XPathExpression), System.Xml.XPath.XPathNavigator.Evaluate(System.Xml.XPath.XPathExpression) and System.Xml.XPath.XPathNavigator.Matches(System.Xml.XPath.XPathExpression) methods.


[13315] Expression


[13316] ToString


[13317] [C#] public abstract string Expression {get;}


[13318] [C++] public: _property virtual String* get_Expression( )=0;


[13319] [VB] MustOverride Public ReadOnly Property Expression As String


[13320] [JScript] public abstract function get Expression( ) : String;


[13321] Description


[13322] When overridden in a derived class, gets a string representation of the the XPathExpression.


[13323] Description


[13324] Gets a string representation of the XPathExpression.


[13325] This could be used for diagnostic purposes or as input to another expression.


[13326] ReturnType


[13327] ToString


[13328] [C#] public abstract XPathResultType ReturnType {get;}


[13329] [C++] public: _property virtual XPathResultType get_ReturnType( )=0;


[13330] [VB] MustOverride Public ReadOnly Property ReturnType As XPathResultType


[13331] [JScript] public abstract function get ReturnType( ) : XPathResultType;


[13332] Description


[13333] Gets the result type of the XPathExpression as defined by the W3C XPath specification.


[13334] AddSort


[13335] [C#] public abstract void AddSort(object expr, IComparer comparer);


[13336] [C++] public: virtual void AddSort(Object* expr, IComparer* comparer)=0;


[13337] [VB] MustOverride Public Sub AddSort(ByVal expr As Object, ByVal comparer As IComparer)


[13338] [JScript] public abstract function AddSort(expr : Object, comparer : IComparer); Sorts the nodes selected by the XPathExpression.


[13339] Description


[13340] Sorts the nodes selected by the XPathExpression, according to the System.Collections.IComparer interface.


[13341] This method enables users to sort objects by their data type rather than by string or number. The IComparer interface provides an implementation of the System.Collections.IComparer.Compare(System.Object,System.Object) method that supports sorting on user defined classes. An expression representing the sort key. This can be a string or an XPathExpression object. The result of this expression is converted to a string, according to the XPath specification, for comparison. In an XSLT stylesheet, if xsl:sort is used, but no select expression is specified, then string(.) is used by default. A class derived from the IComparer interface to use for the data type comparison.


[13342] AddSort


[13343] [C#] public abstract void AddSort(object expr, XmlSortOrder order, XmlCaseOrder caseOrder, string lang, XmlDataType dataType);


[13344] [C++] public: virtual void AddSort(Object* expr, XmlSortOrder order, XmlCaseOrder caseOrder, String* lang, XmlDataType dataType)=0;


[13345] [VB] MustOverride Public Sub AddSort(ByVal expr As Object, ByVal order As XmlSortOrder, ByVal caseOrder As XmlCaseOrder, ByVal lang As String, ByVal dataType As XmlDataType)


[13346] [JScript] public abstract function AddSort(expr : Object, order : XmlSortOrder, caseOrder : XmlCaseOrder, lang : String, dataType : XmlDataType);


[13347] Description


[13348] Sorts the nodes selected by the XPathExpression according to the supplied parameters.


[13349] The order in which the sorts are added provides the sort key order. An expression representing the sort key. This can be a string or an XPathExpression object. The result of this expression is converted to a string, according to the XPath specification, for comparison. In an XSLT stylesheet, if xsl:sort is used, but no select expression is specified, then string(.) is used by default. A System.Xml.XPath.XmlSortOrder value indicating the sort order. A System.Xml.XPath.XmlCaseOrder value indicating how to sort upper/lower case letters. This is language dependent, providing a lang parameter is supplied. The language to use for comparison. Uses the System.Globalization.CultureInfo class that can be passed to the String.Compare method for the language types, for example, “us-en” for US English. If an empty string is specified, the system environment is used to determine the CultureInfo. System.Xml.XPath.XmlDataTypeindicating sort order for data type.


[13350] Clone


[13351] [C#] public abstract XPathExpression Clone( );


[13352] [C++] public: virtual XPathExpression* Clone( )=0;


[13353] [VB] MustOverride Public Function Clone( ) As XPathExpression


[13354] [JScript] public abstract function Clone( ) : XPathExpression;


[13355] Description


[13356] Clones the XPathExpression.


[13357] Return Value: A new XPathExpression object.


[13358] SetContext


[13359] [C#] public abstract void SetContext(XmlNamespaceManager nsManager);


[13360] [C++] public: virtual void SetContext(XmlNamespaceManager* nsManager)=0;


[13361] [VB] MustOverride Public Sub SetContext(ByVal nsManager As XmlNamespaceManager)


[13362] [JScript] public abstract function SetContext(nsManager : XmlNamespaceManager);


[13363] Description


[13364] Specifies the System.Xml.XmlNamespaceManager to use for resolving namespaces.


[13365] Namespace resolution is supported using the System.Xml.XmlNamespaceManager which stores prefix and namespace URI mappings. If the XPathExpression requires namespace resolution, the prefix and namespace URI pair must be added to the XmlNamespaceManager, and the SetContext method must be called to specify the XmlNamespaceManager to use for namespace resolution. The XmlNamespaceManager object used for resolving namespaces.


[13366] XPathNavigator class (System.Xml.XPath)


[13367] ToString


[13368] Description


[13369] Reads data from any data store using a cursor model.


[13370] XPathNavigator is based on the XPath data model and provides the methods required to implement XPath queries over any data store. To implement an XPathNavigator over an XML document or a System.Data.DataSet (via the System.Xml.XmlDataDocument class), use the CreateNavigator method available in the System.Xml.XmlNode and System.Xml.XPath.XPathDocument classes, or in the System.Xml.XPath.IXPathNavigable interface. Additionally, you can create your own implementation of XPathNavigator over other data stores such as file systems or databases.


[13371] XPathNavigator


[13372] Example Syntax:


[13373] ToString


[13374] [C#] protected XPathNavigator( );


[13375] [C++] protected: XPathNavigator( );


[13376] [VB] Protected Sub New( )


[13377] [JScript] protected function XPathNavigator( );


[13378] BaseURI


[13379] ToString


[13380] [C#] public abstract string BaseURI {get;}


[13381] [C++] public: _property virtual String* get_BaseURI( )=0;


[13382] [VB] MustOverride Public ReadOnly Property BaseURI As String


[13383] [JScript] public abstract function get BaseURI( ) : String;


[13384] Description


[13385] When overridden in a derived class, gets the base URI for the current node.


[13386] A networked XML document is comprised of chunks of data, aggregated using various W3C standard inclusion mechanisms, and therefore contains nodes that come from different places. DTD entities are an example of this, however, this is not limited to DTDs. The BaseURI property tells you where these nodes originate from.


[13387] HasAttributes


[13388] ToString


[13389] [C#] public abstract bool HasAttributes {get;}


[13390] [C++] public: _property virtual bool get_HasAttributes( )=0;


[13391] [VB] MustOverride Public ReadOnly Property HasAttributes As Boolean


[13392] [JScript] public abstract function get HasAttributes( ) : Boolean;


[13393] Description


[13394] When overridden in a derived class, gets a value indicating whether the element node has any attributes.


[13395] The XPathNavigator should be positioned on an element node before calling this method.


[13396] HasChildren


[13397] ToString


[13398] [C#] public abstract bool HasChildren {get;}


[13399] [C++] public: _property virtual bool get_HasChildren( )=0;


[13400] [VB] MustOverride Public ReadOnly Property HasChildren As Boolean


[13401] [JScript] public abstract function get HasChildren( ) : Boolean;


[13402] Description


[13403] When overridden in a derived class, gets a value indicating whether the current node has child nodes.


[13404] The following table lists the System.Xml.XPath.XPathNodeType and what type of child nodes they may have, if any.


[13405] IsEmptyElement


[13406] ToString


[13407] [C#] public abstract bool IsEmptyElement {get;}


[13408] [C++] public: _property virtual bool get_IsEmptyElement( )=0;


[13409] [VB] MustOverride Public ReadOnly Property IsEmptyElement As Boolean


[13410] [JScript] public abstract function get IsEmptyElement( ) : Boolean;


[13411] Description


[13412] When overridden in a derived class, gets a value indicating whether the current node is an empty element (for example,).


[13413] This property enables you to determine the difference between the following: (IsEmptyElement is true).


[13414] LocalName


[13415] ToString


[13416] [C#] public abstract string LocalName {get;}


[13417] [C++] public: _property virtual String* get_LocalName( )=0;


[13418] [VB] MustOverride Public ReadOnly Property LocalName As String


[13419] [JScript] public abstract function get LocalName( ) : String;


[13420] Description


[13421] When overridden in a derived class, gets the name of the current node without the namespace prefix.


[13422] Name


[13423] ToString


[13424] [C#] public abstract string Name {get;}


[13425] [C++] public: _property virtual String* get_Name( )=0;


[13426] [VB] MustOverride Public ReadOnly Property Name As String


[13427] [JScript] public abstract function get Name( ) : String;


[13428] Description


[13429] When overridden in a derived class, gets the qualified name of the current node.


[13430] NamespaceURI


[13431] ToString


[13432] [C#] public abstract string NamespaceURI {get;}


[13433] [C++] public: _property virtual String* get_NamespaceURI( )=0;


[13434] [VB] MustOverride Public ReadOnly Property NamespaceURI As String


[13435] [JScript] public abstract function get NamespaceURI( ) : String;


[13436] Description


[13437] When overridden in a derived class, gets the namespace URI (as defined in the W3C Namespace Specification) of the current node.


[13438] Only element and attribute nodes can have a namespace URI.


[13439] NameTable


[13440] ToString


[13441] [C#] public abstract XmlNameTable NameTable {get;}


[13442] [C++] public: _property virtual XmlNameTable* get_NameTable( )=0;


[13443] [VB] MustOverride Public ReadOnly Property NameTable As XmlNameTable


[13444] [JScript] public abstract function get NameTable( ) : XmlNameTable;


[13445] Description


[13446] When overridden in a derived class, gets the System.Xml.XmlNameTable associated with this implementation.


[13447] The XmlNameTable stores atomized strings of any System.Xml.XPath.XPathNavigator.LocalName, System.Xml.XPath.XPathNavigator.NamespaceURI, and System.Xml.XPath.XPathNavigator.Prefix used by XPathNavigator. This means that when the same name is returned multiple times (like “book”) then the same String object is returned for that name. This makes it possible to write efficient code that does object comparisons on these strings instead of expensive string comparisons.


[13448] NodeType


[13449] ToString


[13450] [C#] public abstract XPathNodeType NodeType {get;}


[13451] [C++] public: _property virtual XPathNodeType get_NodeType( )=0;


[13452] [VB] MustOverride Public ReadOnly Property NodeType As XPathNodeType


[13453] [JScript] public abstract function get NodeType( ) : XPathNodeType;


[13454] Description


[13455] When overridden in a derived class, gets the type of the current node.


[13456] Prefix


[13457] ToString


[13458] [C#] public abstract string Prefix {get;}


[13459] [C++] public: _property virtual String* get_Prefix( )=0;


[13460] [VB] MustOverride Public ReadOnly Property Prefix As String


[13461] [JScript] public abstract function get Prefix( ) : String;


[13462] Description


[13463] When overridden in a derived class, gets the atomized string of the prefix associated with the current node.


[13464] Value


[13465] ToString


[13466] [C#] public abstract string Value {get;}


[13467] [C++] public: _property virtual String* get_Value( )=0;


[13468] [VB] MustOverride Public ReadOnly Property Value As String


[13469] [JScript] public abstract function get Value( ) : String;


[13470] Description


[13471] When overridden in a derived class, gets the text value of the current node.


[13472] XmlLang


[13473] ToString


[13474] [C#] public abstract string XmlLang {get;}


[13475] [C++] public: _property virtual String* get_XmlLang( )=0;


[13476] [VB] MustOverride Public ReadOnly Property XmlLang As String


[13477] [JScript] public abstract function get XmlLang( ) : String;


[13478] Description


[13479] When overridden in a derived class, gets the xml:lang scope for the current node.


[13480] Using the XML text below, if the navigator were positioned on the name element, the user can call this property to find out that the element is in the scope of a US English xml:lang attribute.


[13481] Clone


[13482] [C#] public abstract XPathNavigator Clone( );


[13483] [C++] public: virtual XPathNavigator* Clone( )=0;


[13484] [VB] MustOverride Public Function Cloneo As XPathNavigator


[13485] [JScript] public abstract function Clone( ) : XPathNavigator;


[13486] Description


[13487] When overridden in a derived class, creates a new XPathNavigator positioned at the same node as this XPathNavigator.


[13488] Return Value: A new XPathNavigator object.


[13489] The cloned XPathNavigator is not affected by subsequent changes to the current XPathNavigator.


[13490] ComparePosition


[13491] [C#] public virtual XmlNodeOrder ComparePosition(XPathNavigator nav);


[13492] [C++] public: virtual XmlNodeOrder ComparePosition(XPathNavigator* nav);


[13493] [VB] Overridable Public Function ComparePosition(ByVal nav As XPathNavigator) As XmlNodeOrder


[13494] [JScript] public function ComparePosition(nav : XpathNavigator): XmlNodeOrder;


[13495] Description


[13496] Compares the position of the current navigator with the position of the specified XPathNavigator.


[13497] Return Value: An System.Xml.XmlNodeOrder value representing the comparative position of the two navigators. The following table describes the XmlNodeOrder enumeration.


[13498] The method behavior is dependent on the node type the XPathNavigator is currently positioned on. When comparing nodes in the XML document, the following rules apply: Element nodes—These nodes are returned in document order from the source document. The XPathNavigator to compare against.


[13499] Compile


[13500] [C#] public virtual XPathExpression Compile(string xpath);


[13501] [C++] public: virtual XPathExpression* Compile(String* xpath);


[13502] [VB] Overridable Public Function Compile(ByVal xpath As String) As XPathExpression


[13503] [JScript] public function Compile(xpath : String) : XPathExpression;


[13504] Description


[13505] Compiles a string representing an XPath expression and returns an System.Xml.XPath.XPathExpression.


[13506] Return Value: An XPathExpression object representing the XPath expression.


[13507] An XPath expression is evaluated to yield one of the following return types: Node-set—an unordered collection of nodes without duplicates Boolean—true or false Number—a floating-point number String—a sequence of UCS characters Expressions that return a node-set can be used in the System.Xml.XPath.XPathNavigator.Select(System.Xml.XPath.XPathExpression) method. Expressions that return a boolean, number, or string can be used in the System.Xml.XPath.XPathNavigator.Evaluate(System.Xml.XPath.XPathExpression) method. The rules on valid expressions for the System.Xml.XPath.XPathNavigator.Matches(System.Xml.XPath.XPathExpression) method are specific to that method. A string representing an XPath expression.


[13508] Evaluate


[13509] [C#] public virtual object Evaluate(string xpath);


[13510] [C++] public: virtual Object* Evaluate(String* xpath);


[13511] [VB] Overridable Public Function Evaluate(ByVal xpath As String) As Object


[13512] [JScript] public function Evaluate(xpath : String) : Object;


[13513] Description


[13514] Evaluates the string representing an XPath expression and returns the typed result (int, boolean or string).


[13515] Return Value: The result of the expression.


[13516] The following C# code converts the Price/text( ) node to a number, multiplies it by 10, and returns the resulting value. A string representing an XPath expression that can be evaluated.


[13517] Evaluate


[13518] [C#] public virtual object Evaluate(XPathExpression expr);


[13519] [C++] public: virtual Object* Evaluate(XPathExpression* expr);


[13520] [VB] Overridable Public Function Evaluate(ByVal expr As XpathExpression) As Object


[13521] [JScript] public function Evaluate(expr : XPathExpression) : Object; Evaluates the given expression and returns the typed result.


[13522] Description


[13523] Evaluates the System.Xml.XPath.XPathExpression and returns the typed result (int, boolean or string).


[13524] Return Value: The result of the expression.


[13525] The following C# code returns a number after converting the Price/text( ) node to a number and multiplying the value by 10. An XPathExpression that can be evaluated.


[13526] Evaluate


[13527] [C#] public virtual object Evaluate(XPathExpression expr, XPathNodeIterator context);


[13528] [C++] public: virtual Object* Evaluate(XPathExpression* expr, XPathNodelterator* context);


[13529] [VB] Overridable Public Function Evaluate(ByVal expr As XPathExpression, ByVal context As XPathNodelterator) As Object


[13530] [JScript] public function Evaluate(expr : XPathExpression, context : XPathNodeIterator) : Object;


[13531] Description


[13532] Evaluates the System.Xml.XPath.XPathExpression using the supplied context and returns the typed result (int, boolean or string).


[13533] Return Value: The result of the expression.


[13534] The expression is evaluated using the System.Xml.XPath.XPathNodeIterator. Current node of the XPathNodeIterator as the context node. If context is null, the node on which the XPathNavigator is currently positioned is used as the context node. An XPathExpression that can be evaluated. An System.Xml.XPath.XPathNodeIterator pointing to the selected node set that the evaluation should be performed on.


[13535] GetAttribute


[13536] [C#] public abstract string GetAttribute(string localName, string namespaceURI);


[13537] [C++] public: virtual String* GetAttribute(String* localName, String* namespaceURI)=0;


[13538] [VB] MustOverride Public Function GetAttribute(ByVal localName As String, ByVal namespaceURI As String) As String


[13539] [JScript] public abstract function GetAttribute(localName : String, namespaceURI : String) : String;


[13540] Description


[13541] When overridden in a derived class, gets the value of the attribute with the specified System.Xml.XPath.XPathNavigator.LocalName and System.Xml.XPath.XPathNavigator.NamespaceURI.


[13542] Return Value: The value of the specified attribute or String.Empty if a matching attribute is not found.


[13543] The XPathNavigator should be positioned on an element node before calling this method. The local name of the attribute. The namespace URI of the attribute.


[13544] GetNamespace


[13545] [C#] public abstract string GetNamespace(string name);


[13546] [C++] public: virtual String* GetNamespace(String* name)=0;


[13547] [VB] MustOverride Public Function GetNamespace(ByVal name As String) As String


[13548] [JScript] public abstract function GetNamespace(name : String) : String;


[13549] Description


[13550] When overridden in a derived class, returns the value of the namespace node corresponding to the specified local name.


[13551] Return Value: The value of the namespace node or String.Empty if a matching node is not found.


[13552] For a definition of namespace nodes, see section 5.4 of the W3C XML Path Language (XPath) recommendation located at http://www.w3.org/TR/xpath#data-model. The local name of the namespace node.


[13553] IsDescendant


[13554] [C#] public virtual bool IsDescendant(XPathNavigator nav);


[13555] [C++] public: virtual bool IsDescendant(XPathNavigator* nav);


[13556] [VB] Overridable Public Function IsDescendant(ByVal nav As XPathNavigator) As Boolean


[13557] [JScript] public function IsDescendant(nav : XPathNavigator) Boolean;


[13558] Description


[13559] Determines whether the specified XPathNavigator is a descendant of the current XPathNavigator.


[13560] Return Value: true if nav is a descendant of the current navigator; otherwise false


[13561] A navigator is a descendant of another navigator if it is positioned on a descendant node of the current navigator. For example, using the following XML string: widget If the current navigator is positioned on the item node and nav is positioned on the name node, IsDescendant returns true. The XPathNavigator that you want to compare against.


[13562] IsSamePosition


[13563] [C#] public abstract bool IsSamePosition(XPathNavigator other);


[13564] [C++] public: virtual bool IsSamePosition(XPathNavigator* other)=0;


[13565] [VB] MustOverride Public Function IsSamePosition(ByVal other As XPathNavigator) As Boolean


[13566] [JScript] public abstract function IsSamePosition(other : XPathNavigator) : Boolean;


[13567] Description


[13568] When overridden in a derived class, determines whether the current XPathNavigator is at the same position as the specified XPathNavigator


[13569] Return Value: true if other and this navigator have the same position; otherwise, false.


[13570] This method assumes that other is an XPathNavigator that shares the same implementation and is pointing at the same document instance as the current navigator. The XPathNavigator that you want to compare against.


[13571] Matches


[13572] [C#] public virtual bool Matches(string xpath);


[13573] [C++] public: virtual bool Matches(String* xpath);


[13574] [VB] Overridable Public Function Matches(ByVal xpath As :String) As Boolean


[13575] [JScript] public function Matches(xpath : String) : Boolean;


[13576] Description


[13577] Determines whether the current node matches the specified XPath expression.


[13578] Return Value: true if the current node matches the XPath expression; otherwise, false.


[13579] This method has no effect on the state of the XPathNavigator. An XPath expression.


[13580] Matches


[13581] [C#] public virtual bool Matches(XPathExpression expr);


[13582] [C++] public: virtual bool Matches(XPathExpression* expr);


[13583] [VB] Overridable Public Function Matches(ByVal expr As XpathExpression) As Boolean


[13584] [JScript] public function Matches(expr : XPathExpression) : Boolean; Determines whether the current node matches the specified expression.


[13585] Description


[13586] Determines whether the current node matches the specified System.Xml.XPath.XPathExpression.


[13587] Return Value: true if the current node matches the XPathExpression; otherwise, false.


[13588] This method has no effect on the state of the XPathNavigator. An XPathExpression.


[13589] MoveTo


[13590] [C#] public abstract bool MoveTo(XPathNavigator other);


[13591] [C++] public: virtual bool MoveTo(XPathNavigator* other)=0;


[13592] [VB] MustOverride Public Function MoveTo(ByVal other As XPathNavigator) As Boolean


[13593] [JScript] public abstract function MoveTo(other : XPathNavigator) : Boolean;


[13594] Description


[13595] When overridden in a derived class, moves to the same position as the specified XPathNavigator.


[13596] Return Value: true if successful; otherwise false. If false, the current navigator is returned to its position before the call.


[13597] This method always returns true if other is an XPathNavigator that shares the same implementation and is pointing at the same document instance as the current navigator. The XPathNavigator positioned on the node that you want to moveto.


[13598] MoveToAttribute


[13599] [C#] public abstract bool MoveToAttribute(string localName, string namespaceURI);


[13600] [C++] public: virtual bool MoveToAttribute(String* localName, String* namespaceURI)=0;


[13601] [VB] MustOverride Public Function MoveToAttribute(ByVal localName As String, ByVal namespaceURI As String) As Boolean


[13602] [JScript] public abstract function MoveToAttribute(localName : String, namespaceURI : String) : Boolean;


[13603] Description


[13604] When overridden in a derived class, moves to the attribute with matching System.Xml.XPath.XPathNavigator.LocalName and System.Xml.XPath.XPathNavigator.NamespaceURI.


[13605] Return Value: true if the attribute is found; otherwise, false. If false, the position of the navigator does not change.


[13606] The navigator should be positioned on an element when calling this method. The local name of the attribute. The namespace URI of the attribute.


[13607] MoveToFirst


[13608] [C#] public abstract bool MoveToFirst( );


[13609] [C++] public: virtual bool MoveToFirst( )=0;


[13610] [VB] MustOverride Public Function MoveToFirst( ) As Boolean


[13611] [JScript] public abstract function MoveToFirst( ) : Boolean;


[13612] Description


[13613] When overridden in a derived class, moves to the first sibling of the current node.


[13614] Return Value: true if there is a first sibling node; false if there is no first sibling or if the navigator is currently positioned on an attribute node.


[13615] MoveToFirstAttribute


[13616] [C#] public abstract bool MoveToFirstAttribute( );


[13617] [C++] public: virtual bool MoveToFirstAttribute( )=0;


[13618] [VB] MustOverride Public Function MoveToFirstAttribute( ) As Boolean


[13619] [JScript] public abstract function MoveToFirstAttribute( ) : Boolean;


[13620] Description


[13621] When overridden in a derived class, moves to the first attribute.


[13622] Return Value: true if there is an attribute for the XPathNavigator to move to; otherwise, false.


[13623] The navigator should be positioned on an element when calling this method; otherwise, this method returns false and the position of the navigator does not change.


[13624] MoveToFirstChild


[13625] [C#] public abstract bool MoveToFirstChild( );


[13626] [C++] public: virtual bool MoveToFirstChild( )0;


[13627] [VB] MustOverride Public Function MoveToFirstChild( ) As Boolean


[13628] [JScript] public abstract function MoveToFirstChild( ) : Boolean;


[13629] Description


[13630] When overridden in a derived class, moves to the first child of the current node.


[13631] Return Value: true if there is a first child node; otherwise false.


[13632] Root and Element are the only two XPath node types that can have children. This property always returns false for all other node types.


[13633] MoveToFirstNamespace


[13634] [C#] public abstract bool MoveToFirstNamespace( );


[13635] [C++] public: virtual bool MoveToFirstNamespace( )=0;


[13636] [VB] MustOverride Public Function MoveToFirstNamespace( ) As Boolean


[13637] [JScript] public abstract function MoveToFirstNamespace( ) : Boolean;


[13638] Description


[13639] When overridden in a derived class, moves the XPathNavigator to first namespace node of the current element.


[13640] Return Value: true if there is a first namespace node; otherwise false.


[13641] The navigator should be positioned on an element node when calling this method. After the navigator has been moved to the namespace node the System.Xml.XPath.XPathNavigator.Name property reflects the name of the namespace.


[13642] MoveTold


[13643] [C#] public abstract bool MoveToId(string id);


[13644] [C++] public: virtual bool MoveToId(String* id)=0;


[13645] [VB] MustOverride Public Function MoveToId(ByVal id As String) As Boolean


[13646] [JScript] public abstract function MoveToId(id : String) : Boolean;


[13647] Description


[13648] When overridden in a derived class, moves to the node that has an attribute of type ID whose value matches the specified string.


[13649] Return Value: true if the move was successful; otherwise false. If false, the navigator is returned to its position before the call.


[13650] This method can be used to identify nodes by unique ID provided the source document explicitly declares attributes of type ID using a DTD. The ID value of the node to which you want to move. This argument does not need to be atomized.


[13651] MoveToNamespace


[13652] [C#] public abstract bool MoveToNamespace(string name);


[13653] [C++] public: virtual bool MoveToNamespace(String* name)=0;


[13654] [VB] MustOverride Public Function MoveToNamespace(ByVal name As String) As Boolean


[13655] [JScript] public abstract function MoveToNamespace(name : String) : Boolean;


[13656] Description


[13657] When overridden in a derived class, moves the XPathNavigator to the namespace node with the specified local name.


[13658] Return Value: true if the move was successful; false if a matching namespace node was not found or if the navigator is not positioned on an element node.


[13659] The navigator should be positioned on an element node when calling this method. After the navigator has been moved to the namespace node the System.Xml.XPath.XPathNavigator.Name property reflects the name of the namespace. The local name of the namespace node.


[13660] MoveToNext


[13661] [C#] public abstract bool MoveToNext( );


[13662] [C++] public: virtual bool MoveToNext( )=0;


[13663] [VB] MustOverride Public Function MoveToNext( ) As Boolean


[13664] [JScript] public abstract function MoveToNext( ) : Boolean;


[13665] Description


[13666] When overridden in a derived class, moves to the next sibling of the current node.


[13667] Return Value: true if there is a next sibling node; false if there are no more siblings or if the navigator is currently positioned on an attribute node.


[13668] MoveToNextAttribute


[13669] [C#] public abstract bool MoveToNextAttribute( );


[13670] [C++] public: virtual bool MoveToNextAttribute( )=0;


[13671] [VB] MustOverride Public Function MoveToNextAttribute( ) As Boolean


[13672] [JScript] public abstract function MoveToNextAttribute( ) : Boolean;


[13673] Description


[13674] When overridden in a derived class, moves to the next attribute.


[13675] Return Value: true if there is a next attribute; false if there are no more attributes.


[13676] The navigator should be positioned on an element when calling this method; otherwise, this method returns false and the position of the navigator does not change.


[13677] MoveToNextNamespace


[13678] [C#] public abstract bool MoveToNextNamespace( );


[13679] [C++] public: virtual bool MoveToNextNamespace( )=0;


[13680] [VB] MustOverride Public Function MoveToNextNamespace( ) As Boolean


[13681] [JScript] public abstract function MoveToNextNamespace( ) : Boolean;


[13682] Description


[13683] When overridden in a derived class, moves the XPathNavigator to the next namespace node.


[13684] Return Value: true if there is a next namespace node; otherwise false.


[13685] The navigator should be positioned on a namespace node when calling this method.


[13686] MoveToParent


[13687] [C#] public abstract bool MoveToParent( );


[13688] [C++] public: virtual bool MoveToParent( )=0;


[13689] [VB] MustOverride Public Function MoveToParent( ) As Boolean


[13690] [JScript] public abstract function MoveToParent( ) : Boolean;


[13691] Description


[13692] When overridden in a derived class, moves to the parent of the current node.


[13693] Return Value: true if there is a parent node; otherwise false.


[13694] The following table lists the System.Xml.XPath.XPathNodeType and what type of parent node they may have, if any.


[13695] MoveToPrevious


[13696] [C#] public abstract bool MoveToPrevious( );


[13697] [C++] public: virtual bool MoveToPrevious( )=0;


[13698] [VB] MustOverride Public Function MoveToPrevious( ) As Boolean


[13699] [JScript] public abstract function MoveToPrevious( ) : Boolean;


[13700] Description


[13701] When overridden in a derived class, moves to the previous sibling of the current node.


[13702] Return Value: true if there is a previous sibling node; false if there is no previous sibling or if the navigator is currently positioned on an attribute node.


[13703] MoveToRoot


[13704] [C#] public abstract void MoveToRoot( );


[13705] [C++] public: virtual void MoveToRoot( )=0;


[13706] [VB] MustOverride Public Sub MoveToRoot( )


[13707] [JScript] public abstract function MoveToRoot( );


[13708] Description


[13709] When overridden in a derived class, moves to the root node to which the current node belongs.


[13710] All nodes belong to one and only one document. Therefore, this method is always successful. For a definition of a root node, see section 5.1 of the W3C XML Path Language (XPath) recommendation located at http://www.w3.org/TR/xpath#data-model.


[13711] Select


[13712] [C#] public virtual XPathNodeIterator Select(string xpath);


[13713] [C++] public: virtual XPathNodeIterator* Select(String* xpath);


[13714] [VB] Overridable Public Function Select(ByVal xpath As String) As


[13715] XPathNodeIterator


[13716] [JScript] public function Select(xpath : String) : XPathNodeIterator;


[13717] Description


[13718] Selects a node set using the specified XPath expression.


[13719] Return Value: An System.Xml.XPath.XPathNodeIterator pointing to the selected node set.


[13720] The context for the selection is the position of the navigator when you called this method. After calling this method, the XPathNodeIterator returned represents the set of selected nodes. Use System.Xml.XPath.XPathNodeIterator.MoveNext on the XPathNodeIterator to walk the selected node set. Use any of the Move methods on the XPathNavigator to move within the current node tree. The XPathNavigator navigation methods are independent of the selected nodes and the XPathNodeIterator. A string representing an XPath expression.


[13721] Select


[13722] [C#] public virtual XPathNodeIterator Select(XPathExpression expr);


[13723] [C++] public: virtual XPathNodeIterator* Select(XPathExpression* expr);


[13724] [VB] Overridable Public Function Select(ByVal expr As XPathExpression) As XPathNodeIterator


[13725] [JScript] public function Select(expr : XPathExpression) : XPathNodeIterator; Selects a node set using the specified XPath expression.


[13726] Description


[13727] Selects a node set using the specified System.Xml.XPath.XPathExpression.


[13728] Return Value: An System.Xml.XPath.XPathNodeIterator pointing to the selected node set.


[13729] The context for the selection is the position of the navigator when you called this method. After calling this method, the XPathNodeIterator returned represents the set of selected nodes. Use System.Xml.XPath.XPathNodeIterator.MoveNext on the XPathNodeIterator to walk the selected node set. Use any of the Move methods on the XPathNavigator to move within the current node tree. The XPathNavigator navigation methods are independent of the selected nodes and the XPathNodeIterator. An XPathExpression.


[13730] SelectAncestors


[13731] [C#] public virtual XPathNodeIterator SelectAncestors(XPathNodeType type, bool matchSelf);


[13732] [C++] public: virtual XPatbNodeIterator* SelectAncestors(XPathNodeType type, bool matchSelf);


[13733] [VB] Overridable Public Function SelectAncestors(ByVal type As XPathNodeType, ByVal matchSelf As Boolean) As XPathNodeIterator


[13734] [JScript] public function SelectAncestors(type : XPathNodeType, matchSelf : Boolean) : XPathNodeIterator; Selects all the ancestor element nodes of the current node matching the selection criteria.


[13735] Description


[13736] Selects all the ancestor element nodes of the current node with the matching System.Xml.XPath.XPathNodeType.


[13737] Return Value: An System.Xml.XPath.XPathNodeIterator pointing to the selected nodes.


[13738] This method has no effect on the state of the XPathNavigator. The XPathNodeType of the ancestor nodes. true to include the context node in the selection; otherwise false.


[13739] SelectAncestors


[13740] [C#] public virtual XPathNodeIterator SelectAncestors(string name, string namespaceURI, bool matchSelf);


[13741] [C++] public: virtual XPathNodeIterator* SelectAncestors(String* name, String* namespaceURI, bool matchSelf);


[13742] [VB] Overridable Public Function SelectAncestors(ByVal name As String, ByVal namespaceURI As String, ByVal matchSelf As Boolean) As XPathNodeIterator


[13743] [JScript] public function SelectAncestors(name : String, namespaceURI : String, matchSelf : Boolean) : XPathNodeIterator;


[13744] Description


[13745] Selects all the ancestor element nodes of the current node with the supplied local name and namespace URI.


[13746] Return Value: An System.Xml.XPath.XPathNodeIterator pointing to the selected nodes.


[13747] This method has no effect on the state of the XPathNavigator. The local name of the ancestor nodes. The namespace URI of the ancestor nodes. true to include the context node in the selection; otherwise false.


[13748] SelectChildren


[13749] [C#] public virtual XPathNodeIterator SelectChildren(XPathNodeType type);


[13750] [C++] public: virtual XPathNodeIterator* SelectChildren(XPathNodeType type);


[13751] [VB] Overridable Public Function SelectChildren(ByVal type As XPathNodeType) As XPathNodeIterator


[13752] [JScript] public function SelectChildren(type : XPathNodeType) : XPathNodeIterator; Selects all the child nodes of the current node matching the selection criteria.


[13753] Description


[13754] Selects all the child nodes of the current node with the matching System.Xml.XPath.XPathNodeType.


[13755] Return Value: An System.Xml.XPath.XPathNodeIterator pointing to the selected nodes.


[13756] This method has no effect on the state of the XPathNavigator. The XPathNodeType of the child nodes.


[13757] SelectChildren


[13758] [C#] public virtual XPathNodeIterator SelectChildren(string name, string namespaceURI);


[13759] [C++] public: virtual XPathNodeIterator* SelectChildren(String* name, String* namespaceURI);


[13760] [VB] Overridable Public Function SelectChildren(ByVal name As String, ByVal namespaceURI As String) As XPathNodeIterator


[13761] [JScript] public function SelectChildren(name : String, namespaceURI : String) : XPathNodeIterator;


[13762] Description


[13763] Selects all the child element nodes of the current node with the supplied local name and namespace URI.


[13764] Return Value: An System.Xml.XPath.XPathNodeIterator pointing to the selected nodes.


[13765] This method has no effect on the state of the XPathNavigator. The local name of the child nodes. The namespace URI of the child nodes.


[13766] SelectDescendants


[13767] [C#] public virtual XPathNodeIterator SelectDescendants(XPathNodeType type, bool matchSelf);


[13768] [C++] public: virtual XPathNodeIterator* SelectDescendants(XPathNodeType type, bool matchSelf);


[13769] [VB] Overridable Public Function SelectDescendants(ByVal type As XPathNodeType, ByVal matchSelf As Boolean) As XPathNodeIterator


[13770] [JScript] public function SelectDescendants(type : XPathNodeType, matchSelf : Boolean) : XPathNodeIterator; Selects all the descendant nodes of the current node matching the selection criteria.


[13771] Description


[13772] Selects all the descendant nodes of the current node with the matching System.Xml.XPath.XPathNodeType.


[13773] Return Value: An System.Xml.XPath.XPathNodeIterator pointing to the selected nodes.


[13774] This method has no effect on the state of the XPathNavigator. The XPathNodeType of the descendant nodes. true to include the context node in the selection; otherwise false.


[13775] SelectDescendants


[13776] [C#] public virtual XPathNodeIterator SelectDescendants(string name, string namespaceURI, bool matchSelf);


[13777] [C++] public: virtual XPathNodeIterator* SelectDescendants(String* name, String* namespaceURI, bool matchSelf);


[13778] [VB] Overridable Public Function SelectDescendants(ByVal name As String, ByVal namespaceURI As String, ByVal matchSelf As Boolean) As XPathNodeIterator


[13779] [JScript] public function SelectDescendants(name : String, namespaceURI : String, matchSelf : Boolean) : XPathNodeIterator;


[13780] Description


[13781] Selects all the descendant element nodes of the current node with the supplied local name and namespace URI.


[13782] Return Value: An System.Xml.XPath.XPathNodeIterator pointing to the selected nodes.


[13783] This method has no effect on the state of the XPathNavigator. The local name of the descendant nodes. The namespace URI of the descendant nodes. true to include the context node in the selection; otherwise false.


[13784] ICloneable.Clone


[13785] [C#] object ICloneable.Clone( );


[13786] [C++] Object* ICloneable::Clone( );


[13787] [VB] Function Clone( ) As Object Implements ICloneable.Clone


[13788] [JScript] function ICloneable.Clone( ) : Object;


[13789] ToString


[13790] [C#] public override string ToString( );


[13791] [C++] public: String* ToString( );


[13792] [VB] Overrides Public Function ToString( ) As String


[13793] [JScript] public override function ToString( ) : String;


[13794] Description


[13795] Gets the text value of the current node. This method is equivalent to returning the System.Xml.XPath.XPathNavigator.Value property.


[13796] Return Value: The content returned depends on the System.Xml.XPath.XPathNavigator.NodeType of the node.


[13797] XPathNodeIterator class (System.Xml.XPath)


[13798] ToString


[13799] Description


[13800] Provides an iterator over a set of selected nodes.


[13801] XPathNodeIterator


[13802] Example Syntax:


[13803] ToString


[13804] [C#] protected XPathNodeIterator( );


[13805] [C++] protected: XPathNodeIterator( );


[13806] [VB] Protected Sub New( )


[13807] [JScript] protected function XPathNodeIterator( );


[13808] Count


[13809] ToString


[13810] [C#] public virtual int Count {get;}


[13811] [C++] public: _property virtual int get_Count( );


[13812] [VB] Overridable Public ReadOnly Property Count As Integer


[13813] [JScript] public function get Count( ) : int;


[13814] Description


[13815] Gets the index of the last node in the selected set of nodes.


[13816] The Count property can be used to check whether nodes have been selected. The following C# code shows an example of this.


[13817] Current


[13818] ToString


[13819] [C#] public abstract XPathNavigator Current {get;}


[13820] [C++] public: property virtual XPathNavigator* get_Current( )=0;


[13821] [VB] MustOverride Public ReadOnly Property Current As XPathNavigator


[13822] [JScript] public abstract function get Current( ) : XPathNavigator;


[13823] Description


[13824] When overridden in a derived class, returns the navigator for this XPathNodeIterator positioned on the current node.


[13825] You can use the properties of the XPathNavigator to return information on the current node. However, the XPathNavigator cannot be used to move away from the selected node set. Doing so could invalidate the state of the navigator. Alternatively, you can clone the XPathNavigator. The cloned XPathNavigator can then be moved away from the selected node set. This is an application level decision. Providing this functionality may affect the performance of the XPath query.


[13826] CurrentPosition


[13827] ToString


[13828] [C#] public abstract int CurrentPosition {get;}


[13829] [C++] public: _property virtual int get_CurrentPosition( )=0;


[13830] [VB] MustOverride Public ReadOnly Property CurrentPosition As Integer


[13831] [JScript] public abstract function get CurrentPosition( ) : int;


[13832] Description


[13833] When overridden in a derived class, gets the index of the current position in the selected set of nodes.


[13834] Clone


[13835] [C#] public abstract XPathNodeIterator Clone( );


[13836] [C++] public: virtual XPathNodeIterator* Clone( )=0;


[13837] [VB] MustOverride Public Function Clone( ) As XPathNodeIterator


[13838] [JScript] public abstract function Clone( ) : XPatbNodeIterator;


[13839] Description


[13840] When overridden in a derived class, creates a new XPathNodeIterator.


[13841] Return Value: A new XPathNodeIterator object.


[13842] The cloned XPathNodeIterator is not affected by subsequent changes to the current XPathNodeIterator.


[13843] MoveNext


[13844] [C#] public abstract bool MoveNext( );


[13845] [C++] public: virtual bool MoveNext( )=0;


[13846] [VB] MustOverride Public Function MoveNext( ) As Boolean


[13847] [JScript] public abstract function MoveNext( ) : Boolean;


[13848] Description


[13849] When overridden in a derived class, moves the System.Xml.XPath.XPathNavigator to the next node in the selected set.


[13850] Return Value: true if the XPathNavigator moved to the next node; false if there are no more selected nodes.


[13851] The node set is created in document order, therefore calling this method moves to the next node in document order. The XPathNodeIterator is positioned on the first node in the selected set after the initial call to MoveNext. This makes it easy to write a while loop.


[13852] ICloneable.Clone


[13853] [C#] object ICloneable.Clone( );


[13854] [C++] Object* ICloneable::Clone( );


[13855] [VB] Function Clone( ) As Object Implements ICloneable.Clone


[13856] [JScript] function ICloneable.Clone( ) : Object;


[13857] XPathNodeType enumeration (System.Xml.XPath)


[13858] ToString


[13859] Description


[13860] Specifies the XPath node types which can be returned from the System.Xml.XPath.XPathNavigator.


[13861] ToString


[13862] [C#] public const XPathNodeType All;


[13863] [C++] public: const XPathNodeType All;


[13864] [VB] Public Const All As XPathNodeType


[13865] [JScript] public var All : XPathNodeType;


[13866] Description


[13867] All node types.


[13868] ToString


[13869] [C#] public const XPathNodeType Attribute;


[13870] [C++] public: const XPathNodeType Attribute;


[13871] [VB] Public Const Attribute As XPathNodeType


[13872] [JScript] public var Attribute : XPathNodeType;


[13873] Description


[13874] An attribute in the node tree.


[13875] ToString


[13876] [C#] public const XPathNodeType Comment;


[13877] [C++] public: const XPathNodeType Comment;


[13878] [VB] Public Const Comment As XPathNodeType


[13879] [JScript] public var Comment : XPathNodeType;


[13880] Description


[13881] A comment.


[13882] ToString


[13883] [C#] public const XPathNodeType Element;


[13884] [C++] public: const XPathNodeType Element;


[13885] [VB] Public Const Element As XPathNodeType


[13886] [JScript] public var Element : XPathNodeType;


[13887] Description


[13888] An element in the node tree.


[13889] ToString


[13890] [C#] public const XPathNodeType Namespace;


[13891] [C++] public: const XPathNodeType Namespace;


[13892] [VB] Public Const Namespace As XPathNodeType


[13893] [JScript] public var Namespace : XPathNodeType;


[13894] Description


[13895] A namespace node. This is equivalent to a DOM attribute that declares a namespace (for example, xmlns).


[13896] ToString


[13897] [C#] public const XPathNodeType ProcessingInstruction;


[13898] [C++] public: const XPathNodeType ProcessingInstruction;


[13899] [VB] Public Const ProcessingInstruction As XPathNodeType


[13900] [JScript] public var ProcessingInstruction : XPathNodeType;


[13901] Description


[13902] A processing instruction.


[13903] ToString


[13904] [C#] public const XPathNodeType Root;


[13905] [C++] public: const XPathNodeType Root;


[13906] [VB] Public Const Root As XPathNodeType


[13907] [JScript] public var Root: XPathNodeType;


[13908] Description


[13909] The root of the node tree.


[13910] ToString


[13911] [C#] public const XPathNodeType SignificantWhitespace;


[13912] [C++] public: const XPathNodeType SignificantWhitespace;


[13913] [VB] Public Const SignificantWhitespace As XPathNodeType


[13914] [JScript] public var SignificantWhitespace : XPathNodeType;


[13915] Description


[13916] A node with whitespace and xml:space set to preserve.


[13917] ToString


[13918] [C#] public const XPathNodeType Text;


[13919] [C++] public: const XPathNodeType Text;


[13920] [VB] Public Const Text As XPathNodeType


[13921] [JScript] public var Text : XPathNodeType;


[13922] Description


[13923] The text content of an element or attribute.


[13924] ToString


[13925] [C#] public const XPathNodeType Whitespace;


[13926] [C++] public: const .PathNodeType Whitespace;


[13927] [VB] Public Const Whitespace As XPathNodeType


[13928] [JScript] public var Whitespace : XPathNodeType;


[13929] Description


[13930] A node with only whitespace characters and no significant whitespace.


[13931] XPathResultType enumeration (System.Xml.XPath)


[13932] ToString


[13933] Description


[13934] Specifies the the return type of the XPath expression.


[13935] ToString


[13936] [C++] public const XPathResultType Any;


[13937] [C++] public: const XPathResultType Any;


[13938] [VB] Public Const Any As XPathResultType


[13939] [JScript] public var Any : XPathResultType;


[13940] Description


[13941] Any of the XPath node types.


[13942] ToString


[13943] [C#] public const XPathResultType Boolean;


[13944] [C++] public: const XPathResultType Boolean;


[13945] [VB] Public Const Boolean As XPathResultType


[13946] [JScript] public var Boolean : XPathResultType;


[13947] Description


[13948] Boolean value true or false.


[13949] ToString


[13950] [C#] public const XPathResultType Error;


[13951] [C++] public: const XPathResultType Error;


[13952] [VB] Public Coust Error As XPathResultType


[13953] [JScript] public var Error : XPathResultType;


[13954] Description


[13955] The expression does not evaluate to the correct XPath type.


[13956] ToString


[13957] [C#] public const XPathResultType Navigator;


[13958] [C++] public: const XPathResultType Navigator;


[13959] [VB] Public Const Navigator As XPathResultType


[13960] [JScript] public var Navigator : XPathResultType;


[13961] Description


[13962] A tree fragment.


[13963] ToString


[13964] [C#] public const XPathResultType NodeSet;


[13965] [C++] public: const XPathResultType NodeSet;


[13966] [VB] Public Const Node Set As XPathResultType


[13967] [JScript] public var NodeSet : XPathResultType;


[13968] Description


[13969] A node collection.


[13970] ToString


[13971] [C#] public const XPathResultType Number;


[13972] [C++] public: const XPathResultType Number;


[13973] [VB] Public Const Number As XPathResultType


[13974] [JScript] public var Number : XPathResultType;


[13975] Description


[13976] Numeric value.


[13977] ToString


[13978] [C#] public const XPathResultType String;


[13979] [C++] public: const XPathResultType String
1System.Xml.XslThis namespace provides support for XSL/T transformations.Type NameDescriptionSystem.Xml.Xsl.IXsltContextFunctiProvides an interface to a given functionondefined in the XSLT stylesheet duringruntime execution.System.Xml.Xsl.IXsltContextVariabProvides an interface to a given variable thatleis defined in the stylesheet during runtimeexecution.System.Xml.Xsl.XsltArgumentListContains a variable number of argumentswhich are either XSLT parameters orextension objects.System.Xml.Xsl.XsltCompileExceptThe exception that is thrown by theionSystem.Xml.Xsl.XslTransform.Load(System.String)method when an error is found inthe XSLT stylesheet.XsltCompileExceptionSystem.Xml.Xsl.XsltContextEncapsulates the current execution contextof the XSLT processor allowing XPath toresolve functions, parameters, andnamespaces within XPath expressions.abstractSystem.Xml.Xsl.XsltExceptionThe exception that is thrown when an erroroccurs while processing an XSL transform.XsltExceptionSystem.Xml.Xsl.XslTransformTransforms XML data using an XSLTstylesheet.


[13980] Description


[13981] This namespace provides support for XSL/T transformations.


[13982] lXsltContextFunction interface (System.Xml.Xsl)


[13983] Description


[13984] Provides an interface to a given function defined in the XSLT stylesheet during runtime execution.


[13985] Properties:


[13986] ArgTypes


[13987] [C#] XPathesultType[ ] ArgTypes {get;}


[13988] [C++] XPathResultType get_ArgTypes( );


[13989] [VB] ReadOnly Property ArgTypes As XPathResultType( )


[13990] [JScript] abstract function get ArgTypes( ) : XPathResultType[ ];


[13991] Description


[13992] Gets the supplied XPath types for the function's argument list. This information can be used to discover the function's signature which allows you to differentiate between overloaded functions.


[13993] Maxargs


[13994] [C#] int Maxargs {get;}


[13995] [C++] int get_Maxargs( );


[13996] [VB] ReadOnly Property Maxargs As Integer


[13997] [JScript] abstract function get Maxargs( ) : int;


[13998] Description


[13999] Gets the maximum number of arguments for the function. This enables the user to differentiate between overloaded functions.


[14000] Minargs


[14001] [C#] int Minargs {get;}


[14002] [C++] int get_Minargs( );


[14003] [VB] ReadOnly Property Minargs As Integer


[14004] [JScript] abstract function get Minargs( ) : int;


[14005] Description


[14006] Gets the minimum number of arguments for the function. This enables the user to differentiate between overloaded functions.


[14007] ReturnType


[14008] [C#] XPathResultType ReturnType {get;}


[14009] [C++] XPathResultType get_ReturnType( );


[14010] [VB] ReadOnly Property ReturnType As XPathResultType


[14011] [JScript] abstract function get ReturnType( ) : XPathResultType;


[14012] Description


[14013] Gets the System.Xml.XPath.XPathResultType representing the XPath type returned by the function.


[14014] Methods:


[14015] Invoke


[14016] [C#] object Invoke(XsltContext xsltContext, object[ ] args, XPathNavigator docContext);


[14017] [C++] Object* Invoke(XsltContext* xsltContext, Object* args_gc[ ], XPathNavigator* docContext);


[14018] [VB] Function Invoke(ByVal xsltContext As XsltContext, ByVal args( ) As Object, ByVal docContext As XPathNavigator) As Object


[14019] [JScript] function Invoke(xsltContext : XsltContext, args : Object[ ], docContext : XPathNavigator) : Object;


[14020] Description


[14021] Provides the method to Invoke the function with the given arguments in the given namespace.


[14022] Return Value: An System.Object representing the return value of the function.


[14023] The docContext parameter is required so that functions which require a node-set can be supplied the current XSLT context. For example, consider the following XSLT document function:


[14024] Exemplary Computing System and Environment


[14025]
FIG. 4 illustrates an example of a suitable computing environment 400 within which the programming framework 132 may be implemented (either fully or partially). The computing environment 400 may be utilized in the computer and network architectures described herein.


[14026] The exemplary computing environment 400 is only one example of a computing environment and is not intended to suggest any limitation as to the scope of use or functionality of the computer and network architectures. Neither should the computing environment 400 be interpreted as having any dependency or requirement relating to any one or combination of components illustrated in the exemplary computing environment 400.


[14027] The framework 132 may be implemented with numerous other general purpose or special purpose computing system environments or configurations. Examples of well known computing systems, environments, and/or configurations that may be suitable for use include, but are not limited to, personal computers, server computers, multiprocessor systems, microprocessor-based systems, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and so on. Compact or subset versions of the framework may also be implemented in clients of limited resources, such as cellular phones, personal digital assistants, handheld computers, or other communication/computing devices.


[14028] The framework 132 may be described in the general context of computer-executable instructions, such as program modules, being executed by one or more computers or other devices. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The framework 132 may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.


[14029] The computing environment 400 includes a general-purpose computing device in the form of a computer 402. The components of computer 402 can include, by are not limited to, one or more processors or processing units 404, a system memory 406, and a system bus 408 that couples various system components including the processor 404 to the system memory 406.


[14030] The system bus 408 represents one or more of several possible types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures can include an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, an Enhanced ISA (EISA) bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnects (PCI) bus also known as a Mezzanine bus.


[14031] Computer 402 typically includes a variety of computer readable media. Such media can be any available media that is accessible by computer 402 and includes both volatile and non-volatile media, removable and non-removable media.


[14032] The system memory 406 includes computer readable media in the form of volatile memory, such as random access memory (RAM) 410, and/or non-volatile memory, such as read only memory (ROM) 412. A basic input/output system (BIOS) 414, containing the basic routines that help to transfer information between elements within computer 402, such as during start-up, is stored in ROM 412. RAM 410 typically contains data and/or program modules that are immediately accessible to and/or presently operated on by the processing unit 404. Computer 402 may also include other removable/non-removable, volatile/non-volatile computer storage media. By way of example, FIG. 4 illustrates a hard disk drive 416 for reading from and writing to a non-removable, non-volatile magnetic media (not shown), a magnetic disk drive 418 for reading from and writing to a removable, non-volatile magnetic disk 420 (e.g., a “floppy disk”), and an optical disk drive 422 for reading from and/or writing to a removable, non-volatile optical disk 424 such as a CD-ROM, DVD-ROM, or other optical media. The hard disk drive 416, magnetic disk drive 418, and optical disk drive 422 are each connected to the system bus 408 by one or more data media interfaces 426. Alternatively, the hard disk drive 416, magnetic disk drive 418, and optical disk drive 422 can be connected to the system bus 408 by one or more interfaces (not shown).


[14033] The disk drives and their associated computer-readable media provide non-volatile storage of computer readable instructions, data structures, program modules, and other data for computer 402. Although the example illustrates a hard disk 416, a removable magnetic disk 420, and a removable optical disk 424, it is to be appreciated that other types of computer readable media which can store data that is accessible by a computer, such as magnetic cassettes or other magnetic storage devices, flash memory cards, CD-ROM, digital versatile disks (DVD) or other optical storage, random access memories (RAM), read only memories (ROM), electrically erasable programmable read-only memory (EEPROM), and the like, can also be utilized to implement the exemplary computing system and environment.


[14034] Any number of program modules can be stored on the hard disk 416, magnetic disk 420, optical disk 424, ROM 412, and/or RAM 410, including by way of example, an operating system 426, one or more application programs 428, other program modules 430, and program data 432. Each of the operating system 426, one or more application programs 428, other program modules 430, and program data 432 (or some combination thereof) may include elements of the programming framework 132.


[14035] A user can enter commands and information into computer 402 via input devices such as a keyboard 434 and a pointing device 436 (e.g., a “mouse”). Other input devices 438 (not shown specifically) may include a microphone, joystick, game pad, satellite dish, serial port, scanner, and/or the like. These and other input devices are connected to the processing unit 404 via input/output interfaces 440 that are coupled to the system bus 408, but may be connected by other interface and bus structures, such as a parallel port, game port, or a universal serial bus (USB).


[14036] A monitor 442 or other type of display device can also be connected to the system bus 408 via an interface, such as a video adapter 444. In addition to the monitor 442, other output peripheral devices can include components such as speakers (not shown) and a printer 446 which can be connected to computer 402 via the input/output interfaces 440.


[14037] Computer 402 can operate in a networked environment using logical connections to one or more remote computers, such as a remote computing device 448. By way of example, the remote computing device 448 can be a personal computer, portable computer, a server, a router, a network computer, a peer device or other common network node, and so on. The remote computing device 448 is illustrated as a portable computer that can include many or all of the elements and features described herein relative to computer 402.


[14038] Logical connections between computer 402 and the remote computer 448 are depicted as a local area network (LAN) 450 and a general wide area network (WAN) 452. Such networking environments are commonplace in offices, enterprise-wide computer networks, intranets, and the Internet.


[14039] When implemented in a LAN networking environment, the computer 402 is connected to a local network 450 via a network interface or adapter 454. When implemented in a WAN networking environment, the computer 402 typically includes a modem 456 or other means for establishing communications over the wide network 452. The modem 456, which can be internal or external to computer 402, can be connected to the system bus 408 via the input/output interfaces 440 or other appropriate mechanisms. It is to be appreciated that the illustrated network connections are exemplary and that other means of establishing communication link(s) between the computers 402 and 448 can be employed.


[14040] In a networked environment, such as that illustrated with computing environment 400, program modules depicted relative to the computer 402, or portions thereof, may be stored in a remote memory storage device. By way of example, remote application programs 458 reside on a memory device of remote computer 448. For purposes of illustration, application programs and other executable program components such as the operating system are illustrated herein as discrete blocks, although it is recognized that such programs and components reside at various times in different storage components of the computing device 402, and are executed by the data processor(s) of the computer.


[14041] An implementation of the framework 132, and particularly, the API 142 or calls made to the API 142, may be stored on or transmitted across some form of computer readable media. Computer readable media can be any available media that can be accessed by a computer. By way of example, and not limitation, computer readable media may comprise “computer storage media” and “communications media.” “Computer storage media” include volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules, or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer.


[14042] “Communication media” typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as carrier wave or other transport mechanism. Communication media also includes any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared, and other wireless media. Combinations of any of the above are also included within the scope of computer readable media.


[14043] Alternatively, portions of the framework may be implemented in hardware or a combination of hardware, software, and/or firmware. For example, one or more application specific integrated circuits (ASICs) or programmable logic devices (PLDs) could be designed or programmed to implement one or more portions of the framework.



Conclusion

[14044] Although the invention has been described in language specific to structural features and/or methodological acts, it is to be understood that the invention defined in the appended claims is not necessarily limited to the specific features or acts described. Rather, the specific features and acts are disclosed as exemplary forms of implementing the claimed invention.


Claims
  • 1. A software architecture for a distributed computing system comprising: an application configured to handle requests submitted by remote devices over a network; and an application program interface to present functions used by the application to access network and computing resources of the distributed computing system, wherein the application program interface comprises a set of classes that make available standards-based support for processing XML documents.
  • 2. A software architecture as recited in claim 1, wherein the set of classes comprises: an XmlReader class that enables non-cached forward only access to XML data; an XPathNavigator class that enables read-only random access to a data store; an XslTransform class that enables transforming of XML data using an XSLT stylesheet; a plurality of Xml Schema classes that enable constructing and editing of schemas; an XmlResolver class that enables resolving of external XML resources named by a Uniform Resource Identifier (URI); an XmlDataDocument class that enables structured data to be stored, retrieved, and manipulated through a relational dataset; and an XmlWriter class that enables a non-cached forward only way of generating streams and files containing XML data.
  • 3. A software architecture as recited in claim 2, wherein the set of classes further comprises: an XmlValidatingReader class that enables DTD, XDR and XSD schema validation.
  • 4. An XmlReader class of an application program interface, embodied on one or more computer readable media that enables non-cached forward only access to XML data, the XmlReader class comprising: an XmlReader constructor that enables initialization of a new instance of the XmlReader class; and a Read method that enables reading of nodes of the XML data via the XmlReader class instance.
  • 5. An XmlReader class of an application program interface as recited in claim 4, wherein the XmlReader class further comprises: a BaseURI property that identifies a base URI of a current node of the XML data; and a NodeType property that identifies the type of the current node.
  • 6. An XPathNavigator class of an application program interface, embodied on one or more computer readable media, that enables read-only random access to a data store, the XPathNavigator class comprising: an XPathNavigator constructor that enables initialization of a new instance of the XPathNavigator class; a MoveToFirst method that enables moving to a first sibling of a current node of XML data; a MoveToNext method that enables moving to a next sibling of the current node; a MoveToPrevious method that enables moving to a previous sibling of the current node; a MoveToFirstChild method that enables moving to a first child of the current node; a MoveToParent method that enables moving to a parent of the current node; and a NodeType property that enables obtaining the type of the node that is moved to.
  • 7. An XslTransform class of an application program interface, embodied on one or more computer readable media, that enables transforming of XML data using an XSLT stylesheet, the XslTransform class comprising: an XslTransform constructor that enables initialization of a new instance of the XslTransform class; a Load method that enables loading of the XSLT stylesheet; and a Transform method that enables transforming of the specified XML data using the loaded XSLT stylesheet and outputs the results.
  • 8. A set of XmlSchema classes of an application program interface, embodied on one or more computer readable media, that enable constructing and editing of schemas, the set of XmlSchema classes comprising: a Schema class that contains a definition of a schema; a SchemaObject class that enables creating of an empty schema; and a SchemaCollection class that contains a cache of defined XML Schema Definition language (XSD) and XML-Data Reduced Language (XDR) schemas.
  • 9. An XmlResolver class of an application program interface, embodied on one or more computer readable media, that enables resolving of external XML resources named by a Uniform Resource Identifier (URI), the XmlResolver class comprising: a ResolveURI method that enables resolving the absolute URI from a base URI and a relative URI; and a GetEntity method that enables mapping of the resolved URI to an object containing identified resource.
  • 10. An XmlDataDocument class of an application program interface, embodied on one or more computer readable media, that enables structured data to be stored, retrieved, and manipulated through a relational dataset, the XmlDataDocument class comprising: a DataSet property that enables obtaining of a dataset that provides a relational representation of the data in a document; a Load method that enables loading of the document using a specified data source and synchronizing the dataset with the loaded data.
  • 11. An XmlWriter class of an application program interface, embodied on one or more computer readable media, that enables a non-cached forward only way of generating streams and files containing XML data, the XmlWriter class comprising: an XmlWriter constructor that enables initialization of a new instance of the XmlWriter class; and an WriteState property that enables obtaining of the state of an instance of the XmlWriter class; and a plurality of Write methods that enable writing XML data via the instance of the XmlWriter class.
  • 12. An XmlValidatingReader class of an application program interface, embodied on one or more computer readable media, that enables DTD, XDR and XSD schema validation, the XmlValidatingReader class comprising: a ValidationType property that enables obtaining an indication of what type of validation to perform on a document; a Read method that enables reading of nodes of the document so that validation of the document can be performed.
  • 13. An XmlValidatingReader class of an application program interface as recited in claim 12, where the type of validation to perform is validation according to DTD.
  • 14. An XmlValidatingReader class of an application program interface as recited in claim 12, where the type of validation to perform is validation according to XSD schemas.
  • 15. An XmlValidatingReader class of an application program interface as recited in claim 12, where the type of validation to perform is validation according to XDR schemas.
  • 16. A distributed computer software architecture, comprising: one or more applications configured to be executed on one or more computing devices, the applications handling requests submitted from remote computing devices; a networking platform to support the one or more applications; and an application programming interface to interface the one or more applications with the networking platform, wherein the application program interface comprises a set of classes that make available standards-based support for processing documents written in a markup language.
  • 17. A software architecture as recited in claim 16, wherein the set of classes comprises: an XmlReader class that enables non-cached forward only access to XML data; an XPathNavigator class that enables read-only random access to a data store; an XslTransform class that enables transforming of XML data using an XSLT stylesheet; a plurality of Xml Schema classes that enable constructing and editing of schemas; an XmlResolver class that enables resolving of external XML resources named by a Uniform Resource Identifier (URI); an XmlDataDocument class that enables structured data to be stored, retrieved, and manipulated through a relational dataset; and an XmlWriter class that enables a non-cached forward only way of generating streams and files containing XML data.
  • 18. A software architecture as recited in claim 17, wherein the set of classes further comprises: an XmlValidatingReader class that enables DTD, XDR and XSD schema validation.
  • 19. A computer system including one or more microprocessors and one or more software programs, the one or more software programs utilizing an application program interface to request services from an operating system, the application program interface including separate commands to request services that make available support for processing XML documents.
  • 20. A software architecture as recited in claim 19, wherein the commands include: non-cached forward only access to XML data; read-only random access to a data store; transforming of XML data using an XSLT stylesheet; constructing and editing of schemas; resolving of external XML resources named by a Uniform Resource Identifier (URI); storage, retrieval, and manipulation of structured data through a relational dataset; and non-cached forward only generation of streams and files containing XML data.
  • 21. A software architecture as recited in claim 20, wherein the commands further include: validating DTD, XDR and XSD schemas.
  • 22. A method comprising: receiving one or more calls from one or more remote devices over a network, wherein the one or more calls are to one or more functions that make available support for processing XML documents; and performing the requested XML document processing.
  • 23. A software architecture as recited in claim 22, wherein the one or more functions comprises: an XmlReader function that enables non-cached forward only access to XML data; an XPathNavigator function that enables read-only random access to a data store; an XslTransform function that enables transforming of XML data using an XSLT stylesheet; a plurality of Xml Schema functions that enable constructing and editing of schemas; an XmlResolver function that enables resolving of external XML resources named by a Uniform Resource Identifier (URI); an XmlDataDocument function that enables structured data to be stored, retrieved, and manipulated through a relational dataset; and an XmlWriter function that enables a non-cached forward only way of generating streams and files containing XML data.
  • 24. A software architecture as recited in claim 23, wherein the one or more functions further comprises: an XmlValidatingReader function that enables DTD, XDR and XSD schema validation.
  • 25. A method comprising: calling, to one or more remote devices over a network, one or more functions that make available support for processing XML documents; receiving, from the one or more remote devices, a response to the calling.
  • 26. A software architecture as recited in claim 25, wherein the one or more functions comprises: an XmlReader function that enables non-cached forward only access to XML data; an XPathNavigator function that enables read-only random access to a data store; an XslTransform function that enables transforming of XML data using an XSLT stylesheet; a plurality of Xml Schema functions that enable constructing and editing of schemas; an XmlResolver function that enables resolving of external XML resources named by a Uniform Resource Identifier (URI); an XmlDataDocument function that enables structured data to be stored, retrieved, and manipulated through a relational dataset; and an XmlWriter function that enables a non-cached forward only way of generating streams and files containing XML data.
  • 27. A software architecture as recited in claim 26, wherein the one or more functions further comprises: an XmlValidatingReader function that enables DTD, XDR and XSD schema validation.