共用方式為


VSConstants.VSITEMID_NIL Field

A Visual Studio item identifier that represents the absence of a project item. This value is used when there is no current selection.

Namespace:  Microsoft.VisualStudio
Assemblies:   Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)

Syntax

'宣告
Public Const VSITEMID_NIL As UInteger
'用途
Dim value As UInteger

value = VSConstants.VSITEMID_NIL
public const uint VSITEMID_NIL
public:
literal unsigned int VSITEMID_NIL
static val mutable VSITEMID_NIL: uint32
public const var VSITEMID_NIL : uint

.NET Framework Security

See Also

Reference

VSConstants Class

VSConstants Members

Microsoft.VisualStudio Namespace

Other Resources

IDE Constants