SafeIUnknown.ToObject Method
Helper method to facilitate retrieving an instance of the type that represents the COM object whose IUnknown this class contains.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
‘선언
Public Function ToObject As Object
‘사용 방법
Dim instance As SafeIUnknown
Dim returnValue As Object
returnValue = instance.ToObject()
public Object ToObject()
public:
Object^ ToObject()
member ToObject : unit -> Object
public function ToObject() : Object
Return Value
Type: System.Object
.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.