共用方式為


IVsOutputWindowPane3.TryGetStringWithId(Guid, UInt32, String) Method

Definition

Gets a string with the message ID.

public:
 bool TryGetStringWithId(Guid messageProvider, System::UInt32 messageId, [Runtime::InteropServices::Out] System::String ^ % message);
public bool TryGetStringWithId (Guid messageProvider, uint messageId, out string message);
abstract member TryGetStringWithId : Guid * uint32 * string -> bool
Public Function TryGetStringWithId (messageProvider As Guid, messageId As UInteger, ByRef message As String) As Boolean

Parameters

messageProvider
Guid

The message provider.

messageId
UInt32

The message ID.

message
String

The message.

Returns

Returns Boolean.

Applies to