Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Sys / System / Runtime / InteropServices / DefaultParameterValueAttribute.cs / 1 / DefaultParameterValueAttribute.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== namespace System.Runtime.InteropServices { using System; // // The DefaultParameterValueAttribute is used in C# to set // the default value for parameters when calling methods // from other languages. This is particularly useful for // methods defined in COM interop interfaces. // [AttributeUsageAttribute(AttributeTargets.Parameter)] public sealed class DefaultParameterValueAttribute : System.Attribute { public DefaultParameterValueAttribute(object value) { this.value = value; } public object Value { get { return this.value; } } private object value; } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextEditorDragDrop.cs
- BaseInfoTable.cs
- BindingExpressionUncommonField.cs
- PackageController.cs
- StateMachineAction.cs
- ClientTargetSection.cs
- ControlPaint.cs
- DateRangeEvent.cs
- SaveCardRequest.cs
- MappingMetadataHelper.cs
- Math.cs
- DataSourceListEditor.cs
- ErrorHandler.cs
- ToolStripRenderEventArgs.cs
- ItemsControlAutomationPeer.cs
- RelatedView.cs
- AuthenticationService.cs
- NavigatorOutput.cs
- OpCopier.cs
- CultureTable.cs
- SQLSingle.cs
- BrowserDefinition.cs
- DATA_BLOB.cs
- SortFieldComparer.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- ScriptBehaviorDescriptor.cs
- XmlILModule.cs
- DataGridViewHitTestInfo.cs
- SafeNativeMethodsMilCoreApi.cs
- ArgumentsParser.cs
- LocalizableAttribute.cs
- Double.cs
- PenContexts.cs
- XPathNodeList.cs
- Parser.cs
- Style.cs
- Pointer.cs
- HandleCollector.cs
- EntityDataSourceConfigureObjectContext.cs
- TextEffect.cs
- UnsafePeerToPeerMethods.cs
- Int16Animation.cs
- Transactions.cs
- LinqDataView.cs
- RoleService.cs
- FileAuthorizationModule.cs
- FontResourceCache.cs
- ScriptControl.cs
- InkPresenter.cs
- ControlParameter.cs
- SortedSetDebugView.cs
- SQLBoolean.cs
- SelectedDatesCollection.cs
- OracleInternalConnection.cs
- Int32.cs
- While.cs
- Trace.cs
- MappedMetaModel.cs
- WebPartEditorApplyVerb.cs
- CharacterBufferReference.cs
- ScalarOps.cs
- PropertyEntry.cs
- ConfigurationManagerInternalFactory.cs
- UnsafeNativeMethods.cs
- ProviderUtil.cs
- SyndicationPerson.cs
- QilNode.cs
- CssClassPropertyAttribute.cs
- Double.cs
- PriorityBinding.cs
- DataColumnMapping.cs
- DataServiceQueryContinuation.cs
- ViewGenerator.cs
- PersonalizationEntry.cs
- ITreeGenerator.cs
- DesignBindingPicker.cs
- ClientTargetCollection.cs
- _SslState.cs
- WebEventTraceProvider.cs
- UnionExpr.cs
- CustomWebEventKey.cs
- LineSegment.cs
- ItemList.cs
- XmlAnyElementAttribute.cs
- OciHandle.cs
- ExtendedProtectionPolicy.cs
- AdRotator.cs
- HebrewNumber.cs
- SoapClientProtocol.cs
- hresults.cs
- PathGradientBrush.cs
- HttpRequestCacheValidator.cs
- MatchingStyle.cs
- XmlSerializationReader.cs
- SystemSounds.cs
- ButtonFlatAdapter.cs
- TrackingProfileDeserializationException.cs
- XmlSerializerFaultFormatter.cs
- StylusPointProperty.cs
- PeerNameRecord.cs