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
- ImageAnimator.cs
- EventLogPermissionHolder.cs
- WindowsGraphicsCacheManager.cs
- InputLangChangeEvent.cs
- LineBreakRecord.cs
- DesignerMetadata.cs
- UserMapPath.cs
- CornerRadius.cs
- AnimationClockResource.cs
- GridView.cs
- ScriptingSectionGroup.cs
- ModifyActivitiesPropertyDescriptor.cs
- EmissiveMaterial.cs
- TimeoutValidationAttribute.cs
- HuffmanTree.cs
- LocatorPartList.cs
- MarkupCompilePass2.cs
- DataContractSerializerSection.cs
- IntSecurity.cs
- GroupBox.cs
- EventLogTraceListener.cs
- BindingCompleteEventArgs.cs
- XsltQilFactory.cs
- DataGridViewComboBoxCell.cs
- EmptyReadOnlyDictionaryInternal.cs
- HierarchicalDataBoundControlAdapter.cs
- _SSPISessionCache.cs
- OleDbSchemaGuid.cs
- DataGridItemCollection.cs
- ToolStripContainer.cs
- SafeNativeMethodsMilCoreApi.cs
- CompModHelpers.cs
- ServiceContractListItemList.cs
- OSFeature.cs
- ListCollectionView.cs
- WebZone.cs
- RuntimeVariableList.cs
- SqlBinder.cs
- NetSectionGroup.cs
- DynamicAttribute.cs
- LostFocusEventManager.cs
- HttpHeaderCollection.cs
- XmlUnspecifiedAttribute.cs
- TdsEnums.cs
- RemoteWebConfigurationHostServer.cs
- ProfilePropertySettings.cs
- SiteMembershipCondition.cs
- SqlCommand.cs
- UInt16Storage.cs
- IOThreadScheduler.cs
- Clipboard.cs
- DataGridColumnHeaderItemAutomationPeer.cs
- WebPartDescription.cs
- EdmMember.cs
- CatalogPartCollection.cs
- IndependentAnimationStorage.cs
- DefaultShape.cs
- SkewTransform.cs
- Configuration.cs
- DataSourceControl.cs
- ComplexTypeEmitter.cs
- FacetValueContainer.cs
- RoutedPropertyChangedEventArgs.cs
- HtmlTableRow.cs
- PointHitTestParameters.cs
- FacetValueContainer.cs
- TargetInvocationException.cs
- URLAttribute.cs
- HtmlControlAdapter.cs
- relpropertyhelper.cs
- EntityDataSourceSelectingEventArgs.cs
- EnterpriseServicesHelper.cs
- _ContextAwareResult.cs
- HtmlInputImage.cs
- PkcsUtils.cs
- ChameleonKey.cs
- ExpressionBindingCollection.cs
- TypefaceCollection.cs
- AuthorizationSection.cs
- WindowCollection.cs
- ToolStripRendererSwitcher.cs
- GridView.cs
- XmlParserContext.cs
- SQLInt16Storage.cs
- FacetChecker.cs
- SlipBehavior.cs
- RepeatBehavior.cs
- HttpContextWrapper.cs
- VisualStyleRenderer.cs
- BookmarkEventArgs.cs
- MediaElement.cs
- SecureUICommand.cs
- MatrixCamera.cs
- BamlWriter.cs
- XPathScanner.cs
- GridViewColumn.cs
- RelatedImageListAttribute.cs
- ExecutorLocksHeldException.cs
- SafeFileMappingHandle.cs
- InputProcessorProfilesLoader.cs