IVsCodeShareHandler.DlgInit Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Method on internal interface. Do not use.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'宣言
Function DlgInit ( _
hwnd As IntPtr _
) As Integer
'使用
Dim instance As IVsCodeShareHandler
Dim hwnd As IntPtr
Dim returnValue As Integer
returnValue = instance.DlgInit(hwnd)
int DlgInit(
IntPtr hwnd
)
int DlgInit(
[InAttribute] IntPtr hwnd
)
function DlgInit(
hwnd : IntPtr
) : int
Parameters
hwnd
Type: System.IntPtr[in]
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 vsshell.idl:
HRESULT IVsCodeShareHandler::DlgInit(
[in] HWND hwnd
);
Permissions
- 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.