Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- SystemIPInterfaceStatistics.cs
- _NegoStream.cs
- DocumentXPathNavigator.cs
- PenContext.cs
- AlignmentYValidation.cs
- CompilerErrorCollection.cs
- printdlgexmarshaler.cs
- Clipboard.cs
- DataGridViewRowsAddedEventArgs.cs
- ToolStripGripRenderEventArgs.cs
- XmlSchemaValidationException.cs
- PackagingUtilities.cs
- TreeViewTemplateSelector.cs
- EdmItemError.cs
- PathGradientBrush.cs
- BorderGapMaskConverter.cs
- XsdDataContractImporter.cs
- TextWriterTraceListener.cs
- DataControlButton.cs
- Grant.cs
- QuaternionRotation3D.cs
- EtwTrace.cs
- TableTextElementCollectionInternal.cs
- Unit.cs
- OciEnlistContext.cs
- ParameterBinding.cs
- DrawingAttributeSerializer.cs
- AdornerHitTestResult.cs
- BitmapEffectInput.cs
- versioninfo.cs
- StringValidator.cs
- XmlHelper.cs
- CodeTypeDelegate.cs
- CrossSiteScriptingValidation.cs
- ScrollItemProviderWrapper.cs
- DataColumnCollection.cs
- ControlBuilderAttribute.cs
- StorageScalarPropertyMapping.cs
- AspNetSynchronizationContext.cs
- XamlFigureLengthSerializer.cs
- TaskExceptionHolder.cs
- HostingEnvironmentSection.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- DropSource.cs
- WindowsAuthenticationEventArgs.cs
- FixedDSBuilder.cs
- LocalBuilder.cs
- WriteStateInfoBase.cs
- AutoGeneratedField.cs
- WeakReference.cs
- NativeMethods.cs
- SemaphoreSecurity.cs
- ToolStripLocationCancelEventArgs.cs
- FaultPropagationQuery.cs
- DataServices.cs
- DesignerForm.cs
- Configuration.cs
- TypeUtil.cs
- XXXInfos.cs
- WebControlsSection.cs
- SmtpNetworkElement.cs
- UserControlCodeDomTreeGenerator.cs
- SignatureDescription.cs
- Journal.cs
- DrawingContextWalker.cs
- HttpResponseHeader.cs
- ProcessThreadCollection.cs
- SecurityToken.cs
- MimePart.cs
- LineSegment.cs
- TextLineResult.cs
- ResolveNameEventArgs.cs
- UserMapPath.cs
- SignedXmlDebugLog.cs
- ModelItem.cs
- CallContext.cs
- XhtmlBasicPhoneCallAdapter.cs
- WindowsTooltip.cs
- AsyncMethodInvoker.cs
- MouseWheelEventArgs.cs
- Profiler.cs
- CDSCollectionETWBCLProvider.cs
- TraceRecord.cs
- EventOpcode.cs
- FormViewPageEventArgs.cs
- CultureMapper.cs
- XmlSchemaSimpleTypeList.cs
- SqlCacheDependencySection.cs
- ResourceDictionary.cs
- AutomationElement.cs
- FontFamilyIdentifier.cs
- RNGCryptoServiceProvider.cs
- LicenseManager.cs
- ScaleTransform.cs
- CallbackValidator.cs
- TableLayoutRowStyleCollection.cs
- GreenMethods.cs
- Light.cs
- ClientRuntimeConfig.cs
- AtomPub10ServiceDocumentFormatter.cs