BaseMixedRealityProfileInspector.IsProfileRequired 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
IsProfileRequired(SystemType) |
Inspect the attributes of the provided system type to determine if a configuration profile is required. |
IsProfileRequired(Type) |
Inspect the attributes of the provided type to determine if a configuration profile is required. |
IsProfileRequired(SystemType)
Inspect the attributes of the provided system type to determine if a configuration profile is required.
protected:
static bool IsProfileRequired(Microsoft::MixedReality::Toolkit::Utilities::SystemType ^ serviceType);
protected static bool IsProfileRequired (Microsoft.MixedReality.Toolkit.Utilities.SystemType serviceType);
static member IsProfileRequired : Microsoft.MixedReality.Toolkit.Utilities.SystemType -> bool
Protected Shared Function IsProfileRequired (serviceType As SystemType) As Boolean
Parameters
- serviceType
- SystemType
The system type representing the service.
Returns
True if the service is decorated with an attribute indicating a profile is required, false otherwise.
Applies to
IsProfileRequired(Type)
Inspect the attributes of the provided type to determine if a configuration profile is required.
protected:
static bool IsProfileRequired(Type ^ type);
protected static bool IsProfileRequired (Type type);
static member IsProfileRequired : Type -> bool
Protected Shared Function IsProfileRequired (type As Type) As Boolean
Parameters
- type
- Type
The type representing the service.
Returns
True if the type is decorated with an attribute indicating a profile is required, false otherwise.