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
- Attribute.cs
- WebPartConnection.cs
- MergeFailedEvent.cs
- DbBuffer.cs
- FrameworkName.cs
- ConsoleCancelEventArgs.cs
- PreApplicationStartMethodAttribute.cs
- FieldBuilder.cs
- NullExtension.cs
- XmlSchemaRedefine.cs
- ManipulationInertiaStartingEventArgs.cs
- TextLine.cs
- TypeConverterHelper.cs
- TextOutput.cs
- XmlSchemaInfo.cs
- DataBindingCollection.cs
- Thread.cs
- MemberBinding.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- Renderer.cs
- MailAddress.cs
- BoundColumn.cs
- XmlNodeList.cs
- DocumentViewerAutomationPeer.cs
- HtmlFormParameterReader.cs
- CombinedGeometry.cs
- SizeConverter.cs
- _CacheStreams.cs
- FunctionMappingTranslator.cs
- EncoderReplacementFallback.cs
- ColumnReorderedEventArgs.cs
- SqlBooleanMismatchVisitor.cs
- KnownBoxes.cs
- IndexedString.cs
- DataTemplate.cs
- ProfileInfo.cs
- DataSourceView.cs
- DocumentScope.cs
- BasicExpandProvider.cs
- XMLSchema.cs
- EncodingNLS.cs
- CodeTypeConstructor.cs
- MethodImplAttribute.cs
- DataControlFieldHeaderCell.cs
- EventProxy.cs
- UpdateTracker.cs
- OleServicesContext.cs
- AdornerLayer.cs
- PropertyDescriptorCollection.cs
- EntityDataReader.cs
- ResXResourceReader.cs
- EmbeddedMailObjectsCollection.cs
- GiveFeedbackEvent.cs
- TreeNode.cs
- ISessionStateStore.cs
- StoreContentChangedEventArgs.cs
- AppSettingsExpressionBuilder.cs
- LinkedResource.cs
- BrushValueSerializer.cs
- SafeEventLogReadHandle.cs
- InstanceHandle.cs
- ToolStripGripRenderEventArgs.cs
- returneventsaver.cs
- ImplicitInputBrush.cs
- ApplicationServiceHelper.cs
- InputBinding.cs
- DataBindingExpressionBuilder.cs
- FormsAuthenticationModule.cs
- HexParser.cs
- PropertyMapper.cs
- WebPageTraceListener.cs
- DebugViewWriter.cs
- X509Certificate2.cs
- ResourceProviderFactory.cs
- EpmContentSerializerBase.cs
- ComponentDispatcher.cs
- DeviceSpecificDesigner.cs
- EventEntry.cs
- AddressHeader.cs
- SequenceRangeCollection.cs
- MetadataProperty.cs
- WebPartUtil.cs
- IdentityNotMappedException.cs
- CompoundFileIOPermission.cs
- TraceSection.cs
- ActivityCodeDomSerializer.cs
- DocumentViewerAutomationPeer.cs
- SizeValueSerializer.cs
- DocumentApplicationJournalEntry.cs
- ListViewHitTestInfo.cs
- MultiPropertyDescriptorGridEntry.cs
- HwndSubclass.cs
- Matrix3DStack.cs
- MailDefinition.cs
- WorkflowView.cs
- XPathSelfQuery.cs
- ResourceSetExpression.cs
- UInt64Converter.cs
- Int16.cs
- ThicknessAnimation.cs