PreserveAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When applied to a target (e.g. assembly, class, member, etc.), instructs the Xamarin linker to preserve that target in the linking process result.
[System.AttributeUsage(System.AttributeTargets.All)]
public sealed class PreserveAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.All)>]
type PreserveAttribute = class
inherit Attribute
Public NotInheritable Class PreserveAttribute
Inherits Attribute
- Inheritance
-
PreserveAttribute
- Attributes
Constructors
PreserveAttribute() |
Fields
AllMembers |
Preserve all members |
Conditional |
Apply a condition to determine which members to preserve. |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET