NativeMethods.OLECMDTEXT.SetText Method
Sets the text inside the structure starting from an integer pointer.
Namespace: Microsoft.VisualStudio
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Shared Sub SetText ( _
pCmdTextInt As IntPtr, _
text As String _
)
'Usage
Dim pCmdTextInt As IntPtr
Dim text As String
NativeMethods..::..OLECMDTEXT.SetText(pCmdTextInt, text)
public static void SetText(
IntPtr pCmdTextInt,
string text
)
public:
static void SetText(
IntPtr pCmdTextInt,
String^ text
)
public static function SetText(
pCmdTextInt : IntPtr,
text : String
)
static member SetText :
pCmdTextInt:IntPtr *
text:string -> unit
Parameters
- pCmdTextInt
Type: System.IntPtr
The integer pointer to the position where to set the text
- text
Type: System.String
The text to set
.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