Converts the specified property value into an instance of the specified type.
Namespace:
Endeca.DataAssembly: Endeca.Data (in Endeca.Data.dll) Version: 2.1.1.0 (2.1.1.620)
Syntax
C# |
---|
public static T Parse<T>( string propertyValue ) |
Visual Basic (Declaration) |
---|
Public Shared Function Parse(Of T) ( _ propertyValue As String _ ) As T |
Visual C++ |
---|
public: generic<typename T> static T Parse( String^ propertyValue ) |
Parameters
- propertyValue
- Type: System..::.String
Value to convert.
Type Parameters
- T
- Type to which propertyValue should be converted. It must represent one of the following types: Int64, Double, String, DateTime, TimeSpan, or Geocode.
Remarks
See Parse(String, Type) for the exceptions this method
can throw.