Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- 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.
See Also
Reference
Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.Interop Namespace