TextExtent Constructor (TextExtent)
Initializes a new instance of a TextExtent from the specified TextExtent.
Namespace: Microsoft.VisualStudio.Text.Operations
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'宣告
Public Sub New ( _
textExtent As TextExtent _
)
public TextExtent(
TextExtent textExtent
)
public:
TextExtent(
TextExtent textExtent
)
new :
textExtent:TextExtent -> TextExtent
public function TextExtent(
textExtent : TextExtent
)
Parameters
- textExtent
Type: Microsoft.VisualStudio.Text.Operations.TextExtent
The TextExtent from which to copy.
.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.