次の方法で共有


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