StorageFile.IsOfType(StorageItemTypes) Metode

Definisi

Menentukan apakah StorageFile saat ini cocok dengan nilai StorageItemTypes yang ditentukan.

public:
 virtual bool IsOfType(StorageItemTypes type) = IsOfType;
bool IsOfType(StorageItemTypes const& type);
public bool IsOfType(StorageItemTypes type);
function isOfType(type)
Public Function IsOfType (type As StorageItemTypes) As Boolean

Parameter

type
StorageItemTypes

Nilai yang cocok dengan.

Mengembalikan

Boolean

bool

True jika StorageFile cocok dengan nilai yang ditentukan; jika tidak salah.

Penerapan

Berlaku untuk