Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / Runtime / InteropServices / CurrencyWrapper.cs / 1 / 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. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SynchronizedInputProviderWrapper.cs
- ProtocolsConfiguration.cs
- Matrix3DConverter.cs
- EntryPointNotFoundException.cs
- TypeEnumerableViewSchema.cs
- DataGridCellEditEndingEventArgs.cs
- UnsafeMethods.cs
- LogReserveAndAppendState.cs
- CqlIdentifiers.cs
- EastAsianLunisolarCalendar.cs
- FileSystemWatcher.cs
- _ConnectOverlappedAsyncResult.cs
- PolyBezierSegment.cs
- DesignerActionTextItem.cs
- PersonalizationDictionary.cs
- XmlSchemaAnnotated.cs
- DynamicDataExtensions.cs
- WhitespaceRuleReader.cs
- DatatypeImplementation.cs
- IFlowDocumentViewer.cs
- SparseMemoryStream.cs
- ProfessionalColors.cs
- DynamicValidatorEventArgs.cs
- CopyNodeSetAction.cs
- InputDevice.cs
- DiffuseMaterial.cs
- FontFamilyIdentifier.cs
- InternalConfigConfigurationFactory.cs
- BindableAttribute.cs
- LOSFormatter.cs
- HierarchicalDataTemplate.cs
- EntitySqlException.cs
- SrgsItemList.cs
- ScrollBar.cs
- Propagator.JoinPropagator.cs
- TreeViewHitTestInfo.cs
- EmptyWithCancelationCheckWorkItem.cs
- activationcontext.cs
- AppSettingsExpressionBuilder.cs
- EpmSyndicationContentSerializer.cs
- BitmapEffectDrawingContextState.cs
- IntegerValidatorAttribute.cs
- DataServiceRequestException.cs
- OracleParameter.cs
- CommandPlan.cs
- PropertyMapper.cs
- UnsignedPublishLicense.cs
- Query.cs
- ModelVisual3D.cs
- PresentationTraceSources.cs
- ClientUrlResolverWrapper.cs
- TabControl.cs
- TextHintingModeValidation.cs
- Formatter.cs
- MemoryFailPoint.cs
- AppModelKnownContentFactory.cs
- ItemCheckedEvent.cs
- URIFormatException.cs
- DecoderExceptionFallback.cs
- Stack.cs
- WorkflowServiceBehavior.cs
- HandlerFactoryCache.cs
- DataGridViewColumnHeaderCell.cs
- SplineKeyFrames.cs
- MatrixConverter.cs
- Tag.cs
- FixedTextSelectionProcessor.cs
- ModuleBuilder.cs
- UpdateExpressionVisitor.cs
- AdornedElementPlaceholder.cs
- DependencyProperty.cs
- KeySpline.cs
- ClientScriptItemCollection.cs
- EndpointConfigContainer.cs
- ExtensionDataObject.cs
- StateRuntime.cs
- IgnoreFlushAndCloseStream.cs
- BoundingRectTracker.cs
- SamlAssertion.cs
- DataProtection.cs
- XmlDataImplementation.cs
- UriSchemeKeyedCollection.cs
- DispatcherTimer.cs
- SerializerWriterEventHandlers.cs
- MetadataPropertyCollection.cs
- BoolExpressionVisitors.cs
- ZipIOLocalFileBlock.cs
- SHA256.cs
- BindingMAnagerBase.cs
- DirectionalLight.cs
- DispatcherTimer.cs
- SessionStateItemCollection.cs
- cookieexception.cs
- PasswordPropertyTextAttribute.cs
- IndexExpression.cs
- SignatureToken.cs
- WmlMobileTextWriter.cs
- WindowCollection.cs
- WMIInterop.cs
- SQLResource.cs