ArcObjects Library Reference  (System)    

ILog2.WillLog Method

True if the message type is allowed to be written into the log file.

[Visual Basic 6.0]
Function WillLog(
    ByVal msgType As Long _
) As Boolean
[Visual Basic .NET]
Public Function WillLog ( _
    ByVal msgType As Integer _
) As Boolean
[C#]
public bool WillLog (
    int msgType
);
[Java]
public Boolean willLog (
    int msgType
)
throws
    IOException,
    AutomationException
[C++]
HRESULT WillLog(
  long msgType,
  VARIANT_BOOL* WillLog
);
[C++]

Parameters

msgType [in]

  msgType is a parameter of type long

WillLog [out, retval]

  WillLog is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

ILog2 Interface