Share via


MimeParameterReader.TryGetValue method (String)

The TryGetValue method tries to get the value of this parameter, but does not throw an exception if its encoding is not supported.

Namespace:  Microsoft.Exchange.Data.Mime
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public Function TryGetValue ( _
    <OutAttribute> ByRef value As String _
) As Boolean
'Usage
Dim instance As MimeParameterReader
Dim value As String
Dim returnValue As Boolean

returnValue = instance.TryGetValue(value)
public bool TryGetValue(
    out string value
)

Parameters

  • value
    Type: System.String

    A string in which to store the value.

Return value

Type: System.Boolean
The TryGetValue method returns true if the encoding was understood, in which case value contains the parameter value. Otherwise, the method returns false, in which case value is empty.

See also

Reference

MimeParameterReader structure

MimeParameterReader members

TryGetValue overload

Microsoft.Exchange.Data.Mime namespace