Compartir a través de


AdoDotNetParameter.Parse Method

Gets the DbType and attempts to parts the input string value into the correct type using primitive type conversions (like Byte.Parse and Int32.Parse).

Namespace:  Microsoft.VisualStudio.Data.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Public Overrides Sub Parse ( _
    value As String _
)
public override void Parse(
    string value
)
public:
virtual void Parse(
    String^ value
) override
abstract Parse : 
        value:string -> unit  
override Parse : 
        value:string -> unit
public override function Parse(
    value : String
)

Parameters

  • value
    Type: System.String

    A string representation of a parameter value.

Remarks

This method is provided for scenarios in which a user has entered a parameter value as a string and it needs to be set later to the correct data type. The parameter type must be set correctly before calling this method, to indicate how the value should be interpreted.

.NET Framework Security

See Also

Reference

AdoDotNetParameter Class

Microsoft.VisualStudio.Data.AdoDotNet Namespace