Partilhar via


PSSerializer.DeserializeAsList(String) Method

Definition

Deserializes PowerShell CliXml into a list of objects.

public:
 static cli::array <System::Object ^> ^ DeserializeAsList(System::String ^ source);
public:
 static Platform::Array <Platform::Object ^> ^ DeserializeAsList(Platform::String ^ source);
 static std::Array <winrt::Windows::Foundation::IInspectable const &> DeserializeAsList(std::wstring const & source);
public static object[] DeserializeAsList (string source);
static member DeserializeAsList : string -> obj[]
Public Shared Function DeserializeAsList (source As String) As Object()

Parameters

source
String

The CliXml the represents the object to deserialize.

Returns

Object[]

An object array represents the serialized content.

Applies to