VsShellUtilities::SetOleCmdText Method (IntPtr, String^)

 

Sets the actual text in an OLECMDTEXT marshaled structure. Used in typical command routing code (implementations of IOleCommandTarget)

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

public:
static void SetOleCmdText(
	IntPtr pCmdText,
	String^ text
)

Parameters

pCmdText
Type: System::IntPtr

The marshaled OLECMDTEXT structure that needs to be filled in.

text
Type: System::String^

The text of the command caption.

Return to top
Show: