다음을 통해 공유


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

See Also

Reference

SafeIUnknown Class

SafeIUnknown Members

ToObject Overload

Microsoft.VisualStudio.PlatformUI Namespace