TryParse Method
[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]
Namespace: System
Assembly: System.Dataflow (in System.Dataflow.dll)
Syntax
'Declaration
PublicSharedFunctionTryParse ( _
sourceAsString, _
<OutAttribute> ByRefresultAsTime _
) AsBoolean
'Usage
DimsourceAsStringDimresultAsTimeDimreturnValueAsBooleanreturnValue = Time.TryParse(source, _
result)
publicstaticboolTryParse(
stringsource,
outTimeresult
)
public:
staticboolTryParse(
String^ source,
[OutAttribute] Time% result
)
publicstaticfunctionTryParse(
source : String,
result : Time
) : boolean
Parameters
- source
Type: System. . :: . .String
- result
Type: System. . :: . .Time%
Return Value
Type: System. . :: . .Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see https://msdn.microsoft.com/en-us/library/8skskf63(v=vs.85).