Specifies when the member should be included in the documentation. The member will be only compiled when constant specified in this tag is also listed on Code Members-Conditional Compilation options. If <compilewhen> tag is not specified, the member is always included.

Syntax

<compilewhen>constant</compilewhen>

Examples

Visual Basic

''' <summary>Our sample property.</summary>

''' <compilewhen>internal</compilewhen>

Property prop1() As String

C#

/// <summary>Our sample property.</summary>

/// <compilewhen>internal</compilewhen>

public string prop1

 

See Also

Conditional Compilation Options