VsTargetFrameworkProvider Constructor (IVsFrameworkMultiTargeting, IDesignTimeAssemblyLoader, String, TypeDescriptionProvider, IVsSmartOpenScope)
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'宣告
Public Sub New ( _
targetInfo As IVsFrameworkMultiTargeting, _
assemblyLoader As IDesignTimeAssemblyLoader, _
targetMoniker As String, _
parentProvider As TypeDescriptionProvider, _
openScope As IVsSmartOpenScope _
)
'用途
Dim targetInfo As IVsFrameworkMultiTargeting
Dim assemblyLoader As IDesignTimeAssemblyLoader
Dim targetMoniker As String
Dim parentProvider As TypeDescriptionProvider
Dim openScope As IVsSmartOpenScope
Dim instance As New VsTargetFrameworkProvider(targetInfo, _
assemblyLoader, targetMoniker, parentProvider, _
openScope)
public VsTargetFrameworkProvider(
IVsFrameworkMultiTargeting targetInfo,
IDesignTimeAssemblyLoader assemblyLoader,
string targetMoniker,
TypeDescriptionProvider parentProvider,
IVsSmartOpenScope openScope
)
public:
VsTargetFrameworkProvider(
IVsFrameworkMultiTargeting^ targetInfo,
IDesignTimeAssemblyLoader^ assemblyLoader,
String^ targetMoniker,
TypeDescriptionProvider^ parentProvider,
IVsSmartOpenScope^ openScope
)
new :
targetInfo:IVsFrameworkMultiTargeting *
assemblyLoader:IDesignTimeAssemblyLoader *
targetMoniker:string *
parentProvider:TypeDescriptionProvider *
openScope:IVsSmartOpenScope -> VsTargetFrameworkProvider
public function VsTargetFrameworkProvider(
targetInfo : IVsFrameworkMultiTargeting,
assemblyLoader : IDesignTimeAssemblyLoader,
targetMoniker : String,
parentProvider : TypeDescriptionProvider,
openScope : IVsSmartOpenScope
)
Parameters
- targetInfo
Type: Microsoft.VisualStudio.Shell.Interop.IVsFrameworkMultiTargeting
- assemblyLoader
Type: System.ComponentModel.Design.IDesignTimeAssemblyLoader
- targetMoniker
Type: System.String
- parentProvider
Type: System.ComponentModel.TypeDescriptionProvider
- openScope
Type: Microsoft.VisualStudio.Shell.Interop.IVsSmartOpenScope
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
VsTargetFrameworkProvider Class
VsTargetFrameworkProvider Members