Поделиться через


Метод Contains

Determines whether the specified miscellaneous file is part of the MiscellaneousFilesCollection.

Пространство имен:  Microsoft.SqlServer.Management.Dac
Сборка:  Microsoft.SqlServer.Management.Dac (в Microsoft.SqlServer.Management.Dac.dll)

Синтаксис

'Декларация
Public Function Contains ( _
    fileName As String _
) As Boolean
'Применение
Dim instance As MiscellaneousFilesCollection
Dim fileName As String
Dim returnValue As Boolean

returnValue = instance.Contains(fileName)
public bool Contains(
    string fileName
)
public:
bool Contains(
    String^ fileName
)
member Contains : 
        fileName:string -> bool 
public function Contains(
    fileName : String
) : boolean

Параметры

Возвращаемое значение

Тип: System. . :: . .Boolean
A Boolean value that indicates whether the specified file is part of the collection. If true, the miscellaneous file is part of the MiscellaneousFilesCollection. Otherwise, false.