NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Protected Member Functions | List of all members
NXOpen.PartCloseResponses Class Reference

Manages a list of part name/response pairs which are used to determine whether a part should be closed if modified during part close. More...

Inheritance diagram for NXOpen.PartCloseResponses:
NXOpen.TransientObject NXOpen.Utilities.NXRemotableObject IDisposable IMessageSink

Public Member Functions

unsafe void AddResponse (string partName, bool response)
 Add a response to the list. More...
 
- Public Member Functions inherited from NXOpen.TransientObject
void Dispose ()
 Frees the object from memory. More...
 
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
new string ToString ()
 Returns a String that represents the current Object. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. More...
 

Protected Member Functions

override void FreeResource ()
 Free resources associated with the instance. More...
 

Additional Inherited Members

- Properties inherited from NXOpen.TransientObject
IntPtr Handle [get]
 Handle of the internal object represented by this object. More...
 

Detailed Description

Manages a list of part name/response pairs which are used to determine whether a part should be closed if modified during part close.

These responses are used as input into the following methods: NXOpen.BasePart.Close NXOpen.BasePart.Reopen NXOpen.BasePart.ReopenAs

They are ignored in these methods unless NXOpen.BasePart.CloseModified is set to NXOpen.BasePart.CloseModified.UseResponses .

Created in NX3.0.0

Member Function Documentation

unsafe void NXOpen.PartCloseResponses.AddResponse ( string  partName,
bool  response 
)
inline

Add a response to the list.

Created in NX3.0.0

License requirements: None.

Parameters
partNamePart with which to associate response
responseWhether or not to close the part if modified. A value of true means yes; a value of false means no.
override void NXOpen.PartCloseResponses.FreeResource ( )
inlineprotectedvirtual

Free resources associated with the instance.

After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.

Created in NX3.0.0

License requirements: None.

Implements NXOpen.TransientObject.


The documentation for this class was generated from the following file:
Copyright 2019 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.