共用方式為


IVsOutputWindowPane3.TryNavigateToMessageId Method

Definition

Navigates to the message ID.

public:
 bool TryNavigateToMessageId(Guid messageProvider, System::UInt32 messageId, bool ensureVisible, bool ensureFocused);
public bool TryNavigateToMessageId (Guid messageProvider, uint messageId, bool ensureVisible, bool ensureFocused);
abstract member TryNavigateToMessageId : Guid * uint32 * bool * bool -> bool
Public Function TryNavigateToMessageId (messageProvider As Guid, messageId As UInteger, ensureVisible As Boolean, ensureFocused As Boolean) As Boolean

Parameters

messageProvider
Guid

The message provider.

messageId
UInt32

The message ID.

ensureVisible
Boolean

True to ensure that it is visible.

ensureFocused
Boolean

True to ensure that it is focused.

Returns

Returns Boolean.

Applies to