Azure.Storage.BlobStorage.GetBlockBlobDataAsString C# (CSharp) Method

GetBlockBlobDataAsString() public method

Returns as string with the contents of a block blob with the given blob name
public GetBlockBlobDataAsString ( string blobId ) : string
blobId string
return string
	    public string GetBlockBlobDataAsString(string blobId)
	    {
            Validate.BlobName(blobId, "blobId");

            var blob = cloudBlobContainer.GetBlockBlobReference(blobId);
            return blob.DownloadText();
	    }