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
- XmlRawWriter.cs
- EditorReuseAttribute.cs
- BitmapCodecInfo.cs
- X509Extension.cs
- NgenServicingAttributes.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- DataBindEngine.cs
- RegisteredDisposeScript.cs
- PrintPageEvent.cs
- PersistenceTypeAttribute.cs
- InkCanvasInnerCanvas.cs
- Thread.cs
- GeneralTransform3D.cs
- AttributeParameterInfo.cs
- ProviderCollection.cs
- UnsafeNativeMethods.cs
- PerformanceCounterPermission.cs
- ObjectDataSourceStatusEventArgs.cs
- DataGridItem.cs
- SortableBindingList.cs
- StringBuilder.cs
- TextRangeSerialization.cs
- ParagraphResult.cs
- RemoteWebConfigurationHostStream.cs
- AutomationPeer.cs
- PropertiesTab.cs
- ZipIOBlockManager.cs
- XslTransform.cs
- DataGrid.cs
- PolicyUnit.cs
- XmlAttributeAttribute.cs
- TableLayoutSettings.cs
- MarshalDirectiveException.cs
- SemanticResolver.cs
- FaultFormatter.cs
- VisemeEventArgs.cs
- DbgUtil.cs
- TdsParser.cs
- FormViewInsertEventArgs.cs
- EventPrivateKey.cs
- SoapFormatterSinks.cs
- WsiProfilesElementCollection.cs
- AtomicFile.cs
- EventKeyword.cs
- AspCompat.cs
- Rule.cs
- NetworkInformationException.cs
- ExtensionQuery.cs
- ExpressionList.cs
- ReflectEventDescriptor.cs
- EncryptedType.cs
- DataControlFieldCollection.cs
- ColumnClickEvent.cs
- _ShellExpression.cs
- NumberFormatter.cs
- AxisAngleRotation3D.cs
- XamlRtfConverter.cs
- PackUriHelper.cs
- PropertyIDSet.cs
- SchemaNames.cs
- WizardStepBase.cs
- XmlSchemaSimpleContentRestriction.cs
- DocumentGridContextMenu.cs
- SecurityContextTokenCache.cs
- RepeatButton.cs
- Size3DValueSerializer.cs
- FontSourceCollection.cs
- HMACSHA384.cs
- PnrpPeerResolver.cs
- ContextToken.cs
- isolationinterop.cs
- SimpleApplicationHost.cs
- ExpressionBindingCollection.cs
- CodeStatementCollection.cs
- XamlWrappingReader.cs
- Label.cs
- IItemProperties.cs
- ListBindableAttribute.cs
- TypeSystem.cs
- SignedPkcs7.cs
- DbConnectionInternal.cs
- OperatingSystem.cs
- MethodAccessException.cs
- BoolExpressionVisitors.cs
- StopStoryboard.cs
- ClientBuildManagerCallback.cs
- DataRowComparer.cs
- HttpResponse.cs
- ManagementEventWatcher.cs
- SponsorHelper.cs
- InstallerTypeAttribute.cs
- ReachSerializerAsync.cs
- ConstraintManager.cs
- ShellProvider.cs
- DependencyProperty.cs
- CreatingCookieEventArgs.cs
- CmsInterop.cs
- Transform.cs
- TimeManager.cs
- TrustLevelCollection.cs