Click or drag to resize
MimeKit

MimeEntityTryInit Method

Tries to use the given object to initialize the appropriate property.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
protected bool TryInit(
	Object obj
)

Parameters

obj  Object
The object.

Return Value

Boolean
true if the object was recognized and used; false otherwise.
Remarks
Initializes the appropriate property based on the type of the object.
See Also