SpiDevice.GetDeviceSelector Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetDeviceSelector() |
Gets all the SPI buses found on the system. |
GetDeviceSelector(String) |
Gets all the SPI buses found on the system that match the input parameter. |
GetDeviceSelector()
Gets all the SPI buses found on the system.
public:
static Platform::String ^ GetDeviceSelector();
/// [Windows.Foundation.Metadata.Overload("GetDeviceSelector")]
static winrt::hstring GetDeviceSelector();
[Windows.Foundation.Metadata.Overload("GetDeviceSelector")]
public static string GetDeviceSelector();
function getDeviceSelector()
Public Shared Function GetDeviceSelector () As String
Returns
String containing all the buses found on the system.
- Attributes
See also
Applies to
GetDeviceSelector(String)
Gets all the SPI buses found on the system that match the input parameter.
public:
static Platform::String ^ GetDeviceSelector(Platform::String ^ friendlyName);
/// [Windows.Foundation.Metadata.Overload("GetDeviceSelectorFromFriendlyName")]
static winrt::hstring GetDeviceSelector(winrt::hstring const& friendlyName);
[Windows.Foundation.Metadata.Overload("GetDeviceSelectorFromFriendlyName")]
public static string GetDeviceSelector(string friendlyName);
function getDeviceSelector(friendlyName)
Public Shared Function GetDeviceSelector (friendlyName As String) As String
Parameters
- friendlyName
-
String
Platform::String
winrt::hstring
Input parameter specifying an identifying name for the desired bus. This usually corresponds to a name on the schematic.
Returns
String containing all the buses that have the input in the name.
- Attributes