Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

VariablePath Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Represents a variable path that can query the scope and the drive of the variable reference. Introduced in Windows PowerShell 3.0.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

System.Object
  System.Management.Automation.VariablePath

public class VariablePath

NameDescription
System_CAPS_pubmethodVariablePath(String)

Initializes a new instance of the VariablePath class that contains the variable path. Introduced in Windows PowerShell 3.0.

NameDescription
System_CAPS_pubpropertyDriveName

Gets the name of the drive. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyIsDriveQualified

Gets a value that indicates whether the path specifies a drive other than the variable drive. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyIsGlobal

Gets a value that indicates whether the path is global. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyIsLocal

Gets a value that indicates whether the path is local. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyIsPrivate

Gets a value that indicates whether the path is private. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyIsScript

Gets a value that indicates whether the path is a script. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyIsUnqualified

Gets a value that indicates whether the path is unqualified. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyIsUnscopedVariable

Gets a value that indicates whether the path is unscoped. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyIsVariable

Gets a value that indicates whether the path defines a variable. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyUserPath

Gets the full user path, including any possibly specified scope and/or drive name. Introduced in Windows PowerShell 3.0.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Generates a string representation of this object. Introduced in Windows PowerShell 3.0.(Overrides Object.ToString().)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: