Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CommonUI / System / Drawing / Advanced / PropertyItem.cs / 1 / PropertyItem.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Drawing.Imaging {
using System.Runtime.InteropServices;
using System;
using System.Drawing;
// sdkinc\imaging.h
///
///
/// Encapsulates a metadata property to be
/// included in an image file.
///
public sealed class PropertyItem {
int id;
int len;
short type;
byte[] value;
internal PropertyItem() {
}
///
///
/// Represents the ID of the property.
///
public int Id {
get { return id; }
set { id = value; }
}
///
///
/// Represents the length of the property.
///
public int Len {
get { return len; }
set { len = value; }
}
///
///
/// Represents the type of the property.
///
public short Type {
get { return type; }
set { type = value; }
}
///
///
/// Contains the property value.
///
public byte[] Value {
get { return this.value; }
set { this.value = value; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Drawing.Imaging {
using System.Runtime.InteropServices;
using System;
using System.Drawing;
// sdkinc\imaging.h
///
///
/// Encapsulates a metadata property to be
/// included in an image file.
///
public sealed class PropertyItem {
int id;
int len;
short type;
byte[] value;
internal PropertyItem() {
}
///
///
/// Represents the ID of the property.
///
public int Id {
get { return id; }
set { id = value; }
}
///
///
/// Represents the length of the property.
///
public int Len {
get { return len; }
set { len = value; }
}
///
///
/// Represents the type of the property.
///
public short Type {
get { return type; }
set { type = value; }
}
///
///
/// Contains the property value.
///
public byte[] Value {
get { return this.value; }
set { this.value = value; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ClipboardProcessor.cs
- GradientSpreadMethodValidation.cs
- SqlDataSourceCache.cs
- MessageBox.cs
- webbrowsersite.cs
- RSAProtectedConfigurationProvider.cs
- OpenFileDialog.cs
- ToolStripRendererSwitcher.cs
- UIElementIsland.cs
- MultiDataTrigger.cs
- QilXmlReader.cs
- ThreadExceptionEvent.cs
- ArrayElementGridEntry.cs
- HtmlLink.cs
- XmlTypeMapping.cs
- ConsoleCancelEventArgs.cs
- CodeIdentifiers.cs
- ClientScriptManager.cs
- TextElementAutomationPeer.cs
- KnownIds.cs
- CacheEntry.cs
- ExecutedRoutedEventArgs.cs
- AdministrationHelpers.cs
- InstalledVoice.cs
- _TransmitFileOverlappedAsyncResult.cs
- BatchServiceHost.cs
- ItemDragEvent.cs
- PathGeometry.cs
- DataGridViewAccessibleObject.cs
- Effect.cs
- ModelVisual3D.cs
- StyleXamlTreeBuilder.cs
- LicFileLicenseProvider.cs
- PerformanceCounterPermissionEntry.cs
- BitmapEffectGeneralTransform.cs
- Validator.cs
- DataServiceProviderMethods.cs
- SmiContext.cs
- ReadOnlyDataSource.cs
- OrderedDictionary.cs
- FixedHyperLink.cs
- XPathBuilder.cs
- MenuItemBinding.cs
- ConfigViewGenerator.cs
- AsmxEndpointPickerExtension.cs
- BamlLocalizer.cs
- RemotingServices.cs
- CompositeControl.cs
- GenericPrincipal.cs
- WindowsFormsHostAutomationPeer.cs
- FieldDescriptor.cs
- ByteStreamGeometryContext.cs
- GroupItemAutomationPeer.cs
- MaterialGroup.cs
- FieldNameLookup.cs
- ErrorHandler.cs
- SponsorHelper.cs
- ImageFormatConverter.cs
- CriticalFileToken.cs
- ViewGenerator.cs
- SwitchLevelAttribute.cs
- SignatureHelper.cs
- GetRecipientRequest.cs
- ListBoxItemWrapperAutomationPeer.cs
- StrokeNodeData.cs
- DataServiceHostFactory.cs
- UInt32.cs
- RequestFactory.cs
- PixelShader.cs
- Point3DCollection.cs
- AutomationElementCollection.cs
- SmiMetaDataProperty.cs
- HttpListenerPrefixCollection.cs
- DateRangeEvent.cs
- FixedFlowMap.cs
- _NegoStream.cs
- ColorTransform.cs
- TextElementAutomationPeer.cs
- SmtpCommands.cs
- DataGridSortCommandEventArgs.cs
- Timer.cs
- DockingAttribute.cs
- SemaphoreSecurity.cs
- HTMLTagNameToTypeMapper.cs
- RuleCache.cs
- CustomErrorCollection.cs
- MoveSizeWinEventHandler.cs
- TraceUtility.cs
- TimeSpanValidatorAttribute.cs
- ExitEventArgs.cs
- SearchForVirtualItemEventArgs.cs
- Debug.cs
- StrongTypingException.cs
- ReflectionPermission.cs
- xml.cs
- ProgressChangedEventArgs.cs
- XmlImplementation.cs
- SpeechUI.cs
- VoiceObjectToken.cs
- SamlSubjectStatement.cs