Share via


SGen.UseKeep Property

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

Sets the /keep parameter. For more information about parameters, see XML Serializer Generator Tool (Sgen.exe).

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

Syntax

'Declaration
Public Property UseKeep As Boolean
public bool UseKeep { get; set; }
public:
property bool UseKeep {
    bool get ();
    void set (bool value);
}
member UseKeep : bool with get, set
function get UseKeep () : boolean 
function set UseKeep (value : boolean)

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

SGen Class

Microsoft.Build.Tasks Namespace