Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.Int32A zero-based offset from the beginning of the file.
completionOption
Type: Microsoft.Xaml.CompletionOptionsA completion option.
quote
Type: System.CharThe 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
- 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