Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // 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; } } // 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
- WebPartConnectionsDisconnectVerb.cs
- HitTestParameters3D.cs
- SqlStatistics.cs
- TableProvider.cs
- PropertyDescriptor.cs
- XamlSerializerUtil.cs
- ApplicationContext.cs
- DataTransferEventArgs.cs
- UInt32.cs
- OperationContractGenerationContext.cs
- PropertyInfoSet.cs
- TickBar.cs
- DatePickerAutomationPeer.cs
- TimestampInformation.cs
- DbProviderConfigurationHandler.cs
- StickyNoteContentControl.cs
- SessionPageStateSection.cs
- Closure.cs
- DomainConstraint.cs
- StrokeCollection2.cs
- ComponentDispatcherThread.cs
- XmlSiteMapProvider.cs
- ListSourceHelper.cs
- HttpChannelHelper.cs
- dataobject.cs
- Animatable.cs
- UnsafeNativeMethodsMilCoreApi.cs
- SQLRoleProvider.cs
- ValidationException.cs
- NodeLabelEditEvent.cs
- TileBrush.cs
- CollectionConverter.cs
- HttpServerVarsCollection.cs
- FileLevelControlBuilderAttribute.cs
- StatusBarItemAutomationPeer.cs
- XamlPoint3DCollectionSerializer.cs
- DataFormat.cs
- Convert.cs
- ConfigDefinitionUpdates.cs
- ListViewAutomationPeer.cs
- DataGridViewRowsAddedEventArgs.cs
- WebPartVerb.cs
- DataPager.cs
- MenuAdapter.cs
- UmAlQuraCalendar.cs
- SafeBitVector32.cs
- ContextToken.cs
- DataListCommandEventArgs.cs
- SmiGettersStream.cs
- unsafenativemethodstextservices.cs
- PreviewKeyDownEventArgs.cs
- SplitterPanelDesigner.cs
- InternalConfigEventArgs.cs
- ISFClipboardData.cs
- DocumentPage.cs
- WebPartDescription.cs
- FileDataSourceCache.cs
- SortDescriptionCollection.cs
- _HeaderInfoTable.cs
- RunClient.cs
- PageAsyncTaskManager.cs
- ObjectTag.cs
- sqlinternaltransaction.cs
- LastQueryOperator.cs
- BitmapImage.cs
- PropertyEmitter.cs
- TempFiles.cs
- DocumentManager.cs
- TextEndOfLine.cs
- TimeBoundedCache.cs
- ConstraintCollection.cs
- PropertyDescriptors.cs
- ImmComposition.cs
- CollectionType.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- GraphicsContainer.cs
- AnnotationAdorner.cs
- _BufferOffsetSize.cs
- ProcessModelSection.cs
- GridViewRowCollection.cs
- MultiTargetingUtil.cs
- TableCell.cs
- XamlTemplateSerializer.cs
- EventManager.cs
- versioninfo.cs
- ObjectCloneHelper.cs
- ProcessProtocolHandler.cs
- XmlDocumentFragment.cs
- TableHeaderCell.cs
- CustomPopupPlacement.cs
- AssemblyName.cs
- PriorityQueue.cs
- HeaderCollection.cs
- ReferenceEqualityComparer.cs
- figurelength.cs
- Ops.cs
- _FtpControlStream.cs
- UnsafeNativeMethods.cs
- TextElementEnumerator.cs
- XmlLanguage.cs