AdoDotNetParameter.Parse Method
Gets the DbType and attempts to parse the input string value into the correct type by using primitive type conversions (like Byte.Parse and Int32.Parse).
Namespace: Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.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.StringA string representation of a parameter value.
Implements
IVsDataParameter.Parse(String)
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. You must set the parameter type correctly before calling this method, to indicate how the value should be interpreted.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.