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
- 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