WstDirectory.GetFiles Method (WstContext, String)

[This is internal Microsoft documentation - Do not distribute.]

Returns the names of files in the specified directory.

Namespace: Microsoft.Webstore.WstClient
Assembly: ICL (in icl.dll)

Syntax

'Declaration

  Public Shared Function GetFiles ( _
    context As WstContext, _
    path As String _
) As String()
  public static string[] GetFiles (
    WstContext context,
    string path
)

Parameters

  • context
    The Webstore context for this operation.
  • path
    The directory from which to retrieve the files.

Return Value

A String array of file names in the specified directory.

Remarks

This method is identical to GetFiles(WstContext, String, String) with the asterisk (*) specified as the search pattern.

Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also

Reference

WstDirectory Class
WstDirectory Members
Microsoft.Webstore.WstClient Namespace