ImportAFXml.AFElements Property
- Last UpdatedDec 15, 2025
- 2 minute read
AF Elements 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: 2.2.3.0 (2.2.3.952)
Syntax
[ParameterAttribute(Position = 2, ParameterSetName = "FileToAFElements", Mandatory = true, ValueFromPipeline = true, HelpMessage = "AF Elements collection to import to")] [ParameterAttribute(Position = 2, ParameterSetName = "StreamToAFElements", Mandatory = true, ValueFromPipeline = true, HelpMessage = "AF Elements collection to import to")] [ValidateNotNullAttribute] [AllowEmptyCollectionAttribute] public AFElements AFElements { get; set; }
<ParameterAttribute(Position := 2, ParameterSetName := "FileToAFElements", Mandatory := true, ValueFromPipeline := true, HelpMessage := "AF Elements collection to import to")> <ParameterAttribute(Position := 2, ParameterSetName := "StreamToAFElements", Mandatory := true, ValueFromPipeline := true, HelpMessage := "AF Elements collection to import to")> <ValidateNotNullAttribute> <AllowEmptyCollectionAttribute> Public Property AFElements As AFElements Get Set Dim instance As ImportAFXml Dim value As AFElements value = instance.AFElements instance.AFElements = value
public: [ParameterAttribute(Position = 2, ParameterSetName = L"FileToAFElements", Mandatory = true, ValueFromPipeline = true, HelpMessage = L"AF Elements collection to import to")] [ParameterAttribute(Position = 2, ParameterSetName = L"StreamToAFElements", Mandatory = true, ValueFromPipeline = true, HelpMessage = L"AF Elements collection to import to")] [ValidateNotNullAttribute] [AllowEmptyCollectionAttribute] property AFElements^ AFElements { AFElements^ get (); void set (AFElements^ value); }
[<ParameterAttribute(Position = 2, ParameterSetName = "FileToAFElements", Mandatory = true, ValueFromPipeline = true, HelpMessage = "AF Elements collection to import to")>] [<ParameterAttribute(Position = 2, ParameterSetName = "StreamToAFElements", Mandatory = true, ValueFromPipeline = true, HelpMessage = "AF Elements collection to import to")>] [<ValidateNotNullAttribute>] [<AllowEmptyCollectionAttribute>] member AFElements : AFElements with get, set