Share via


NativeMethods.OLECMDTEXT.GetText Method

Returns 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 Function GetText ( _
    pCmdTextInt As IntPtr _
) As String
'Usage
Dim pCmdTextInt As IntPtr
Dim returnValue As String

returnValue = NativeMethods..::..OLECMDTEXT.GetText(pCmdTextInt)
public static string GetText(
    IntPtr pCmdTextInt
)
public:
static String^ GetText(
    IntPtr pCmdTextInt
)
public static function GetText(
    pCmdTextInt : IntPtr
) : String
static member GetText : 
        pCmdTextInt:IntPtr -> string 

Parameters

  • pCmdTextInt
    Type: System.IntPtr
    The integer pointer to the position where to get the text

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

NativeMethods.OLECMDTEXT Class

NativeMethods.OLECMDTEXT Members

Microsoft.VisualStudio Namespace