PSCmdlet.GetVariableValue 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.
Overloads
GetVariableValue(String)
public:
 System::Object ^ GetVariableValue(System::String ^ name);public:
 Platform::Object ^ GetVariableValue(Platform::String ^ name);winrt::Windows::Foundation::IInspectable GetVariableValue(std::wstring const & name);public object GetVariableValue(string name);member this.GetVariableValue : string -> objPublic Function GetVariableValue (name As String) As ObjectParameters
- name
- String
Returns
Applies to
GetVariableValue(String, Object)
public:
 System::Object ^ GetVariableValue(System::String ^ name, System::Object ^ defaultValue);public:
 Platform::Object ^ GetVariableValue(Platform::String ^ name, Platform::Object ^ defaultValue);winrt::Windows::Foundation::IInspectable GetVariableValue(std::wstring const & name, winrt::Windows::Foundation::IInspectable const & defaultValue);public object GetVariableValue(string name, object defaultValue);member this.GetVariableValue : string * obj -> objPublic Function GetVariableValue (name As String, defaultValue As Object) As ObjectParameters
- name
- String
- defaultValue
- Object