MimeEntityTryInit Method

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

Definition

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

Parameters

obj  Object
The object.

Return Value

Boolean
if the object was recognized and used; otherwise, .

Remarks

Initializes the appropriate property based on the type of the object.

See Also