Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The TryGetValue method tries to get the value of this TextHeader object and makes available information about the encoding of the header.
Namespace: Microsoft.Exchange.Data.Mime
Assembly: Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)
Syntax
'Declaration
Public Function TryGetValue ( _
decodingOptions As DecodingOptions, _
<OutAttribute> ByRef decodingResults As DecodingResults, _
<OutAttribute> ByRef value As String _
) As Boolean
'Usage
Dim instance As TextHeader
Dim decodingOptions As DecodingOptions
Dim decodingResults As DecodingResults
Dim value As String
Dim returnValue As Boolean
returnValue = instance.TryGetValue(decodingOptions, _
decodingResults, value)
public bool TryGetValue(
DecodingOptions decodingOptions,
out DecodingResults decodingResults,
out string value
)
Parameters
decodingOptions
Type: Microsoft.Exchange.Data.Mime.DecodingOptionsA DecodingOptions structure that is used to control the decoding.
decodingResults
Type: Microsoft.Exchange.Data.Mime.DecodingResultsA DecodingResults structure that exposes details about the decoding.
value
Type: System.StringA string in which to store the value of this TextHeader object.
Return value
Type: System.Boolean