# sampleRef element

The sampleRef element contains a reference to an external code sample.

## Type

Anonymous

## Elements and Attributes

### Child Elements

None.

### Attributes

Attribute | Type | Required | Description | Possible Values
--- | --- | --- | --- | ---
srcID | token | optional |  | See external namespace.
databaseID | token | optional |  | See external namespace.

## Usage

          <sampleRef
    	srcID="token"
    	databaseID="token"
    />

## Definition

          <element name="sampleRef" >
      <complexType>
        <attribute name="srcID" type="token"></attribute>
        <attribute name="databaseID" type="token"></attribute>
      </complexType>
    </element>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp