Freigeben über


VSOBNAVIGATIONINFO2 Structure

Stores attributes for object navigation.

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

Syntax

'Declaration
Public Structure VSOBNAVIGATIONINFO2
public struct VSOBNAVIGATIONINFO2
public value class VSOBNAVIGATIONINFO2
[<Sealed>]
type VSOBNAVIGATIONINFO2 =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The VSOBNAVIGATIONINFO2 type exposes the following members.

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

  Name Description
Public field dwCustom DWORD containing custom information.
Public field pguidLib Pointer to the GUID of your library.
Public field pName Pointer to a VSOBNAVNAMEINFONODE struct identifying the library tree node.
Public field pszLibName String containing the library name.

Top

Remarks

The environment uses this structure to identify a navigation path to a library tree node. Place the GUID of your library into pguididLib and the library name into pszLibName. These two parameters do not usually change throughout the series of GetNavigationInfo calls. You may store any custom information in dwCustom. VSOBNAVNAMEINFONODE is a linked list structure that holds the name and type of each node in the navigation tree. Set these values appropriately for each GetNavigationInfo call. The environment handles the linked list addressing.

Thread Safety

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

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace