TextAnalysisModelFactory.AreaMetadata(Double, AreaUnit) 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.
Initializes a new instance of AreaMetadata.
public static Azure.AI.Language.Text.AreaMetadata AreaMetadata (double value = 0, Azure.AI.Language.Text.AreaUnit unit = default);
static member AreaMetadata : double * Azure.AI.Language.Text.AreaUnit -> Azure.AI.Language.Text.AreaMetadata
Public Shared Function AreaMetadata (Optional value As Double = 0, Optional unit As AreaUnit = Nothing) As AreaMetadata
Parameters
- value
- Double
The numeric value that the extracted text denotes.
- unit
- AreaUnit
Unit of measure for area.
Returns
A new AreaMetadata instance for mocking.