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: 2.2.0
Syntax
C#
protected bool TryInit(
	Object obj
)

Parameters

obj
Type: SystemObject
The object.

Return Value

Type: 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