IOleInPlaceSiteWindowless.CanWindowlessActivate Method
Informs an object if its container can support it as a windowless object that can be in-place activated.
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'宣言
Function CanWindowlessActivate As Integer
'使用
Dim instance As IOleInPlaceSiteWindowless
Dim returnValue As Integer
returnValue = instance.CanWindowlessActivate()
int CanWindowlessActivate()
int CanWindowlessActivate()
abstract CanWindowlessActivate : unit -> int
function CanWindowlessActivate() : int
Return Value
Type: System.Int32
S_OK
The object can activate in place without a window.
Remarks
For information on the COM interface, see IOleInPlaceSiteWindowless::CanWindowlessActivate
.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
IOleInPlaceSiteWindowless Interface