Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- BlobPersonalizationState.cs
- PropertyItemInternal.cs
- PagesSection.cs
- ArgumentValidation.cs
- DummyDataSource.cs
- SocketPermission.cs
- EntityRecordInfo.cs
- XmlCDATASection.cs
- ScopeElementCollection.cs
- CurrentTimeZone.cs
- HttpCachePolicy.cs
- GeneralTransform2DTo3D.cs
- Int32Storage.cs
- GeneratedContractType.cs
- TraceSection.cs
- CompiledXpathExpr.cs
- SR.cs
- EventLogEntry.cs
- GestureRecognizer.cs
- CompletionBookmark.cs
- smtppermission.cs
- UInt16Converter.cs
- UnSafeCharBuffer.cs
- ProxyWebPartManager.cs
- FontConverter.cs
- StateChangeEvent.cs
- PerformanceCounterManager.cs
- DateTimeOffsetConverter.cs
- ObjectAssociationEndMapping.cs
- FrameworkName.cs
- Empty.cs
- CollectionEditorDialog.cs
- DataGridState.cs
- PerformanceCounterPermissionEntry.cs
- OracleDataAdapter.cs
- BookmarkScopeInfo.cs
- ColumnReorderedEventArgs.cs
- ObjectAnimationUsingKeyFrames.cs
- SoapSchemaImporter.cs
- COM2ICategorizePropertiesHandler.cs
- dbenumerator.cs
- Peer.cs
- Double.cs
- RawStylusActions.cs
- WindowsScroll.cs
- DoubleLinkListEnumerator.cs
- TouchFrameEventArgs.cs
- ScrollBar.cs
- InvalidCommandTreeException.cs
- CryptoStream.cs
- Model3D.cs
- ToolStripPanelDesigner.cs
- XmlSerializationWriter.cs
- CmsInterop.cs
- ConstrainedDataObject.cs
- OdbcDataReader.cs
- InlineObject.cs
- HttpValueCollection.cs
- PeerNameRegistration.cs
- ApplicationSecurityManager.cs
- CatalogZone.cs
- NativeMethodsCLR.cs
- MonthCalendar.cs
- TranslateTransform3D.cs
- Line.cs
- RectangleConverter.cs
- InvalidTimeZoneException.cs
- DiscoveryReferences.cs
- XmlQueryTypeFactory.cs
- RealProxy.cs
- ConnectionAcceptor.cs
- IgnoreSection.cs
- PartialArray.cs
- WindowsFormsHostAutomationPeer.cs
- NameValueCollection.cs
- COM2ExtendedUITypeEditor.cs
- PublisherMembershipCondition.cs
- Calendar.cs
- HttpResponseHeader.cs
- NameTable.cs
- SafeRegistryHandle.cs
- XmlSchemaImporter.cs
- TypeConverterMarkupExtension.cs
- DateTimeAutomationPeer.cs
- AsymmetricSignatureFormatter.cs
- ConnectionManagementSection.cs
- IteratorFilter.cs
- PopupControlService.cs
- ArrangedElementCollection.cs
- WebBrowserHelper.cs
- DataGridViewCellPaintingEventArgs.cs
- TraceContext.cs
- UserValidatedEventArgs.cs
- XmlHierarchicalEnumerable.cs
- FormClosedEvent.cs
- MetafileHeaderWmf.cs
- Assert.cs
- LocalizationParserHooks.cs
- ProfileBuildProvider.cs
- ReversePositionQuery.cs