XsdTypeImporterTask Class
Custom MSBuild task used to generate CLR types from XML schemas
Inheritance Hierarchy
System.Object
Microsoft.Build.Utilities.Task
Microsoft.Build.Tasks.Xsd.XsdTypeImporterTask
Namespace: Microsoft.Build.Tasks.Xsd
Assembly: XsdBuildTask (in XsdBuildTask.dll)
Syntax
'Declaration
Public Class XsdTypeImporterTask _
Inherits Task
public class XsdTypeImporterTask : Task
public ref class XsdTypeImporterTask : public Task
type XsdTypeImporterTask =
class
inherit Task
end
public class XsdTypeImporterTask extends Task
The XsdTypeImporterTask type exposes the following members.
Constructors
Name | Description | |
---|---|---|
XsdTypeImporterTask | Initializes a new instance of the XsdTypeImporterTask class. |
Top
Properties
Name | Description | |
---|---|---|
BuildEngine | Gets or sets the instance of the IBuildEngine object used by the task. (Inherited from Task.) | |
BuildEngine2 | Gets the instance of the IBuildEngine2 object used by the task. (Inherited from Task.) | |
BuildEngine3 | Gets the instance of the IBuildEngine3 object used by the task. (Inherited from Task.) | |
BuildEngine4 | Gets the instance of the IBuildEngine4 object used by the task. (Inherited from Task.) | |
CollectionTypes | Gets or sets the fully qualified or assembly qualified names of the types to be used as collection data types. | |
EnableDataBinding | Gets or sets a value indicating whether the data binding for XSD type importer task is enabled. | |
ExcludedTypes | Gets or sets the excluded types for the XSD type importer task. | |
GenerateInternalTypes | Gets or sets a value indicating whether to generate classes that are marked as internal. | |
GenerateSerializableTypes | Gets or sets a value indicating whether to generate classes marked with [Serializable] Attribute. | |
HelpKeywordPrefix | Gets or sets the prefix used to compose Help keywords from resource names. (Inherited from Task.) | |
HostObject | Gets or sets the host object associated with the task. (Inherited from Task.) | |
ImportXmlTypes | Gets or sets a value indicating whether to configure the DataContractSerializer to import non-DataContract types as IXmlSerializable. | |
InputXsdFiles | Gets or sets the input XML schema files. | |
Language | Gets or sets the programming language to use for code generation. | |
Log | Gets an instance of a TaskLoggingHelper class containing task logging methods. (Inherited from Task.) | |
NamespaceMappings | Gets or sets the mappings from XML schema target Namespace to CLR namespace. | |
OutputDirectory | Gets or sets the output directory. | |
OutputFile | Gets the output file containing the generated types. | |
References | Gets or sets the full path to assemblies that will be loaded for data contract type reuse. | |
SerializerMode | Gets or sets the serialization mode. | |
SupportFx35DataTypes | Gets or sets a value indicating whether to support typed datasets from .NET Framework 3.5. | |
TaskResources | Gets or sets the culture-specific resources associated with the task. (Inherited from Task.) |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Execute | Indicates whether the XML Schema definition type importer task executes. (Overrides Task.Execute().) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Version Information
.NET Framework
Supported in: 4.6, 4.5
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.