Utilities.GetAssetLocation(FileInfo) 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.
Gets the known AssetLocation for the asset file.
public:
static Microsoft::MixedReality::Toolkit::MSBuild::AssetLocation GetAssetLocation(System::IO::FileInfo ^ assetFile);
public static Microsoft.MixedReality.Toolkit.MSBuild.AssetLocation GetAssetLocation (System.IO.FileInfo assetFile);
static member GetAssetLocation : System.IO.FileInfo -> Microsoft.MixedReality.Toolkit.MSBuild.AssetLocation
Public Function GetAssetLocation (assetFile As FileInfo) As AssetLocation
Parameters
- assetFile
- FileInfo
The asset file.
Returns
The AssetLocation if valid; throws an exception otherwise.