CustomSensor.GetDeviceSelector(Guid) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从给定接口标识符获取设备选择器。
public:
static Platform::String ^ GetDeviceSelector(Platform::Guid interfaceId);
static winrt::hstring GetDeviceSelector(winrt::guid const& interfaceId);
public static string GetDeviceSelector(Guid interfaceId);
function getDeviceSelector(interfaceId)
Public Shared Function GetDeviceSelector (interfaceId As Guid) As String
参数
返回
返回设备选择器(如果存在);否则为 null。