Share via


IVstaHostItem.StartupIndex Property

Gets or sets a value that specifies the HostItem creation order.

Namespace:  Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.Interop
Assembly:  Microsoft.VisualStudio.Tools.Applications.ProgrammingModel (in Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.dll)

Syntax

'Declaration
Property StartupIndex As Integer
'Usage
Dim instance As IVstaHostItem 
Dim value As Integer 

value = instance.StartupIndex

instance.StartupIndex = value
int StartupIndex { get; set; }
property int StartupIndex {
    int get ();
    void set (int value);
}
function get StartupIndex () : int 
function set StartupIndex (value : int)

Property Value

Type: System.Int32
The default value is zero.

Remarks

Visual Studio Tools for Applications sorts the host items by StartupIndex and then creates them in order, starting with the lowest. Any host items with the same StartupIndex are created in a non-deterministic order. It is not common for the host to have to change the startup order.

.NET Framework Security

See Also

Reference

IVstaHostItem Interface

IVstaHostItem Members

Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.Interop Namespace