OLEMENUID Structure
Describes a menu numerically and/or by name.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Public Structure OLEMENUID
public struct OLEMENUID
public value class OLEMENUID
[<Sealed>]
type OLEMENUID = struct end
JScript supports the use of structures, but not the declaration of new ones.
The OLEMENUID type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Top
Fields
Name | Description | |
---|---|---|
cwBuf | Size, in characters, of pwszNameBuf, the menu name buffer. | |
nMenuId | Specifies a numeric menu identifier; -1 if specified by name. | |
pwszNameBuf | Buffer for menu name. |
Top
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.