HashtableExtensions.GetStringCollection Method (Hashtable, String[])
This element is introduced in Windows PowerShell 5.0.
Namespace: Microsoft.OneGet.Utility.Extensions
Assembly: Microsoft.OneGet.Utility (in Microsoft.OneGet.Utility.dll)
Usage
'Usage
Dim hashtable As Hashtable
Dim paths As String()
Dim returnValue As IEnumerable(Of String)
returnValue = HashtableExtensions.GetStringCollection(hashtable, paths)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function GetStringCollection ( _
hashtable As Hashtable, _
paths As String() _
) As IEnumerable(Of String)
[ExtensionAttribute]
public static IEnumerable<string> GetStringCollection (
Hashtable hashtable,
string[] paths
)
[ExtensionAttribute]
public:
static IEnumerable<String^>^ GetStringCollection (
Hashtable^ hashtable,
array<String^>^ paths
)
/** @attribute ExtensionAttribute() */
public static IEnumerable<String> GetStringCollection (
Hashtable hashtable,
String[] paths
)
ExtensionAttribute
public static function GetStringCollection (
hashtable : Hashtable,
paths : String[]
) : IEnumerable<String>
Parameters
- hashtable
- paths
Return Value
Returns IEnumerable.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Target Platforms
See Also
Reference
HashtableExtensions Class
HashtableExtensions Members
Microsoft.OneGet.Utility.Extensions Namespace