Share via


ShareDirectoryClient.GetFileClient(String) Method

Definition

Creates a new ShareFileClient object by appending fileName to the end of Uri. The new ShareFileClient uses the same request policy pipeline as the ShareDirectoryClient.

public virtual Azure.Storage.Files.Shares.ShareFileClient GetFileClient (string fileName);
abstract member GetFileClient : string -> Azure.Storage.Files.Shares.ShareFileClient
override this.GetFileClient : string -> Azure.Storage.Files.Shares.ShareFileClient
Public Overridable Function GetFileClient (fileName As String) As ShareFileClient

Parameters

fileName
String

The name of the file.

Returns

A new ShareFileClient instance.

Applies to