VsShellUtilities.SetOleCmdText(IntPtr, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Utility function to set the actual text in OLECMDTEXT marshaled structure. Used in typical commad routing code (implementations of Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget)
public:
static void SetOleCmdText(IntPtr pCmdText, System::String ^ text);
public static void SetOleCmdText (IntPtr pCmdText, string text);
static member SetOleCmdText : nativeint * string -> unit
Public Shared Sub SetOleCmdText (pCmdText As IntPtr, text As String)
Public Sub SetOleCmdText (pCmdText As IntPtr, text As String)
Parameters
- pCmdText
-
IntPtr
nativeint
marshaled OLECMDTEXT structure that needs to be filled in
- text
- String
Command caption text