Share via


NamespaceDeclaration Class

Declares the identifier and the prefix of a XML namespace by storing these string values as separate properties.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Dts.Tasks.XMLTask.NamespaceDeclaration

Namespace:  Microsoft.SqlServer.Dts.Tasks.XMLTask
Assembly:  Microsoft.SqlServer.XMLTask (in Microsoft.SqlServer.XMLTask.dll)

Syntax

'Declaration
Public Class NamespaceDeclaration
'Usage
Dim instance As NamespaceDeclaration
public class NamespaceDeclaration
public ref class NamespaceDeclaration
type NamespaceDeclaration =  class end
public class NamespaceDeclaration

The NamespaceDeclaration type exposes the following members.

Constructors

  Name Description
Public method NamespaceDeclaration Initializes a new instance of the NamespaceDeclaration class.

Top

Properties

  Name Description
Public property Prefix Gets the prefix that is used as the XML namespace mapping prefix.
Public property Uri Gets or sets the uniform resource identifier.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Overrides Object.ToString().)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Dts.Tasks.XMLTask Namespace