StkPatternFileReadFrom Method (String) |
Namespace:
AGI.Foundation.Stk
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic static StkPatternFile ReadFrom(
string fileName
)
Public Shared Function ReadFrom (
fileName As String
) As StkPatternFile
public:
static StkPatternFile^ ReadFrom(
String^ fileName
)
static member ReadFrom :
fileName : string -> StkPatternFile
Parameters
- fileName
- Type: SystemString
The name of the file from which to read the pattern.
Return Value
Type:
StkPatternFileAn
StkPatternFile instance containing the read pattern file.
Exceptions| Exception | Condition |
|---|
| InvalidDataException |
Thrown when the STK pattern file is invalid, or it contains unsupported properties or property values.
|
| ArgumentNullException |
Thrown when fileName is .
|
See Also