Share via


GattDeviceService.ParentServices Property

Definition

Gets the read-only list of parent services for this service.

Important

The ParentServices API is deprecated, and it may not be available in future versions of Windows.

public:
 property IVectorView<GattDeviceService ^> ^ ParentServices { IVectorView<GattDeviceService ^> ^ get(); };
IVectorView<GattDeviceService> ParentServices();
/// [get: Windows.Foundation.Metadata.Deprecated("ParentServices may be altered or unavailable in future releases.  For more information, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
IVectorView<GattDeviceService> ParentServices();
public IReadOnlyList<GattDeviceService> ParentServices { get; }
public IReadOnlyList<GattDeviceService> ParentServices { [Windows.Foundation.Metadata.Deprecated("ParentServices may be altered or unavailable in future releases.  For more information, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")] get; }
var iVectorView = gattDeviceService.parentServices;
Public ReadOnly Property ParentServices As IReadOnlyList(Of GattDeviceService)

Property Value

A read-only list of parent services from which this object is derived, if this GattDeviceService is an included service; Otherwise, null.

Attributes

Windows requirements

App capabilities
bluetooth

Applies to