MsiComponentIdAttribute Constructor
This constructor creates a new MsiComponentIdAttribute object.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Public Sub New ( _
id As String _
)
'Utilisation
Dim id As String
Dim instance As New MsiComponentIdAttribute(id)
public MsiComponentIdAttribute(
string id
)
public:
MsiComponentIdAttribute(
String^ id
)
new :
id:string -> MsiComponentIdAttribute
public function MsiComponentIdAttribute(
id : String
)
Parameters
- id
Type: System.String
The Windows Installer component ID. The MSI component registration ID is used to indicate the installation path to the component within the Windows Installer.
Remarks
The Visual C# language automatically appends the word "Attribute" to the name of any attribute class. In Visual C# code, refer to this attribute as MsiComponentId.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.