Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / InteropServices / BStrWrapper.cs / 1305376 / BStrWrapper.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: BStrWrapper. ** ** ** Purpose: Wrapper that is converted to a variant with VT_BSTR. ** ** =============================================================================*/ namespace System.Runtime.InteropServices { using System; using System.Security; using System.Security.Permissions; [Serializable] [System.Runtime.InteropServices.ComVisible(true)] public sealed class BStrWrapper { [System.Security.SecuritySafeCritical] // auto-generated [SecurityPermissionAttribute(SecurityAction.Demand,Flags=SecurityPermissionFlag.UnmanagedCode)] public BStrWrapper(String value) { m_WrappedObject = value; } [System.Security.SecuritySafeCritical] // auto-generated [SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)] public BStrWrapper(Object value) { m_WrappedObject = (String)value; } public String WrappedObject { get { return m_WrappedObject; } } private String m_WrappedObject; } } // 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
- FileNotFoundException.cs
- FaultImportOptions.cs
- DataRecordObjectView.cs
- CodeTypeReferenceExpression.cs
- TextCompositionEventArgs.cs
- PermissionAttributes.cs
- ToolStripPanelRow.cs
- WebProxyScriptElement.cs
- RelationshipType.cs
- CorrelationTokenTypeConvertor.cs
- InstanceCollisionException.cs
- XmlDataImplementation.cs
- MyContact.cs
- XhtmlConformanceSection.cs
- IxmlLineInfo.cs
- MultipleViewPatternIdentifiers.cs
- ValidateNames.cs
- CodeNamespaceCollection.cs
- Marshal.cs
- QuotedPrintableStream.cs
- KeyConverter.cs
- DesignSurfaceCollection.cs
- StateInitializationDesigner.cs
- Publisher.cs
- EmptyWithCancelationCheckWorkItem.cs
- Module.cs
- DataGridAddNewRow.cs
- GlobalizationSection.cs
- Completion.cs
- ProcessInfo.cs
- SoapClientMessage.cs
- EntityContainerEmitter.cs
- PrintDialog.cs
- WSTrust.cs
- Image.cs
- HtmlInputHidden.cs
- CustomAssemblyResolver.cs
- HtmlEncodedRawTextWriter.cs
- RequestCacheManager.cs
- WebBaseEventKeyComparer.cs
- TrackingValidationObjectDictionary.cs
- Serializer.cs
- Window.cs
- ResourceSet.cs
- StreamUpgradeAcceptor.cs
- HandlerMappingMemo.cs
- SmtpLoginAuthenticationModule.cs
- Int32Animation.cs
- IndexedDataBuffer.cs
- ListSortDescription.cs
- IItemProperties.cs
- FtpCachePolicyElement.cs
- UnionExpr.cs
- XmlUnspecifiedAttribute.cs
- TextEffectCollection.cs
- ListBase.cs
- HandleCollector.cs
- HttpContextServiceHost.cs
- DateTimeFormat.cs
- X509Utils.cs
- AddingNewEventArgs.cs
- ProfileGroupSettings.cs
- GradientSpreadMethodValidation.cs
- ScriptControlDescriptor.cs
- RequestCacheValidator.cs
- SQLStringStorage.cs
- XsltContext.cs
- CompilerTypeWithParams.cs
- ObjectListFieldsPage.cs
- CommentEmitter.cs
- ResourcePool.cs
- ListChangedEventArgs.cs
- IndexedGlyphRun.cs
- MembershipSection.cs
- X509Chain.cs
- MasterPageCodeDomTreeGenerator.cs
- UdpTransportSettings.cs
- TraceHandlerErrorFormatter.cs
- RepeatInfo.cs
- FreezableOperations.cs
- BinaryKeyIdentifierClause.cs
- BrowserDefinition.cs
- ClientSettingsProvider.cs
- HttpHeaderCollection.cs
- UIElement3DAutomationPeer.cs
- Overlapped.cs
- DecimalAnimationBase.cs
- _SecureChannel.cs
- ColorDialog.cs
- ComponentManagerBroker.cs
- AutomationProperties.cs
- InvalidDataException.cs
- SecurityTokenValidationException.cs
- GridViewUpdatedEventArgs.cs
- CharUnicodeInfo.cs
- DispatcherHooks.cs
- XmlEventCache.cs
- ListControl.cs
- SchemaRegistration.cs
- MaskInputRejectedEventArgs.cs