ExtendedProperties.Remove 메서드 (ExtendedProperty)
업데이트: 2007년 11월
ExtendedProperties 컬렉션에서 ExtendedProperty 개체를 제거합니다.
네임스페이스: Microsoft.Ink
어셈블리: Microsoft.Ink(Microsoft.Ink.dll)
구문
‘선언
Public Sub Remove ( _
ep As ExtendedProperty _
)
‘사용 방법
Dim instance As ExtendedProperties
Dim ep As ExtendedProperty
instance.Remove(ep)
public void Remove(
ExtendedProperty ep
)
public:
void Remove(
ExtendedProperty^ ep
)
public void Remove(
ExtendedProperty ep
)
public function Remove(
ep : ExtendedProperty
)
매개 변수
- ep
형식: Microsoft.Ink.ExtendedProperty
ExtendedProperties 컬렉션에서 제거할 ExtendedProperty 개체입니다.
설명
이 메서드는 잉크 데이터의 스냅숏이나 잉크 데이터를 가리키는 참조에서만 ExtendedProperty 개체를 제거하며 실제 잉크 데이터에서는 ExtendedProperty 개체를 제거하지 않습니다.
예제
이 C# 예제에서는 Strokes 컬렉션인 theStrokes에 있는 모든 Stroke 개체의 ExtendedProperties 컬렉션에서 ExtendedProperty 개체인 theExtendedProperty를 제거합니다.
// Remove the ExtendedProperty object from the ExtendedProperties property of
// each stroke in the strokes collection.
foreach (Stroke theStroke in theStrokes)
{
// Test for theExtendedProperty on this stroke.
if (theStroke.ExtendedProperties.Contains(theExtendedProperty))
{
// Remove the extended property from this stroke's extended
// properties list.
theStroke.ExtendedProperties.Remove(theExtendedProperty);
}
}
이 Microsoft® Visual Basic® .NET 예제에서는 Strokes 컬렉션인 theStrokes에 있는 모든 Stroke 개체의 ExtendedProperties 속성에서 ExtendedProperty 개체인 theExtendedProperty를 제거합니다.
'Remove the ExtendedProperty object from the ExtendedProperties property of
'each stroke in the strokes collection.
For Each theStroke As Stroke In theStrokes
'Test for theExtendedProperty on this stroke.
If theStroke.ExtendedProperties.Contains(theExtendedProperty) Then
'Remove the extended property from this stroke's extended
'properties list.
theStroke.ExtendedProperties.Remove(theExtendedProperty)
End If
Next
플랫폼
Windows Vista
.NET Framework 및 .NET Compact Framework에서 모든 플랫폼의 전체 버전을 지원하지는 않습니다. 지원되는 버전의 목록을 보려면 .NET Framework 시스템 요구 사항을 참조하십시오.
버전 정보
.NET Framework
3.0에서 지원