Поделиться через


Ink.Clone - метод

Обновлен: Ноябрь 2007

Creates a copy of this Ink object.

Пространство имен:  Microsoft.Ink
Сборка:  Microsoft.Ink (в Microsoft.Ink.dll)

Синтаксис

'Декларация
Public Function Clone As Ink
'Применение
Dim instance As Ink
Dim returnValue As Ink

returnValue = instance.Clone()
public Ink Clone()
public:
Ink^ Clone()
public Ink Clone()
public function Clone() : Ink

Возвращаемое значение

Тип: Microsoft.Ink.Ink
The new copy of the original Ink object.

Заметки

In most scenarios, the new Ink object is an exact copy of the original Ink object, but no relation between the two objects exists. The only scenario in which the duplicate Ink object is not an exact copy of the original object is when you clone an Ink object that has been modified but not yet saved. In this case, although the Dirty property of the original Ink object is true, the duplicate Ink object's Dirty property is false. All other properties are exact copies.

Примеры

This C# example creates a copy of an Ink object, theInk.

Ink theInkClone = theInk.Clone();

This Microsoft Visual Basic.NET example creates a copy of an Ink object, theInk.

Dim theInkClone As Ink = theInk.Clone()

Платформы

Windows Vista

Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.

Сведения о версии

.NET Framework

Поддерживается в версии: 3.0

См. также

Ссылки

Ink Класс

Ink - члены

Microsoft.Ink - пространство имен

Ink.Dirty