DataParameter.Parse Method
Disassembles a parameter value in a string format and converts the value to the correct type.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaración
Public MustOverride Sub Parse ( _
value As String _
)
public abstract void Parse(
string value
)
public:
virtual void Parse(
String^ value
) abstract
abstract Parse :
value:string -> unit
public abstract 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 to its correct data type. In some cases, the parameter type must be set correctly before calling this method in order to indicate how the value should be interpreted. For example, when the value passed in could be converted to multiple data-source-specific types, initially setting the type indicates which of the various types the parameter should be set to.
.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.