PSNamingUtilities.IsModuleName(String) 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.
Returns if the given moduleName
is a valid module name.
public static bool IsModuleName (string moduleName);
static member IsModuleName : string -> bool
Public Shared Function IsModuleName (moduleName As String) As Boolean
Parameters
- moduleName
- String
Returns
Remarks
This method only does pattern-matching. It does not check if the name is real.