INSDiscardableContent Interface
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.
Interface for a class that can save memory by discarding some of its subcomponents when they are not in use.
[Foundation.Protocol(Name="NSDiscardableContent", WrapperType=typeof(Foundation.NSDiscardableContentWrapper))]
public interface INSDiscardableContent : IDisposable, ObjCRuntime.INativeObject
type INSDiscardableContent = interface
interface INativeObject
interface IDisposable
- Derived
- Attributes
- Implements
Properties
Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
IsContentDiscarded |
Gets a Boolean value that tells whether the content has been discarded. |
Methods
BeginContentAccess() |
Requests access to the content, and returns |
DiscardContentIfPossible() |
Discards the content if it is not being accessed. |
EndContentAccess() |
Indicates that access to the content is no longer needed. |