FlavoredProjectBase.GetComInterface<Interface_T> Method

Namespace:  Microsoft.VisualStudio.Shell.Flavor
Assemblies:   Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)

Syntax

‘선언
Public Function GetComInterface(Of Interface_T As Class) As Interface_T
‘사용 방법
Dim instance As FlavoredProjectBase
Dim returnValue As Interface_T

returnValue = instance.GetComInterface()
public Interface_T GetComInterface<Interface_T>()
where Interface_T : class
public:
generic<typename Interface_T>
where Interface_T : ref class
Interface_T GetComInterface()
member GetComInterface : unit -> 'Interface_T  when 'Interface_T : not struct
JScript does not support generic types or methods.

Type Parameters

  • Interface_T

Return Value

Type: Interface_T

.NET Framework Security

See Also

Reference

FlavoredProjectBase Class

FlavoredProjectBase Members

Microsoft.VisualStudio.Shell.Flavor Namespace