Share via


IXamlFileInformationContext.GetCompletions Method

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

Retrieves a list of the file completions for the specified offset in the file.

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

Syntax

'Declaration
Function GetCompletions ( _
    offset As Integer, _
    completionOption As CompletionOptions, _
    quote As Char _
) As IXamlCompletion()
'Usage
Dim instance As IXamlFileInformationContext 
Dim offset As Integer 
Dim completionOption As CompletionOptions 
Dim quote As Char 
Dim returnValue As IXamlCompletion()

returnValue = instance.GetCompletions(offset, _
    completionOption, quote)
IXamlCompletion[] GetCompletions(
    int offset,
    CompletionOptions completionOption,
    char quote
)
array<IXamlCompletion^>^ GetCompletions(
    int offset, 
    CompletionOptions completionOption, 
    wchar_t quote
)
function GetCompletions(
    offset : int, 
    completionOption : CompletionOptions, 
    quote : char
) : IXamlCompletion[]

Parameters

  • offset
    Type: System.Int32

    A zero-based offset from the beginning of the file.

  • quote
    Type: System.Char

    The quotation character to use if not '\0'.

Return Value

Type: array<Microsoft.Xaml.IXamlCompletion[]
A list of the file completions for offset.

Remarks

The completions will indicate if the recommendations are for elements, attributes, or attribute values.

.NET Framework Security

See Also

Reference

IXamlFileInformationContext Interface

IXamlFileInformationContext Members

Microsoft.Xaml Namespace

Other Resources

WPF Designer Extensibility