ImportAFXml.AFUnitsOfMeasure Property
- Last UpdatedDec 15, 2025
- 2 minute read
AF Units of Measure collections to import AF Objects to. To import to a single collection, use the AFObject parameter instead.
Namespace: OSIsoft.PowerShell
Assembly: OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 3.1.1.0 (3.1.1.466)
Syntax
[ParameterAttribute(Position = 2, ParameterSetName = "FileToAFUnitsOfMeasure", Mandatory = true, ValueFromPipeline = true, HelpMessage = "AF Units of Measure collections to import to")] [ParameterAttribute(Position = 2, ParameterSetName = "StreamToAFUnitsOfMeasure", Mandatory = true, ValueFromPipeline = true, HelpMessage = "AF Units of Measure collections to import to")] [ValidateNotNullAttribute] [AllowEmptyCollectionAttribute] public UOMs AFUnitsOfMeasure { get; set; }
<ParameterAttribute(Position := 2, ParameterSetName := "FileToAFUnitsOfMeasure", Mandatory := true, ValueFromPipeline := true, HelpMessage := "AF Units of Measure collections to import to")> <ParameterAttribute(Position := 2, ParameterSetName := "StreamToAFUnitsOfMeasure", Mandatory := true, ValueFromPipeline := true, HelpMessage := "AF Units of Measure collections to import to")> <ValidateNotNullAttribute> <AllowEmptyCollectionAttribute> Public Property AFUnitsOfMeasure As UOMs Get Set Dim instance As ImportAFXml Dim value As UOMs value = instance.AFUnitsOfMeasure instance.AFUnitsOfMeasure = value
public: [ParameterAttribute(Position = 2, ParameterSetName = L"FileToAFUnitsOfMeasure", Mandatory = true, ValueFromPipeline = true, HelpMessage = L"AF Units of Measure collections to import to")] [ParameterAttribute(Position = 2, ParameterSetName = L"StreamToAFUnitsOfMeasure", Mandatory = true, ValueFromPipeline = true, HelpMessage = L"AF Units of Measure collections to import to")] [ValidateNotNullAttribute] [AllowEmptyCollectionAttribute] property UOMs^ AFUnitsOfMeasure { UOMs^ get (); void set (UOMs^ value); }
[<ParameterAttribute(Position = 2, ParameterSetName = "FileToAFUnitsOfMeasure", Mandatory = true, ValueFromPipeline = true, HelpMessage = "AF Units of Measure collections to import to")>] [<ParameterAttribute(Position = 2, ParameterSetName = "StreamToAFUnitsOfMeasure", Mandatory = true, ValueFromPipeline = true, HelpMessage = "AF Units of Measure collections to import to")>] [<ValidateNotNullAttribute>] [<AllowEmptyCollectionAttribute>] member AFUnitsOfMeasure : UOMs with get, set