共用方式為


AssetFileType.FromFilePath(String) Method

Definition

Returns an AssetFileType derived from the extension of a provided file name.

public static Azure.MixedReality.ObjectAnchors.Conversion.AssetFileType FromFilePath (string assetFilePath);
static member FromFilePath : string -> Azure.MixedReality.ObjectAnchors.Conversion.AssetFileType
Public Shared Function FromFilePath (assetFilePath As String) As AssetFileType

Parameters

assetFilePath
String

The asset file name.

Returns

The AssetFileType derived from the extension of a provided file name.

Applies to