Compartir a través de


IVsUIDataSource Interface

Represents a Visual Studio user interface data source.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("8D11DD44-7EF2-4C7A-B188-7DA136657F68")> _
Public Interface IVsUIDataSource _
    Inherits IVsUISimpleDataSource
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("8D11DD44-7EF2-4C7A-B188-7DA136657F68")]
public interface IVsUIDataSource : IVsUISimpleDataSource
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"8D11DD44-7EF2-4C7A-B188-7DA136657F68")]
public interface class IVsUIDataSource : IVsUISimpleDataSource
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("8D11DD44-7EF2-4C7A-B188-7DA136657F68")>]
type IVsUIDataSource =  
    interface 
        interface IVsUISimpleDataSource 
    end
public interface IVsUIDataSource extends IVsUISimpleDataSource

The IVsUIDataSource type exposes the following members.

Methods

  Name Description
Public method AdvisePropertyChangeEvents Registers to be notified when a property changes.
Public method Close Closes this data source.
Public method EnumProperties Returns an enumeration of the available properties.
Public method EnumVerbs Returns an enumeration of verbs for the data source.
Public method GetShapeIdentifier Returns the shape identifier for this data source. Two data sources with the same shape identifier will have exactly the same properties and verbs.
Public method GetValue Returns the value of a property.
Public method Invoke Invokes a verb on the data source.
Public method QueryValue Returns the type, format and value of a property.
Public method ResetValue Sets a property to it's default value.
Public method SetValue Sets a property to a value.
Public method UnadvisePropertyChangeEvents Stops receiving notifications when properties change.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace