mySobek Home   |   Help
Skip Navigation Links.
Expand <a href='http://sobekrepository.org/sobekcm' title='Sobek home page'>Project Home</a>Project Home
Expand <a href='http://sobekrepository.org/help' title='Online user help'>User Help</a>User Help
Expand <a href='http://sobekrepository.org/sobekcm/technical' title='Sobek home page'>Technical Help</a>Technical Help
Expand <a href='http://sobekrepository.org/software' title='Center for downloading all SobekCM-related software'>Download Center</a>Download Center
Training Videos
Collapse <a href='http://sobekrepository.org/codehelp' title='Details on each of the different classes, interfaces, properties, etc..'>Code Details</a>Code Details
MISSING BANNER
Code Details >> Core >> BriefItem >> BriefItem_Web >> Contains_File_Extension

BriefItem_Web.Contains_File_Extension Method



Checks to see if a file extension exists in the file extensions lists


Namespace: SobekCM.Core.BriefItem
Assembly: SobekCM_Core (in SobekCM_Core.dll) Version: 4.10.0.0 (4.10.0.0)

Syntax

C#
public bool Contains_File_Extension(
	string Extension
)

Parameters

Extension
Type: System..::..String
File extension to check

Return Value

Type: Boolean
TRUE if the file extension exists, otherwise FALSE

Remarks

The file extension check is not caps sensitive and is tolerant of a period at the beginning, but it is not necessary either.

See Also



Version 4.10.0 ( last generated Monday, March 7, 2016 )