Skip to main content

Clipboard

  • 2 minutes to read

This article describes all Context Providers in the Editor | Clipboard group. Refer to the Context Providers article for details on how to access Context Providers from the other groups.

A … H H … Z
HasArrayType HasImplicitVariableName
HasBoolean HasInteger
HasEnum HasMethodName
HasIdentifier HasString
HasIdentifierWithProperty Implements


[HasArrayType]

Satisfied when the clipboard holds an identifier of the array type.

Supported Languages: C#, Visual Basic


[HasBoolean]

Satisfied when the clipboard holds an identifier of the System.Boolean type.

Supported Languages: C#, Visual Basic


[HasEnum]

Satisfied when the clipboard holds an enum element.

Supported Languages: C#, Visual Basic


[HasIdentifier]

Satisfied when the clipboard holds an identifier.

Supported Languages: C#, Visual Basic


[HasIdentifierWithProperty(propertyName)]

Position Parameter Description
1 Property Name The name of the property to test for.

Satisfied when the clipboard holds an identifier with a property matching the specified name.

Supported Languages: C#, Visual Basic


[HasImplicitVariableName]

Satisfied when the clipboard holds a name of an implicit variable.

Supported Languages: C#, Visual Basic


[HasInteger]

Satisfied when the clipboard holds an identifier of the integer type (e.g., System.Int16, System.Int32, System.Int64, System.UInt16, etc.).

Supported Languages: C#, Visual Basic


[HasMethodName]

Satisfied when the clipboard holds a name of a method.

Supported Languages: C#, Visual Basic


[HasString]

Satisfied when the clipboard holds an identifier of the System.String type.

Supported Languages: C#, Visual Basic


[Implements(interfaceName)]

Position Parameter Description
1 Interface Name The full name of the interface (e.g., System.Collections.IEnumerable) to test for.

Satisfied when the identifier on the clipboard implements the specified interface.

Supported Languages: C#, Visual Basic