Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } }
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ResourceDescriptionAttribute.cs
- XmlILOptimizerVisitor.cs
- columnmapkeybuilder.cs
- KeyGestureConverter.cs
- BasePattern.cs
- Convert.cs
- TrackBar.cs
- CalloutQueueItem.cs
- InkCanvasInnerCanvas.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- Size3DConverter.cs
- HandlerFactoryWrapper.cs
- UniqueConstraint.cs
- DataServiceResponse.cs
- ButtonDesigner.cs
- FilterQuery.cs
- OrCondition.cs
- ExceptionUtil.cs
- ScriptRef.cs
- StateWorkerRequest.cs
- CapabilitiesState.cs
- XmlAttributes.cs
- Decimal.cs
- MessageDesigner.cs
- FormClosingEvent.cs
- XmlSerializableReader.cs
- XPathDocumentNavigator.cs
- ColorInterpolationModeValidation.cs
- ComponentResourceKey.cs
- FieldAccessException.cs
- PropertyBuilder.cs
- AttributeQuery.cs
- FieldToken.cs
- FormViewPagerRow.cs
- MobileListItemCollection.cs
- ToolStripDropDown.cs
- LinqDataSourceHelper.cs
- XmlNodeReader.cs
- BitmapPalette.cs
- SqlParameterizer.cs
- WindowsAltTab.cs
- CriticalFinalizerObject.cs
- ControlAdapter.cs
- CodeObject.cs
- PipelineDeploymentState.cs
- WSFederationHttpBindingElement.cs
- RuleAttributes.cs
- Thumb.cs
- RegexMatch.cs
- ResourceProperty.cs
- RootBrowserWindow.cs
- SurrogateChar.cs
- ColumnWidthChangingEvent.cs
- _OverlappedAsyncResult.cs
- XmlBufferReader.cs
- StaticFileHandler.cs
- BitmapEffectGeneralTransform.cs
- ObjectCloneHelper.cs
- ProfilePropertyNameValidator.cs
- ETagAttribute.cs
- ImmutablePropertyDescriptorGridEntry.cs
- SpecialNameAttribute.cs
- Cursor.cs
- DataServiceRequestOfT.cs
- WebScriptEndpointElement.cs
- CodeAssignStatement.cs
- DescriptionAttribute.cs
- CodeBinaryOperatorExpression.cs
- PreProcessInputEventArgs.cs
- BitmapEffectInput.cs
- Int16KeyFrameCollection.cs
- ClientSideProviderDescription.cs
- ContentElement.cs
- PackageRelationshipCollection.cs
- DesignerTransaction.cs
- _CookieModule.cs
- KeyMatchBuilder.cs
- RecommendedAsConfigurableAttribute.cs
- OraclePermissionAttribute.cs
- PropertyDescriptor.cs
- ParameterCollection.cs
- InvalidPropValue.cs
- WebScriptMetadataMessageEncoderFactory.cs
- AssertFilter.cs
- Visual3DCollection.cs
- DoubleCollection.cs
- ResourceBinder.cs
- ViewGenResults.cs
- CodeDOMUtility.cs
- SqlConnectionString.cs
- CreateUserErrorEventArgs.cs
- PolyLineSegment.cs
- ResourceDescriptionAttribute.cs
- RSAPKCS1SignatureDeformatter.cs
- SchemaEntity.cs
- CngProperty.cs
- ContainerAction.cs
- QueryAsyncResult.cs
- SerializationAttributes.cs
- RoutedEventValueSerializer.cs