MsiComponentIdAttribute Class

 

Defines the Windows Installer component ID. The component ID is used by the Windows Installer to indicate the installation path to the VSPackage.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

System.Object
  System.Attribute
    Microsoft.VisualStudio.Shell.MsiComponentIdAttribute

[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, 
	Inherited = false)]
public sealed class MsiComponentIdAttribute : Attribute

NameDescription
System_CAPS_pubmethodMsiComponentIdAttribute(String)

This constructor creates a new MsiComponentIdAttribute object.

NameDescription
System_CAPS_pubpropertyId

The Id property returns a string containing the Windows Installer component registration ID.

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Apply this attribute to a Package-derived class or one that implements IVsPackage when you use the Windows Installer to install your VSPackage.

MsiComponentIdAttribute defines the Microsoft Windows Installer component ID. The component ID is used by the Windows Installer to indicate the installation path to the component.

This attribute class is only used to provide data for external registration tools like regpkg.exe. It does not have any effect on the runtime behavior of the VSPackage. For more information, see Registering VSPackages.

System_CAPS_noteNote

Visual C# automatically appends the word "Attribute" to the name of any attribute class. In Visual C# code, refer to this attribute as MsiComponentId.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: