다음을 통해 공유


SafeIUnknown.ToObject<T> Method

Microsoft internal use only.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

‘선언
Public Function ToObject(Of T As Class) As T
public T ToObject<T>()
where T : class

Type Parameters

  • T
    The type to try-cast the COM object to

Return Value

Type: T

.NET Framework Security

See Also

Reference

SafeIUnknown Class

ToObject Overload

Microsoft.VisualStudio.PlatformUI Namespace