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 the current header and put it in value.
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 MimeHeaderReader
Dim value As String
Dim returnValue As Boolean
returnValue = instance.TryGetValue(value)
public bool TryGetValue(
out string value
)
Parameters
value
Type: System.StringA string in which to store the value of this header.
Return value
Type: System.Boolean
The TryGetValue method returns true if it was able to decode the header. It returns false, and sets value to a null reference (Nothing in Visual Basic), if it was unable to decode the header.