PSNamingUtilities.IsModuleName(String) Method

Definition

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.

Applies to