Parses a data specifier string, starting at the specified index, into its components and then returns a DataSpecifier object instance containing the parsed components.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'宣言
Public Shared Function Parse ( _
s As String, _
ByRef index As Integer _
) As DataSpecifier
'使用
Dim s As String
Dim index As Integer
Dim returnValue As DataSpecifier
returnValue = DataSpecifier.Parse(s, index)
public static DataSpecifier Parse(
string s,
ref int index
)
public:
static DataSpecifier^ Parse(
String^ s,
int% index
)
public static function Parse(
s : String,
index : int
) : DataSpecifier
Parameters
s
Type: System.StringA string containing the components of the data specifier to parse.
index
Type: System.Int32%The index in the data specifier string at which to start the parsing. This parameter is passed by reference, and, therefore, when this method returns to the caller, it will retain its new value.
Return Value
Type: Microsoft.VisualStudio.Data.Framework.DataSpecifier
A DataSpecifier object instance containing the parsed components.
Permissions
- 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.