Language

PreserveAttribute Constructors

Definition

Overloads

Name Description
PreserveAttribute()

Instruct the MonoTouch linker to preserve the decorated code

PreserveAttribute(Type)

Initializes a new instance of the PreserveAttribute class with the specified type.

PreserveAttribute()

Instruct the MonoTouch linker to preserve the decorated code

public PreserveAttribute();

Remarks

By default the linker, when enabled, will remove all the code that is not directly used by the application.

Applies to

PreserveAttribute(Type)

Initializes a new instance of the PreserveAttribute class with the specified type.

public PreserveAttribute(Type type);
new Foundation.PreserveAttribute : Type -> Foundation.PreserveAttribute

Parameters

type
Type

The type to preserve.

Applies to