共用方式為


GrainId.TryParse 方法

定義

多載

TryParse(String, GrainId)

試著從字串剖析 GrainId

TryParse(ReadOnlySpan<Char>, IFormatProvider, GrainId)

試著從範圍剖析 GrainId

TryParse(String, IFormatProvider, GrainId)

試著從字串剖析 GrainId

TryParse(String, GrainId)

試著從字串剖析 GrainId

public static bool TryParse (string? value, out Orleans.Runtime.GrainId result);
static member TryParse : string * GrainId -> bool
Public Shared Function TryParse (value As String, ByRef result As GrainId) As Boolean

參數

value
String
result
GrainId

傳回

true 如果已剖析有效的 GrainId ,則為 。 false 否則

適用於

TryParse(ReadOnlySpan<Char>, IFormatProvider, GrainId)

試著從範圍剖析 GrainId

public static bool TryParse (ReadOnlySpan<char> value, IFormatProvider? provider, out Orleans.Runtime.GrainId result);
static member TryParse : ReadOnlySpan<char> * IFormatProvider * GrainId -> bool
Public Shared Function TryParse (value As ReadOnlySpan(Of Char), provider As IFormatProvider, ByRef result As GrainId) As Boolean

參數

provider
IFormatProvider
result
GrainId

傳回

true 如果已剖析有效的 GrainId ,則為 。 false 否則

適用於

TryParse(String, IFormatProvider, GrainId)

試著從字串剖析 GrainId

public static bool TryParse (string? value, IFormatProvider? provider, out Orleans.Runtime.GrainId result);
static member TryParse : string * IFormatProvider * GrainId -> bool
Public Shared Function TryParse (value As String, provider As IFormatProvider, ByRef result As GrainId) As Boolean

參數

value
String
provider
IFormatProvider
result
GrainId

傳回

true 如果已剖析有效的 GrainId ,則為 。 false 否則

適用於