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
參數
- fileName
型別:System. . :: . .String
A String value that specifies the name of the miscellaneous file to find.
傳回值
型別: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.