IXamlFileInformationContext.GetReferences Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Retrieves where in the file the specified reflection qualified name is used.
Namespace: Microsoft.Xaml
Assembly: Microsoft.Windows.Design.Markup (in Microsoft.Windows.Design.Markup.dll)
Syntax
'Declaration
Function GetReferences ( _
rqName As String, _
referenceOptions As ReferenceOptions _
) As IMarkupLocation()
'Usage
Dim instance As IXamlFileInformationContext
Dim rqName As String
Dim referenceOptions As ReferenceOptions
Dim returnValue As IMarkupLocation()
returnValue = instance.GetReferences(rqName, _
referenceOptions)
IMarkupLocation[] GetReferences(
string rqName,
ReferenceOptions referenceOptions
)
array<IMarkupLocation^>^ GetReferences(
String^ rqName,
ReferenceOptions referenceOptions
)
function GetReferences(
rqName : String,
referenceOptions : ReferenceOptions
) : IMarkupLocation[]
Parameters
rqName
Type: System.StringA reflection qualified name (as defined by VSIP) for the symbol being looked for.
referenceOptions
Type: Microsoft.Xaml.ReferenceOptionsSpecifies the type of reference to return.
Return Value
Type: array<Microsoft.Windows.Design.Documents.IMarkupLocation[]
A list of where the specified reflection qualified name is used.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IXamlFileInformationContext Interface
IXamlFileInformationContext Members