Udostępnij za pośrednictwem


Metoda ReportSize.TryParse (String, ReportSize%)

Próbuje zanalizować wartość ciąg do ReportSize.

Przestrzeń nazw:  Microsoft.ReportingServices.OnDemandReportRendering
Zestaw:  Microsoft.ReportingServices.ProcessingCore (w Microsoft.ReportingServices.ProcessingCore.dll)

Składnia

'Deklaracja
Public Shared Function TryParse ( _
    value As String, _
    <OutAttribute> ByRef reportSize As ReportSize _
) As Boolean
'Użycie
Dim value As String
Dim reportSize As ReportSize
Dim returnValue As Boolean

returnValue = ReportSize.TryParse(value, _
    reportSize)
public static bool TryParse(
    string value,
    out ReportSize reportSize
)
public:
static bool TryParse(
    String^ value, 
    [OutAttribute] ReportSize^% reportSize
)
static member TryParse : 
        value:string * 
        reportSize:ReportSize byref -> bool 
public static function TryParse(
    value : String, 
    reportSize : ReportSize
) : boolean

Parametry

Wartość zwracana

Typ: System.Boolean
TRUE Jeśli próba zakończy się pomyślnie; w przeciwnym razie false.