Compartir a través de


ReportSize.TryParse Método (String, ReportSize%)

Attempts to parse a string value into a ReportSize.

Espacio de nombres:  Microsoft.ReportingServices.OnDemandReportRendering
Ensamblado:  Microsoft.ReportingServices.ProcessingCore (en Microsoft.ReportingServices.ProcessingCore.dll)

Sintaxis

'Declaración
Public Shared Function TryParse ( _
    value As String, _
    <OutAttribute> ByRef reportSize As ReportSize _
) As Boolean
'Uso
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

Parámetros

Valor devuelto

Tipo: System.Boolean
true if the attempt is successful; otherwise, false.

Vea también

Referencia

ReportSize Clase

Sobrecarga de TryParse

Espacio de nombres Microsoft.ReportingServices.OnDemandReportRendering