다음을 통해 공유


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.