Partager via


AspNetManagementUtility.PathIsDirectory(String, Int32) Méthode

Définition

Retourne une valeur indiquant si le paramètre de nom de fichier transmis est un répertoire.

Cette API prend en charge l'infrastructure du produit et n'est pas destinée à être utilisée directement à partir de votre code.

public:
 virtual void PathIsDirectory(System::String ^ filename, [Runtime::InteropServices::Out] int % result);
public void PathIsDirectory(string filename, out int result);
abstract member PathIsDirectory : string * int -> unit
override this.PathIsDirectory : string * int -> unit
Public Sub PathIsDirectory (filename As String, ByRef result As Integer)

Paramètres

filename
String

Chemin d'accès au répertoire à vérifier.

result
Int32

1, si le nom de fichier est un répertoire ; sinon, 0.

Implémente

Remarques

Pour plus d’informations sur la programmation avec la AspNetManagementUtility classe et la console MMC (Microsoft Management Console), consultez le Guide du programmeur MMC.

S’applique à