Class SafeAppControlHandle

    Definition

    Namespace:
    Tizen.Applications
    Assembly:
    Tizen.Applications.Common.dll

    Represents a wrapper class for an unmanaged AppControl handle.

    public sealed class SafeAppControlHandle : SafeHandle
    Inheritance
    object
    SafeAppControlHandle

    Constructors

    View Source

    SafeAppControlHandle()

    Initializes a new instance of the SafeAppControlHandle class.

    Declaration
    public SafeAppControlHandle()
    View Source

    SafeAppControlHandle(IntPtr, bool)

    Initializes a new instance of the SafeAppControlHandle class.

    Declaration
    public SafeAppControlHandle(IntPtr existingHandle, bool ownsHandle)
    Parameters
    Type Name Description
    IntPtr existingHandle

    An IntPtr object that represents the pre-existing handle to use.

    bool ownsHandle

    true to reliably release the handle during the finalization phase; false to prevent reliable release.

    Properties

    View Source

    IsInvalid

    Gets a value that indicates whether the handle is invalid.

    Declaration
    public override bool IsInvalid { get; }
    Property Value
    Type Description
    bool

    Methods

    View Source

    ReleaseHandle()

    When overridden in a derived class, executes the code required to free the handle.

    Declaration
    protected override bool ReleaseHandle()
    Returns
    Type Description
    bool

    true if the handle is released successfully.

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX