Dynamicweb 8 Documentation
GetOptionByID Method (FieldOption)

An ID of the option.
Retrieves an option from by its ID.
Syntax
'Declaration
 
Public Shared Function GetOptionByID( _ 
   ByVal optionID As String _ 
) As FieldOption
public static FieldOption GetOptionByID( 
   string optionID 
)

Parameters

optionID
An ID of the option.

Return Value

Option instance or null (Nothing in Visual Basic) if the specified option can not be found.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

FieldOption Class
FieldOption Members

Send Feedback