Поделиться через


GattDeviceService.ParentServices Свойство

Определение

Возвращает доступный только для чтения список родительских служб для этой службы.

Важно!

API ParentServices не рекомендуется использовать и может быть недоступен в будущих версиях 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)

Значение свойства

Доступный только для чтения список родительских служб, из которых является производным этот объект, если эта служба GattDeviceService является включенной службой; В противном случае — null.

Атрибуты

Требования к Windows

Возможности приложения
bluetooth

Применяется к