Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / InteropServices / CurrencyWrapper.cs / 1305376 / CurrencyWrapper.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: CurrencyWrapper. ** ** ** Purpose: Wrapper that is converted to a variant with VT_CURRENCY. ** ** =============================================================================*/ namespace System.Runtime.InteropServices { using System; [Serializable] [System.Runtime.InteropServices.ComVisible(true)] public sealed class CurrencyWrapper { public CurrencyWrapper(Decimal obj) { m_WrappedObject = obj; } public CurrencyWrapper(Object obj) { if (!(obj is Decimal)) throw new ArgumentException(Environment.GetResourceString("Arg_MustBeDecimal"), "obj"); m_WrappedObject = (Decimal)obj; } public Decimal WrappedObject { get { return m_WrappedObject; } } private Decimal m_WrappedObject; } } // 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
- WCFBuildProvider.cs
- EventRouteFactory.cs
- QuinticEase.cs
- WindowsSpinner.cs
- Compiler.cs
- ByteStreamMessage.cs
- BinaryFormatterWriter.cs
- TextBox.cs
- EntityFrameworkVersions.cs
- EntityChangedParams.cs
- Metafile.cs
- DataPagerFieldCollection.cs
- DbConnectionOptions.cs
- AdornerHitTestResult.cs
- TokenBasedSetEnumerator.cs
- GeneralTransform3D.cs
- SQLBinary.cs
- FrameworkReadOnlyPropertyMetadata.cs
- CollectionChangeEventArgs.cs
- ObjectRef.cs
- SystemPens.cs
- CodeCastExpression.cs
- MemberListBinding.cs
- Byte.cs
- TdsParser.cs
- EdmScalarPropertyAttribute.cs
- ListBindingConverter.cs
- AccessDataSourceView.cs
- NumericExpr.cs
- EntityClientCacheEntry.cs
- ControlPropertyNameConverter.cs
- Token.cs
- followingquery.cs
- _SecureChannel.cs
- VirtualizingStackPanel.cs
- ZeroOpNode.cs
- RuntimeHelpers.cs
- FontStyle.cs
- MultipartContentParser.cs
- PnrpPermission.cs
- ThicknessConverter.cs
- LinkDescriptor.cs
- ControllableStoryboardAction.cs
- DesignerLoader.cs
- FormsAuthenticationUser.cs
- FormCollection.cs
- PropertyHelper.cs
- WsdlContractConversionContext.cs
- ObjectReferenceStack.cs
- XmlSchemaAppInfo.cs
- Suspend.cs
- ComponentCodeDomSerializer.cs
- BindingElementExtensionElement.cs
- RawUIStateInputReport.cs
- XsltLoader.cs
- XmlSchemaInferenceException.cs
- MethodExecutor.cs
- WebPartManagerDesigner.cs
- PopupEventArgs.cs
- BooleanStorage.cs
- OleDbPropertySetGuid.cs
- TokenBasedSet.cs
- BitmapEffectState.cs
- FontFaceLayoutInfo.cs
- InkCanvasSelection.cs
- MissingManifestResourceException.cs
- _HeaderInfoTable.cs
- UniformGrid.cs
- HttpProfileGroupBase.cs
- XmlSchemaSimpleType.cs
- GridItemProviderWrapper.cs
- ConstantSlot.cs
- MissingSatelliteAssemblyException.cs
- ConfigurationElementProperty.cs
- HandlerMappingMemo.cs
- LookupBindingPropertiesAttribute.cs
- ThaiBuddhistCalendar.cs
- AutomationElementCollection.cs
- DecodeHelper.cs
- AutomationProperties.cs
- SortDescription.cs
- MappingSource.cs
- OperandQuery.cs
- DocumentsTrace.cs
- TextWriterTraceListener.cs
- StreamedWorkflowDefinitionContext.cs
- XpsPackagingException.cs
- TypeNameConverter.cs
- PasswordRecovery.cs
- FixedDocumentPaginator.cs
- PropertyToken.cs
- ProfilePropertySettings.cs
- ResourcesChangeInfo.cs
- CryptoKeySecurity.cs
- MetabaseSettingsIis7.cs
- CustomWebEventKey.cs
- IOThreadScheduler.cs
- GregorianCalendarHelper.cs
- CellQuery.cs
- SqlDependency.cs