using System; using System.Runtime.InteropServices; namespace VisualStudioMock { /// /// A reference to a package. /// /// /// You can enumerate all properties of basic types by casting to an . /// [ComImport] [Guid("DA8D8A16-B2B6-4487-A2F1-594CCCCD6BF5")] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] public interface ISetupPackageReference { /// /// Gets the general package identifier. /// /// The general package identifier. [return: MarshalAs(UnmanagedType.BStr)] string GetId(); /// /// Gets the version of the package. /// /// The version of the package. [return: MarshalAs(UnmanagedType.BStr)] string GetVersion(); /// /// Gets the target process architecture of the package. /// /// The target process architecture of the package. [return: MarshalAs(UnmanagedType.BStr)] string GetChip(); /// /// Gets the language and optional region identifier. /// /// The language and optional region identifier. [return: MarshalAs(UnmanagedType.BStr)] string GetLanguage(); /// /// Gets the build branch of the package. /// /// The build branch of the package. [return: MarshalAs(UnmanagedType.BStr)] string GetBranch(); /// /// Gets the type of the package. /// /// The type of the package. [return: MarshalAs(UnmanagedType.BStr)] new string GetType(); /// /// Gets the unique identifier consisting of all defined tokens. /// /// The unique identifier consisting of all defined tokens. [return: MarshalAs(UnmanagedType.BStr)] string GetUniqueId(); /// /// Gets a value indicating whether the package refers to an external extension. /// /// A value indicating whether the package refers to an external extension. [return: MarshalAs(UnmanagedType.VariantBool)] bool GetIsExtension(); } }