DotNetAdapter.IsClassValid
- 已更新2025-07-21
- 閱讀時間為 1 分鐘
DotNetAdapter.IsClassValid
Syntax
DotNetAdapter.IsClassValid( assemblyLocationParam, assemblyPathParam, classTypeNameParam)
Return Value
Purpose
Returns True if the .NET Adapter finds the given class in the given assembly. Otherwise, this method returns False .
Starting with TestStand 2024 Q4, loading assemblies from the Global Assembly Cache (GAC) is no longer supported.
Parameters
assemblyLocationParam As DotNetModuleAssemblyLocations
[In] Specifies whether the assembly is located in a file or in the Global Assembly Cache (GAC).
assemblyPathParam As String
[In] Specifies the pathname of the assembly.
classTypeNameParam As String
[In] Specifies the fully specified type name for the class, including namespaces.