SGen.Types Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets or sets a list of specific types to generate serialization code for. SGen generates code only for these types.

MSBuild is now included in Visual Studio instead of the .NET Framework.You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Tasks
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
Public Property Types As String()
public string[] Types { get; set; }
public:
property array<String^>^ Types {
    array<String^>^ get ();
    void set (array<String^>^ value);
}
member Types : string[] with get, set
function get Types () : String[]
function set Types (value : String[])

Property Value

Type: array<System.String[]
Returns a list of specific types.

.NET Framework Security

See Also

Reference

SGen Class

Microsoft.Build.Tasks Namespace