Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / System / Runtime / InteropServices / DefaultParameterValueAttribute.cs / 1305376 / 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
- ClonableStack.cs
- CharStorage.cs
- DbDataAdapter.cs
- TextTreeRootNode.cs
- Color.cs
- StreamUpdate.cs
- FamilyTypeface.cs
- TreeSet.cs
- ProviderUtil.cs
- ConfigurationSection.cs
- DesignerToolStripControlHost.cs
- DeviceContext.cs
- SchemaMapping.cs
- WindowPattern.cs
- TextServicesPropertyRanges.cs
- HashCodeCombiner.cs
- UnionCqlBlock.cs
- EmptyStringExpandableObjectConverter.cs
- StateRuntime.cs
- IntranetCredentialPolicy.cs
- UnmanagedMemoryAccessor.cs
- ButtonBaseAutomationPeer.cs
- Inline.cs
- SeparatorAutomationPeer.cs
- GeneralTransform.cs
- GraphicsState.cs
- DocumentViewerBase.cs
- HtmlTextArea.cs
- FilterRepeater.cs
- CodeSnippetStatement.cs
- Style.cs
- ComplexPropertyEntry.cs
- InheritanceContextChangedEventManager.cs
- HttpDictionary.cs
- SizeLimitedCache.cs
- Int32AnimationUsingKeyFrames.cs
- DataControlExtensions.cs
- EditBehavior.cs
- SiteMapPath.cs
- TreeViewEvent.cs
- ToolStripItemDesigner.cs
- BitmapCodecInfo.cs
- IApplicationTrustManager.cs
- WebControlAdapter.cs
- TypeConverterHelper.cs
- BackgroundFormatInfo.cs
- MetadataArtifactLoaderResource.cs
- ProfileInfo.cs
- HMACSHA256.cs
- NameSpaceExtractor.cs
- CompilerError.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- ProcessHostServerConfig.cs
- WebPartDeleteVerb.cs
- Stroke2.cs
- Brushes.cs
- ListenerSingletonConnectionReader.cs
- TextParagraphProperties.cs
- ClientViaElement.cs
- WebWorkflowRole.cs
- SQLInt64Storage.cs
- SrgsItemList.cs
- NullableIntAverageAggregationOperator.cs
- ToolTip.cs
- LayoutTable.cs
- StorageModelBuildProvider.cs
- FrameSecurityDescriptor.cs
- WebEventCodes.cs
- WebHttpSecurity.cs
- EntityTemplateFactory.cs
- ElementMarkupObject.cs
- LingerOption.cs
- ResolveMatches11.cs
- HtmlShim.cs
- DbCommandTree.cs
- RelationshipEndMember.cs
- DataObjectPastingEventArgs.cs
- TogglePatternIdentifiers.cs
- SiteMapPath.cs
- DocumentSchemaValidator.cs
- DSASignatureFormatter.cs
- TypeInitializationException.cs
- TransactionState.cs
- CodeCommentStatementCollection.cs
- ScaleTransform.cs
- InputDevice.cs
- TableHeaderCell.cs
- UriTemplateEquivalenceComparer.cs
- ZipIOLocalFileDataDescriptor.cs
- QilNode.cs
- DataSvcMapFileSerializer.cs
- brushes.cs
- TypefaceMetricsCache.cs
- MutexSecurity.cs
- SpnEndpointIdentity.cs
- ExpandButtonVisibilityConverter.cs
- EdmValidator.cs
- WindowsPrincipal.cs
- Compress.cs
- ResourcesBuildProvider.cs