Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / clr / src / BCL / System / Runtime / CompilerServices / IDispatchConstantAttribute.cs / 1 / IDispatchConstantAttribute.cs
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
using System.Runtime.InteropServices;
namespace System.Runtime.CompilerServices
{
[Serializable, AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter, Inherited=false)]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class IDispatchConstantAttribute : CustomConstantAttribute
{
public IDispatchConstantAttribute()
{
}
public override Object Value
{
get
{
return new DispatchWrapper(null);
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
using System.Runtime.InteropServices;
namespace System.Runtime.CompilerServices
{
[Serializable, AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter, Inherited=false)]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class IDispatchConstantAttribute : CustomConstantAttribute
{
public IDispatchConstantAttribute()
{
}
public override Object Value
{
get
{
return new DispatchWrapper(null);
}
}
}
}
// 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
- PersistenceProvider.cs
- ProcessProtocolHandler.cs
- AsymmetricKeyExchangeFormatter.cs
- GlobalEventManager.cs
- ReleaseInstanceMode.cs
- SoapSchemaImporter.cs
- SqlPersonalizationProvider.cs
- webeventbuffer.cs
- CngProperty.cs
- CheckedListBox.cs
- ManagementEventWatcher.cs
- DataControlFieldCollection.cs
- ProcessDesigner.cs
- EncryptedKeyIdentifierClause.cs
- TableLayoutColumnStyleCollection.cs
- EdmProperty.cs
- PagerStyle.cs
- ContextQuery.cs
- BitmapEffect.cs
- LoginCancelEventArgs.cs
- SapiAttributeParser.cs
- ModifyActivitiesPropertyDescriptor.cs
- CatalogPart.cs
- Soap.cs
- PreservationFileReader.cs
- DataGridViewCheckBoxColumn.cs
- NativeRightsManagementAPIsStructures.cs
- ImportDesigner.xaml.cs
- ReservationNotFoundException.cs
- SqlParameterCollection.cs
- PointF.cs
- NativeActivityMetadata.cs
- xmlNames.cs
- DocumentSequenceHighlightLayer.cs
- TextEndOfParagraph.cs
- DataGridViewTextBoxColumn.cs
- EventLogPermissionEntryCollection.cs
- XmlSchemaCollection.cs
- HMACSHA384.cs
- AuthenticatingEventArgs.cs
- URL.cs
- ParentQuery.cs
- WebUtil.cs
- PolyLineSegment.cs
- OledbConnectionStringbuilder.cs
- BCLDebug.cs
- CaseInsensitiveComparer.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- DeferredTextReference.cs
- CheckBoxPopupAdapter.cs
- KeyFrames.cs
- DbConnectionStringCommon.cs
- LayoutEvent.cs
- FileInfo.cs
- MembershipPasswordException.cs
- KeysConverter.cs
- Application.cs
- CqlParser.cs
- ChangeBlockUndoRecord.cs
- DataGridViewAdvancedBorderStyle.cs
- Utils.cs
- SecurityUtils.cs
- SiteMapNodeItemEventArgs.cs
- ProfileSection.cs
- WebServiceEnumData.cs
- RTLAwareMessageBox.cs
- HandlerFactoryWrapper.cs
- FtpWebResponse.cs
- JsonFormatGeneratorStatics.cs
- indexingfiltermarshaler.cs
- SoapBinding.cs
- CheckBoxAutomationPeer.cs
- TreeNodeBinding.cs
- TcpProcessProtocolHandler.cs
- InputScopeManager.cs
- __Filters.cs
- ListBindableAttribute.cs
- DeferredReference.cs
- RootProjectionNode.cs
- ContainerVisual.cs
- MinMaxParagraphWidth.cs
- UserControl.cs
- FixedSOMFixedBlock.cs
- SecurityKeyIdentifierClause.cs
- DataObjectMethodAttribute.cs
- WebPartEventArgs.cs
- IList.cs
- IconConverter.cs
- HtmlSelect.cs
- Cast.cs
- RequestDescription.cs
- ToggleButton.cs
- DefaultEventAttribute.cs
- _AutoWebProxyScriptEngine.cs
- grammarelement.cs
- TypeConverters.cs
- AdPostCacheSubstitution.cs
- CommandDevice.cs
- RegularExpressionValidator.cs
- DataGridViewAdvancedBorderStyle.cs