Dela via


ReferenceOptions Enumeration

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Provides flags to specify the return type of the GetReferences method.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.Xaml
Assembly:  Microsoft.Windows.Design.Markup (in Microsoft.Windows.Design.Markup.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration ReferenceOptions
'Usage
Dim instance As ReferenceOptions
[FlagsAttribute]
public enum ReferenceOptions
[FlagsAttribute]
public enum class ReferenceOptions
public enum ReferenceOptions

Members

Member name Description
Type Return only type references.
Property Return only property references.
Field Return only field references.
DeclarationOnly Return only a reference to the declaration, not the reference of a symbol. For example, DeclarationOnly returns x:Class, x:Subclass and x:Name references, but not attribute or tag names.
All Return all references.

See Also

Reference

Microsoft.Xaml Namespace

GetReferences