ServiceDescriptionImporter.CodeGenerationOptions Property

 

Gets or sets various options for code generation.

Namespace:   System.Web.Services.Description
Assembly:  System.Web.Services (in System.Web.Services.dll)

[<ComVisibleAttribute(false)>]
member CodeGenerationOptions : CodeGenerationOptions with get, set

Property Value

Type: System.Xml.Serialization.CodeGenerationOptions

A member or combination of members of the CodeGenerationOptions enumeration.

The CodeGenerationOptions property allows you to specify various options used when the Import method is called to generate code. For example, you can specify whether simple types described in the WSDL are generated as value types or System.Data.SqlTypes namespace types, and whether they are generated as properties or fields.

The following example illustrates the use of the CodeGenerationOptions property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: