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) | |
GetVariableValue(String, Object) |
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 -> obj
Public Function GetVariableValue (name As String) As Object
Parameters
- 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 -> obj
Public Function GetVariableValue (name As String, defaultValue As Object) As Object
Parameters
- name
- String
- defaultValue
- Object