PSObjectExtensionsGetPropertiesAsString Method
Returns a string representation for the properties and its values of the source PSObject object.
Namespace: DevCase.Extensions.PSObjectExtensionsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static string GetPropertiesAsString(
this PSObject pso
)
<ExtensionAttribute>
Public Shared Function GetPropertiesAsString (
pso As PSObject
) As String
Dim pso As PSObject
Dim returnValue As String
returnValue = pso.GetPropertiesAsString()
public:
[ExtensionAttribute]
static String^ GetPropertiesAsString(
PSObject^ pso
)
[<ExtensionAttribute>]
static member GetPropertiesAsString :
pso : PSObject -> string
No code example is currently available or this language may not be supported.
- pso PSObject
-
The source PSObject object.
String
The resulting string that represents the properties and its values of the source
PSObject object.
In Visual Basic and C#, you can call this method as an instance method on any object of type
PSObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).