Share via


SafeIUnknown.FromObject(Object) Method

Definition

Helper method to facilitate the common method for retrieving a native IUnknown: Marshal.GetIUnknownForObject.

public:
 static Microsoft::VisualStudio::PlatformUI::SafeIUnknown ^ FromObject(System::Object ^ o);
public static Microsoft.VisualStudio.PlatformUI.SafeIUnknown FromObject (object o);
static member FromObject : obj -> Microsoft.VisualStudio.PlatformUI.SafeIUnknown
Public Shared Function FromObject (o As Object) As SafeIUnknown

Parameters

o
Object

Returns

Applies to