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
- __TransparentProxy.cs
- BmpBitmapDecoder.cs
- Vector3DCollection.cs
- StringArrayConverter.cs
- PnrpPeerResolverBindingElement.cs
- TokenizerHelper.cs
- ClientUrlResolverWrapper.cs
- ComplusTypeValidator.cs
- WebProxyScriptElement.cs
- ScrollItemPatternIdentifiers.cs
- ListViewCancelEventArgs.cs
- DataGridViewRowConverter.cs
- RegularExpressionValidator.cs
- PropertyConverter.cs
- IisTraceWebEventProvider.cs
- FormsAuthenticationUser.cs
- LogicalTreeHelper.cs
- WorkflowRuntimeSection.cs
- MemberDescriptor.cs
- BaseValidator.cs
- CheckBoxList.cs
- CatalogPartChrome.cs
- IssuedSecurityTokenProvider.cs
- WebBrowsableAttribute.cs
- NetworkCredential.cs
- DataColumn.cs
- OleDbPropertySetGuid.cs
- BaseInfoTable.cs
- ScriptControlManager.cs
- ImageUrlEditor.cs
- RectValueSerializer.cs
- ControlAdapter.cs
- SessionStateUtil.cs
- EntityDataSourceConfigureObjectContext.cs
- FormatterServices.cs
- XPathDocumentIterator.cs
- RegisteredExpandoAttribute.cs
- InputReport.cs
- DropSourceBehavior.cs
- InkSerializer.cs
- DataGridCellsPanel.cs
- ObjectSpanRewriter.cs
- Button.cs
- NetCodeGroup.cs
- DesignerCategoryAttribute.cs
- DiscoveryMessageSequenceGenerator.cs
- TempFiles.cs
- sqlstateclientmanager.cs
- ProfileSettings.cs
- ComplexTypeEmitter.cs
- RegexCompiler.cs
- InheritanceAttribute.cs
- SponsorHelper.cs
- CardSpaceSelector.cs
- BinaryObjectReader.cs
- MessageHeaderT.cs
- ISAPIApplicationHost.cs
- IndentedTextWriter.cs
- ALinqExpressionVisitor.cs
- WindowVisualStateTracker.cs
- Propagator.Evaluator.cs
- OleDbDataReader.cs
- PartBasedPackageProperties.cs
- TextSerializer.cs
- EpmContentDeSerializerBase.cs
- CmsInterop.cs
- TextAdaptor.cs
- SafeFileHandle.cs
- FamilyMap.cs
- SettingsPropertyCollection.cs
- VisualCollection.cs
- ImageBrush.cs
- ProcessHost.cs
- InternalsVisibleToAttribute.cs
- SafeRightsManagementQueryHandle.cs
- Expression.cs
- HostingEnvironmentException.cs
- AdapterUtil.cs
- PointF.cs
- RMEnrollmentPage2.cs
- DockPattern.cs
- DelegatingConfigHost.cs
- AttributeQuery.cs
- Translator.cs
- IIS7UserPrincipal.cs
- EventWaitHandleSecurity.cs
- EncryptedPackageFilter.cs
- FormsAuthenticationConfiguration.cs
- TreeViewEvent.cs
- IndexedEnumerable.cs
- ConnectionStringSettings.cs
- ScrollItemPattern.cs
- Frame.cs
- XmlArrayItemAttributes.cs
- FrameworkRichTextComposition.cs
- XmlSchemaElement.cs
- TraceContextRecord.cs
- SharedStream.cs
- FixedTextSelectionProcessor.cs
- SafePEFileHandle.cs