VariablePath Class
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.
A variable path that you can query the scope and drive of the variable reference.
public ref class VariablePath
public class VariablePath
type VariablePath = class
Public Class VariablePath
- Inheritance
-
VariablePath
Constructors
VariablePath(String) |
Constructs a variable path. |
Properties
DriveName |
The drive name, or null if the path is for a variable. It may also be null for some functions (specifically if this is a FunctionScopedItemLookupPath.) |
IsDriveQualified |
Returns true if the path specifies a drive other than the variable drive. |
IsGlobal |
Returns true if the path explicitly specifies 'global:'. |
IsLocal |
Returns true if the path explicitly specifies 'local:'. |
IsPrivate |
Returns true if the path explicitly specifies 'private:'. |
IsScript |
Returns true if the path explicitly specifies 'script:'. |
IsUnqualified |
Returns true if the path specifies no drive or scope qualifiers. |
IsUnscopedVariable |
Returns true if the path specifies a variable path with no scope qualifiers. |
IsVariable |
Returns true if the path defines a variable. |
UserPath |
Gets the full path including any possibly specified scope and/or drive name. |
Methods
ToString() |
Helpful for debugging. |