NativeMethods.OLECMDTEXT.GetFlags Method
Returns the value of the flags of the NativeMethods.OLECMDTEXT.OLECMDTEXTF structure.
Namespace: Microsoft.VisualStudio
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Shared Function GetFlags ( _
pCmdTextInt As IntPtr _
) As NativeMethods..::..OLECMDTEXT..::..OLECMDTEXTF
'Usage
Dim pCmdTextInt As IntPtr
Dim returnValue As NativeMethods..::..OLECMDTEXT..::..OLECMDTEXTF
returnValue = NativeMethods..::..OLECMDTEXT.GetFlags(pCmdTextInt)
public static NativeMethods..::..OLECMDTEXT..::..OLECMDTEXTF GetFlags(
IntPtr pCmdTextInt
)
public:
static NativeMethods..::..OLECMDTEXT..::..OLECMDTEXTF GetFlags(
IntPtr pCmdTextInt
)
public static function GetFlags(
pCmdTextInt : IntPtr
) : NativeMethods..::..OLECMDTEXT..::..OLECMDTEXTF
static member GetFlags :
pCmdTextInt:IntPtr -> NativeMethods..::..OLECMDTEXT..::..OLECMDTEXTF
Parameters
- pCmdTextInt
Type: System.IntPtr
The structure to read
Return Value
Type: Microsoft.VisualStudio.NativeMethods.OLECMDTEXT.OLECMDTEXTF
.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
NativeMethods.OLECMDTEXT Class