Bagikan melalui


VsTargetFrameworkProvider Class

Represents information about the target framework.

This API is not CLS-compliant. 

Inheritance Hierarchy

Object
  TypeDescriptionProvider
    Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkProvider

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Class VsTargetFrameworkProvider _
    Inherits TypeDescriptionProvider
[CLSCompliantAttribute(false)]
public class VsTargetFrameworkProvider : TypeDescriptionProvider
[CLSCompliantAttribute(false)]
public ref class VsTargetFrameworkProvider : public TypeDescriptionProvider
[<CLSCompliantAttribute(false)>]
type VsTargetFrameworkProvider =  
    class 
        inherit TypeDescriptionProvider 
    end
public class VsTargetFrameworkProvider extends TypeDescriptionProvider

The VsTargetFrameworkProvider type exposes the following members.

Constructors

  Name Description
Public method VsTargetFrameworkProvider(IVsDesignTimeAssemblyResolution, IDesignTimeAssemblyLoader, IVsSmartOpenScope) Initializes a new instance of VsTargetFrameworkProvider.
Public method VsTargetFrameworkProvider(IVsFrameworkMultiTargeting, String, IVsSmartOpenScope) Initializes a new instance of VsTargetFrameworkProvider.
Public method VsTargetFrameworkProvider(IVsDesignTimeAssemblyResolution, IDesignTimeAssemblyLoader, TypeDescriptionProvider, IVsSmartOpenScope) Initializes a new instance of VsTargetFrameworkProvider.
Public method VsTargetFrameworkProvider(IVsFrameworkMultiTargeting, IDesignTimeAssemblyLoader, String, IVsSmartOpenScope) Initializes a new instance of VsTargetFrameworkProvider.
Public method VsTargetFrameworkProvider(IVsFrameworkMultiTargeting, String, TypeDescriptionProvider, IVsSmartOpenScope) Initializes a new instance of VsTargetFrameworkProvider.
Public method VsTargetFrameworkProvider(IVsFrameworkMultiTargeting, IDesignTimeAssemblyLoader, String, TypeDescriptionProvider, IVsSmartOpenScope) Initializes a new instance of VsTargetFrameworkProvider.

Top

Properties

  Name Description
Public property ProviderService Gets or sets the provider service.

Top

Methods

  Name Description
Public method CreateInstance Creates an object that can substitute for another data type. (Inherited from TypeDescriptionProvider.)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetCache Gets a per-object cache, accessed as an IDictionary of key/value pairs. (Inherited from TypeDescriptionProvider.)
Public method GetExtendedTypeDescriptor Gets the custom type description of the specified object. (Overrides TypeDescriptionProvider.GetExtendedTypeDescriptor(Object).)
Protected method GetExtenderProviders Gets the extender providers for the specified object. (Inherited from TypeDescriptionProvider.)
Public method GetFullComponentName Gets the name of the specified component, or nulla null reference (Nothing in Visual Basic) if the component has no name. (Inherited from TypeDescriptionProvider.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetReflectionAssembly Gets the assembly that has the specified assembly name.
Public method GetReflectionType(Type) Performs normal reflection against a type. (Inherited from TypeDescriptionProvider.)
Public method GetReflectionType(Object) Performs normal reflection against the given object. (Inherited from TypeDescriptionProvider.)
Public method GetReflectionType(Type, Object) Gets the type of the specified object with the specified object type. (Overrides TypeDescriptionProvider.GetReflectionType(Type, Object).)
Public method GetRuntimeType Gets the runtime type of the specified type. (Overrides TypeDescriptionProvider.GetRuntimeType(Type).)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetTypeDescriptor(Type) Gets a custom type descriptor for the given type. (Inherited from TypeDescriptionProvider.)
Public method GetTypeDescriptor(Object) Gets a custom type descriptor for the given object. (Inherited from TypeDescriptionProvider.)
Public method GetTypeDescriptor(Type, Object) Gets the type descriptor for the specified object and type. (Overrides TypeDescriptionProvider.GetTypeDescriptor(Type, Object).)
Public method IsSupportedType Determines whether or not the specified type is supported. (Overrides TypeDescriptionProvider.IsSupportedType(Type).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Refresh Refreshes the information for the specified assembly.
Public method RefreshAll Refreshes every assembly.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Shell.Design Namespace