Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Function CreateSyntheticTextSession ( _
dwFlags As UInteger, _
pOwningObject As Object, _
pClient As IVsSyntheticTextClient, _
<OutAttribute> ByRef ppState As IVsSyntheticTextSession _
) As Integer
'Usage
Dim instance As IVsSyntheticTextManager
Dim dwFlags As UInteger
Dim pOwningObject As Object
Dim pClient As IVsSyntheticTextClient
Dim ppState As IVsSyntheticTextSession
Dim returnValue As Integer
returnValue = instance.CreateSyntheticTextSession(dwFlags, _
pOwningObject, pClient, ppState)
int CreateSyntheticTextSession(
uint dwFlags,
Object pOwningObject,
IVsSyntheticTextClient pClient,
out IVsSyntheticTextSession ppState
)
int CreateSyntheticTextSession(
[InAttribute] unsigned int dwFlags,
[InAttribute] Object^ pOwningObject,
[InAttribute] IVsSyntheticTextClient^ pClient,
[OutAttribute] IVsSyntheticTextSession^% ppState
)
abstract CreateSyntheticTextSession :
dwFlags:uint32 *
pOwningObject:Object *
pClient:IVsSyntheticTextClient *
ppState:IVsSyntheticTextSession byref -> int
function CreateSyntheticTextSession(
dwFlags : uint,
pOwningObject : Object,
pClient : IVsSyntheticTextClient,
ppState : IVsSyntheticTextSession
) : int
Parameters
- dwFlags
Type: System.UInt32
[in] Unused; must be zero
- pOwningObject
Type: System.Object
[in] The owning object (normally the buffer)
- pClient
Type: Microsoft.VisualStudio.TextManager.Interop.IVsSyntheticTextClient
[in] The client interface
- ppState
Type: Microsoft.VisualStudio.TextManager.Interop.IVsSyntheticTextSession%
[out] The new session.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsSyntheticTextManager::CreateSyntheticTextSession(
[in] DWORD dwFlags,
[in] IUnknown *pOwningObject,
[in] IVsSyntheticTextClient *pClient,
[out] IVsSyntheticTextSession **ppState
);
.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
IVsSyntheticTextManager Interface