ServiceProviderHelper.DefaultServices Property

Returns whether this service provider responds to queries of IServiceProvider and IObjectWithSite by returning itself.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Common
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Public Property DefaultServices As Boolean
    Get
    Set
'Usage
Dim instance As ServiceProviderHelper
Dim value As Boolean

value = instance.DefaultServices

instance.DefaultServices = value
public bool DefaultServices { get; set; }
public:
property bool DefaultServices {
    bool get ();
    void set (bool value);
}
function get DefaultServices () : boolean
function set DefaultServices (value : boolean)
member DefaultServices : bool with get, set

Property Value

Type: System.Boolean

Remarks

If this is set to true, then this service provider responds to IServiceProvider and IObjectWithSite as services. A query for IServiceProvider returns the underlying COM service provider and a query for IObjectWithSite returns this object. If this is set to false, these two services are not provided and the service provider is transparent.

.NET Framework Security

See Also

Reference

ServiceProviderHelper Class

ServiceProviderHelper Members

Microsoft.VisualStudio.Data.Schema.Project.Common Namespace