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
- ErrorStyle.cs
- SafeTimerHandle.cs
- InvalidEnumArgumentException.cs
- ZipIOExtraFieldZip64Element.cs
- StreamInfo.cs
- MouseBinding.cs
- CompilerScope.cs
- Timer.cs
- GenericTextProperties.cs
- IteratorFilter.cs
- ThreadStaticAttribute.cs
- DataBoundControlDesigner.cs
- WindowsFormsLinkLabel.cs
- TimersDescriptionAttribute.cs
- OdbcConnection.cs
- SymDocumentType.cs
- ProfileElement.cs
- MgmtResManager.cs
- __ComObject.cs
- SpeechRecognitionEngine.cs
- XPathScanner.cs
- XmlnsCompatibleWithAttribute.cs
- RestClientProxyHandler.cs
- ImageBrush.cs
- ContextProperty.cs
- X509Certificate.cs
- Int64Storage.cs
- HttpMethodConstraint.cs
- ListMarkerLine.cs
- XmlTextReaderImpl.cs
- WrappedIUnknown.cs
- NotifyParentPropertyAttribute.cs
- XmlValidatingReader.cs
- PerformanceCounterLib.cs
- XmlHierarchyData.cs
- CompoundFileStorageReference.cs
- BamlRecordReader.cs
- GlyphTypeface.cs
- BamlLocalizationDictionary.cs
- SqlRecordBuffer.cs
- Page.cs
- RowToParametersTransformer.cs
- ExpandedProjectionNode.cs
- prefixendpointaddressmessagefiltertable.cs
- HttpCacheVaryByContentEncodings.cs
- Positioning.cs
- BinaryQueryOperator.cs
- XamlDesignerSerializationManager.cs
- CharEntityEncoderFallback.cs
- XomlSerializationHelpers.cs
- ObjectItemCollection.cs
- DynamicQueryableWrapper.cs
- WizardStepBase.cs
- XmlAttributes.cs
- WebRequestModulesSection.cs
- BidirectionalDictionary.cs
- Serializer.cs
- GridViewCommandEventArgs.cs
- TextFragmentEngine.cs
- DesignOnlyAttribute.cs
- SafeUserTokenHandle.cs
- XmlHelper.cs
- StateItem.cs
- WhereaboutsReader.cs
- NetworkInformationException.cs
- FormViewInsertedEventArgs.cs
- XmlSchemaComplexContentRestriction.cs
- SingleAnimationBase.cs
- SrgsElementFactory.cs
- ObjectIDGenerator.cs
- KnownBoxes.cs
- XmlDocumentType.cs
- IDReferencePropertyAttribute.cs
- PerformanceCountersElement.cs
- HostingPreferredMapPath.cs
- DSACryptoServiceProvider.cs
- FileDetails.cs
- XamlVector3DCollectionSerializer.cs
- WorkflowServiceHost.cs
- TemplateApplicationHelper.cs
- ClientTargetSection.cs
- UpdateProgress.cs
- QueueProcessor.cs
- XmlSchemaValidator.cs
- AssemblyHelper.cs
- BamlCollectionHolder.cs
- SchemaHelper.cs
- CultureInfoConverter.cs
- JoinTreeSlot.cs
- WebControlsSection.cs
- Dispatcher.cs
- XsdBuildProvider.cs
- XmlArrayItemAttribute.cs
- Clause.cs
- EntityStoreSchemaGenerator.cs
- HtmlInputHidden.cs
- HeaderPanel.cs
- basenumberconverter.cs
- PictureBox.cs
- ControlParameter.cs