共用方式為


ISetupProductReference2 Interface

Definition

A reference to a product package.

public interface class ISetupProductReference2 : Microsoft::VisualStudio::Setup::Configuration::ISetupProductReference
[System.Runtime.InteropServices.Guid("279A5DB3-7503-444B-B34D-308F961B9A06")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface ISetupProductReference2 : Microsoft.VisualStudio.Setup.Configuration.ISetupProductReference
[<System.Runtime.InteropServices.Guid("279A5DB3-7503-444B-B34D-308F961B9A06")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type ISetupProductReference2 = interface
    interface ISetupProductReference
    interface ISetupPackageReference
Public Interface ISetupProductReference2
Implements ISetupProductReference
Attributes
Implements

Methods

GetBranch()

Gets the build branch of the package.

GetChip()

Gets the target process architecture of the package.

GetId()

Gets the general package identifier.

GetIsExtension()

Gets a value indicating whether the package refers to an external extension.

GetIsInstalled()

Gets a value indicating whether the product package is installed.

GetLanguage()

Gets the language and optional region identifier.

GetSupportsExtensions()

Gets a value indicating whether the product supports extensions.

GetType()

Gets the type of the package.

GetUniqueId()

Gets the unique identifier consisting of all defined tokens.

GetVersion()

Gets the version of the package.

Applies to