Class NativeStructAttribute

    Definition

    Namespace:
    Tizen.Internals
    Assembly:
    Tizen.dll

    Indicates that the attributed struct maps an unmanaged struct.

    public class NativeStructAttribute : Attribute
    Inheritance
    object
    NativeStructAttribute
    Remarks

    The NativeStructAttribute attribute provides the information needed to verify that tue struct is correctly mapped.

    Constructors

    View Source

    NativeStructAttribute(string)

    Initializes a new instance of the NativeStructAttribute class with the native struct information.

    Declaration
    public NativeStructAttribute(string structName)
    Parameters
    Type Name Description
    string structName

    The name of structure to test the size.

    Remarks

    The NativeStructAttribute attribute provides the information needed to verify that tue struct is correctly mapped.

    Properties

    View Source

    Arch

    Runtime architecture to specify mapping.

    Declaration
    public NativeStructArch Arch { get; set; }
    Property Value
    Type Description
    NativeStructArch
    Remarks

    The NativeStructAttribute attribute provides the information needed to verify that tue struct is correctly mapped.

    View Source

    Include

    The name of C header file(.h) that contains the struct to test.

    Declaration
    public string Include { get; set; }
    Property Value
    Type Description
    string
    Remarks

    The NativeStructAttribute attribute provides the information needed to verify that tue struct is correctly mapped.

    View Source

    PkgConfig

    The name of pkg-config that provides the header file location.

    Declaration
    public string PkgConfig { get; set; }
    Property Value
    Type Description
    string
    Remarks

    The NativeStructAttribute attribute provides the information needed to verify that tue struct is correctly mapped.

    View Source

    StructName

    The name of structure to test the size.

    Declaration
    public string StructName { get; }
    Property Value
    Type Description
    string
    Remarks

    The NativeStructAttribute attribute provides the information needed to verify that tue struct is correctly mapped.

    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