<?xml version="1.0" encoding="UTF-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  <CodeSnippet Format="1.0.0">
    <Header>
      <Title>写入 My.Application 日志 </Title>
      <Author>Microsoft Corporation</Author>
      <Description>将字符串写入本地计算机上的应用程序事件日志。</Description>
      <Keywords>
      </Keywords>
      <Shortcut>evWriteLog</Shortcut>
    </Header>
    <Snippet>
      <Imports>
        <Import>
          <Namespace>Microsoft.VisualBasic</Namespace>
        </Import>
      </Imports>
      <Declarations>
        <Literal>
          <ID>message</ID>
          <Type/>
          <ToolTip>替换为要写入的消息。</ToolTip>
          <Default>"An entry to the Application event log."</Default>
        </Literal>
      </Declarations>
      <Code Language="VB" Kind="method body"><![CDATA[My.Application.Log.WriteEntry($message$)]]></Code>
    </Snippet>
  </CodeSnippet>
</CodeSnippets>
