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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.