Search Results for

    Show / Hide Table of Contents

    Method InitializeLocalizationWithNames

    InitializeLocalizationWithNames(IAdditionalLocalization, String[])

    Initialize the AdditionalLocalization array of an IAdditionalLocalization object with the provided array of names.

    Declaration
    public static void InitializeLocalizationWithNames(this IAdditionalLocalization obj, string[] contentNames)
    Parameters
    Type Name Description
    IAdditionalLocalization obj

    IAdditionalLocalizationObject to use.

    String[] contentNames

    Array of names.

    Remarks

    Sometimes there's a need of a lot of localized content, but having to manually declare each item of the array manually can bloat the control's constructor fairly quick, and it becomes even worse when multiple constructors are needed. It's instead easier to declare an array of strings in a private field, and call this method instead.

    In This Article
    Back to top Copyright © VRLabs.
    Generated by DocFX