aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core.Native/Msm/IMsmStrings.cs
blob: 41063bfa83f9784bb8ba1acf097b5d6ab697b514 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.

namespace WixToolset.Core.Native.Msm
{
    using System;
    using System.Runtime.InteropServices;

    /// <summary>
    /// A collection of strings.
    /// </summary>
    [ComImport, Guid("0ADDA827-2C26-11D2-AD65-00A0C9AF11A6")]
    public interface IMsmStrings
    {
        /// <summary>
        /// Gets the string at the specified index.
        /// </summary>
        /// <param name="index">The one-based index of the string to get.</param>
        string this[int index]
        {
            get;
        }

        /// <summary>
        /// Gets the count of strings in this collection.
        /// </summary>
        /// <value>The count of strings in this collection.</value>
        int Count
        {
            get;
        }
    }
}